/*
Theme Name: VIDS Lab
Theme URI: https://vds.sogang.ac.kr
Author: VIDS Lab, Sogang University
Description: Custom WordPress theme for the Visual Intelligence & Display Systems Labatory.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: vdslab
*/

:root {
  --primary: #92002b;
  --primary-dark: #68001f;
  --primary-deep: #35010f;
  --primary-soft: #f8edf1;
  --ink: #262626;
  --body: #5c5c62;
  --muted: #8b8b91;
  --line: #e6e6e8;
  --surface: #f5f5f6;
  --white: #fff;
  --shadow: 0 12px 32px rgba(29, 22, 25, .10);
  --shadow-soft: 0 5px 18px rgba(29, 22, 25, .08);
  --font: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", Arial, sans-serif;
  --container: 1170px;
  --wide: 1320px;
  --nav-height: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; overflow-x: hidden; color: var(--body); background: var(--white); font-family: var(--font); font-size: 16px; line-height: 1.72; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 64px, var(--wide)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--muted { background: var(--surface); }

.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }
.stagger > .fade-in:nth-child(2) { transition-delay: .08s; }
.stagger > .fade-in:nth-child(3) { transition-delay: .16s; }
.stagger > .fade-in:nth-child(4) { transition-delay: .24s; }

.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 12px; padding: 10px 23px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 700; line-height: 1; transition: .25s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--white); background: var(--primary); box-shadow: 0 8px 18px rgba(146, 0, 43, .2); }
.button--primary:hover { background: var(--primary-dark); }
.button--light { color: var(--primary); background: var(--white); }
.button--light:hover { color: var(--white); background: var(--primary); }
.button--outline-primary { color: var(--primary); border-color: var(--primary); background: transparent; }
.button--outline-primary:hover { color: var(--white); background: var(--primary); }
.text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--primary); font-size: 14px; font-weight: 750; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.eyebrow, .section-kicker { margin-bottom: 8px; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow--dark { color: var(--ink); }
.center-heading { margin-bottom: 42px; text-align: center; }
.center-heading h2 { margin-bottom: 12px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; }
.center-heading p { margin: 0 auto; color: #747479; }
.center-heading p strong { color: var(--primary); }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.split-heading h2 { margin-bottom: 6px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; }
.heading-accent, .title-rule { display: flex; align-items: center; gap: 9px; }
.heading-accent span, .title-rule span { width: 92px; height: 2px; background: var(--primary); }
.heading-accent small, .title-rule small { color: var(--primary); font-size: 10px; font-weight: 800; }

/* Header */
.navbar { position: fixed; z-index: 1000; inset: 0 0 auto; height: var(--nav-height); color: var(--white); transition: height .25s ease, background .25s ease, box-shadow .25s ease; }
.admin-bar .navbar { top: 32px; }
.navbar.scrolled, .navbar--solid { height: 70px; color: var(--ink); background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 rgba(0, 0, 0, .07), 0 4px 20px rgba(0, 0, 0, .04); backdrop-filter: blur(16px); }
.navbar-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.nav-logo { display: inline-flex; align-items: center; gap: 12px; color: currentColor; }
.nav-logo-mark { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; background: var(--white); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); filter: none; transition: box-shadow .25s ease; }
.navbar.scrolled .nav-logo-mark, .navbar--solid .nav-logo-mark { box-shadow: none; }
.nav-wordmark { font-size: 19px; font-weight: 400; letter-spacing: .08em; }
.nav-wordmark strong { font-weight: 800; }
.desktop-nav { display: flex; align-items: stretch; align-self: stretch; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: flex; height: 100%; align-items: center; gap: 5px; padding: 0 20px; color: currentColor; font-size: 14px; font-weight: 650; }
.nav-item > a::after { position: absolute; right: 20px; bottom: 14px; left: 20px; height: 2px; content: ""; background: currentColor; transform: scaleX(0); transition: transform .2s ease; }
.nav-item:hover > a::after, .nav-item:focus-within > a::after { transform: scaleX(1); }
.nav-chevron { position: relative; top: -2px; font-size: 13px; opacity: .8; }
.nav-dropdown { position: absolute; top: calc(100% - 4px); left: 50%; min-width: 190px; padding: 9px 0; color: var(--body); background: var(--white); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: .2s ease; }
.nav-dropdown--wide { min-width: 240px; }
.nav-dropdown::before { position: absolute; top: -4px; left: 0; width: 100%; height: 4px; content: ""; background: var(--primary); }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown a { display: block; padding: 8px 18px; font-size: 13px; white-space: nowrap; }
.nav-dropdown a:hover, .nav-dropdown a:focus { color: var(--primary); background: var(--primary-soft); }
.nav-item.is-current > a { color: var(--primary); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; }

/* Mobile navigation */
.mobile-overlay { position: fixed; z-index: 1090; inset: 0; background: rgba(20, 5, 10, .55); opacity: 0; visibility: hidden; transition: .3s ease; backdrop-filter: blur(3px); }
.mobile-overlay.is-active { opacity: 1; visibility: visible; }
.mobile-menu { position: fixed; z-index: 1100; top: 0; right: 0; width: min(88vw, 360px); height: 100dvh; padding: 24px 28px 40px; overflow-y: auto; color: var(--ink); background: var(--white); transform: translateX(101%); transition: transform .35s ease; }
.mobile-menu.is-active { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 2px solid var(--primary); }
.mobile-wordmark { font-weight: 850; letter-spacing: .08em; }
.mobile-close { width: 38px; height: 38px; padding: 7px; border: 0; background: transparent; cursor: pointer; }
.mobile-close svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
.mobile-group { margin-bottom: 25px; }
.mobile-group > span { display: block; margin-bottom: 6px; color: var(--primary); font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.mobile-link { display: block; padding: 6px 0; font-size: 15px; font-weight: 650; }

/* Hero */
.hero-slider { position: relative; min-height: 720px; height: min(100vh, 900px); overflow: hidden; color: var(--white); background: var(--primary-deep); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { display: grid; place-items: center; background-image: var(--hero-image); background-position: center; background-size: cover; opacity: 0; visibility: hidden; transform: scale(1.025); transition: opacity .9s ease, visibility .9s ease, transform 7s linear; }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 14, 21, .72), rgba(31, 27, 36, .58)), linear-gradient(0deg, rgba(24, 15, 21, .18), rgba(24, 15, 21, .18)); }
.hero-slide-content { position: relative; z-index: 1; display: flex; max-width: 880px; flex-direction: column; align-items: center; padding-top: var(--nav-height); text-align: center; }
.hero-mascot { width: auto; height: 136px; max-width: 108px; margin-bottom: 17px; object-fit: contain; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .2)); }
.hero-emblem { display: grid; width: 80px; height: 80px; margin-bottom: 20px; place-items: center; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px); }
.hero-emblem svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.hero-eyebrow { margin-bottom: 13px; font-size: 12px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; opacity: .86; }
.hero-slide h1 { max-width: 900px; margin-bottom: 17px; color: var(--white); font-size: clamp(36px, 5.3vw, 68px); font-weight: 800; letter-spacing: -.045em; text-shadow: 0 4px 20px rgba(0, 0, 0, .22); }
.hero-lead { max-width: 670px; margin-bottom: 27px; color: rgba(255, 255, 255, .84); font-size: clamp(15px, 1.6vw, 19px); }
.hero-arrow { position: absolute; z-index: 5; top: 50%; display: grid; width: 50px; height: 64px; padding: 0; place-items: center; border: 0; color: rgba(255, 255, 255, .85); background: transparent; font-size: 55px; font-weight: 200; line-height: 1; transform: translateY(-50%); cursor: pointer; transition: .2s ease; }
.hero-arrow:hover { color: var(--white); transform: translateY(-50%) scale(1.08); }
.hero-arrow--prev { left: 18px; }
.hero-arrow--next { right: 18px; }
.hero-dots { position: absolute; z-index: 5; bottom: 30px; left: 50%; display: flex; gap: 13px; transform: translateX(-50%); }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .8); cursor: pointer; transition: .2s ease; }
.hero-dot.is-active { background: #d7e5dc; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }

/* About */
.about-section { position: relative; overflow: hidden; }
.about-network { position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: radial-gradient(circle at 10% 25%, rgba(146, 0, 43, .34) 0 3px, transparent 4px), radial-gradient(circle at 22% 70%, rgba(146, 0, 43, .2) 0 4px, transparent 5px), radial-gradient(circle at 87% 35%, rgba(146, 0, 43, .22) 0 3px, transparent 4px), linear-gradient(25deg, transparent 9%, rgba(146, 0, 43, .07) 9.2%, transparent 9.5%), linear-gradient(150deg, transparent 82%, rgba(146, 0, 43, .06) 82.2%, transparent 82.5%); background-size: 430px 250px, 520px 310px, 460px 280px, 260px 180px, 320px 230px; }
.about-grid { position: relative; display: grid; grid-template-columns: .9fr 1.25fr; gap: 90px; align-items: center; }
.about-brand h2 { max-width: 450px; margin-bottom: 18px; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.04em; }
.title-rule { margin-bottom: 30px; }
.about-campus-card { position: relative; display: flex; width: min(100%, 430px); min-height: 140px; align-items: flex-end; overflow: hidden; border-radius: 3px; color: var(--white); background: #17171b; box-shadow: var(--shadow-soft); }
.about-campus-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(32, 12, 18, .76), rgba(32, 12, 18, .12)); }
.about-campus-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-campus-card div { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 20px 24px; }
.about-campus-card strong { font-size: 25px; letter-spacing: .1em; }
.about-campus-card span { font-size: 11px; opacity: .82; }
.about-copy { font-size: 15px; }
.about-intro { color: var(--ink); font-size: 18px; }
.check-list { display: grid; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; }
.check-list li::before { position: absolute; top: 4px; left: 0; width: 17px; height: 17px; content: "✓"; color: var(--primary); border: 1px solid var(--primary); font-size: 10px; font-weight: 900; line-height: 15px; text-align: center; }
.research-focus-list { display: grid; gap: 16px; margin: 0 0 28px; padding: 0; list-style: none; }
.research-focus-list li { position: relative; display: grid; gap: 4px; padding: 0 0 16px 22px; border-bottom: 1px solid var(--line); }
.research-focus-list li::before { position: absolute; top: 8px; left: 0; width: 8px; height: 8px; content: ""; border-radius: 50%; background: var(--primary); }
.research-focus-list strong { color: var(--ink); font-size: 17px; }
.research-focus-list span { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Research */
.research-tabs { display: flex; margin-bottom: 22px; padding: 8px; overflow-x: auto; border-radius: 8px; background: var(--white); box-shadow: var(--shadow-soft); scrollbar-width: thin; }
.research-tab { flex: 1 0 auto; min-width: 135px; padding: 12px 15px; border: 0; border-bottom: 2px solid transparent; color: #69696e; background: transparent; font-size: 11px; font-weight: 650; cursor: pointer; transition: .2s ease; }
.research-tab span { color: var(--primary); }
.research-tab:hover, .research-tab.is-active { color: var(--primary); border-bottom-color: var(--primary); background: var(--primary-soft); }
.research-panels { overflow: hidden; border-radius: 9px; background: var(--white); box-shadow: var(--shadow); }
.research-panel { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 370px; }
.research-panel[hidden] { display: none; }
.research-visual { position: relative; display: grid; min-height: 370px; overflow: hidden; place-items: center; color: var(--white); background: radial-gradient(circle at 70% 25%, #c43860, transparent 27%), linear-gradient(135deg, #3c0616 0%, #8e002a 62%, #ba1f4d 100%); }
.research-visual-grid { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px); background-size: 42px 42px; transform: perspective(500px) rotateX(60deg) scale(1.5); }
.research-visual-icon { position: relative; z-index: 2; display: grid; width: 150px; height: 150px; place-items: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 26px; background: rgba(255, 255, 255, .11); box-shadow: 0 25px 55px rgba(0, 0, 0, .28); transform: rotate(-7deg); backdrop-filter: blur(8px); }
.research-visual-icon svg { width: 68px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.research-orbit { position: absolute; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; }
.research-orbit--one { width: 230px; height: 90px; transform: rotate(28deg); }
.research-orbit--two { width: 90px; height: 230px; transform: rotate(28deg); }
.research-number { position: absolute; right: 24px; bottom: 5px; color: rgba(255, 255, 255, .12); font-size: 96px; font-weight: 900; line-height: 1; }
.research-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px 55px; }
.panel-kicker { margin-bottom: 8px; color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.research-copy h3 { margin-bottom: 15px; font-size: clamp(23px, 2.7vw, 34px); letter-spacing: -.035em; }
.research-copy > p { margin-bottom: 20px; }
.research-points { display: grid; gap: 9px; margin: 0 0 24px; padding: 0; list-style: none; }
.research-points li { position: relative; padding-left: 19px; color: #626267; font-size: 14px; }
.research-points li::before { position: absolute; top: 10px; left: 1px; width: 6px; height: 6px; content: ""; background: var(--primary); transform: rotate(45deg); }
.home-research-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.research-pillar-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-bottom: 54px; }
.research-pillar-card { position: relative; min-height: 220px; padding: 34px 28px; overflow: hidden; border: 1px solid rgba(146,0,43,.12); border-radius: 8px; background: var(--white); box-shadow: var(--shadow-soft); }
.research-pillar-card > span { display: block; margin-bottom: 30px; color: var(--primary); font-size: 12px; font-weight: 850; letter-spacing: .16em; }
.research-pillar-card h3 { margin: 0 0 16px; color: var(--ink); font-size: 20px; line-height: 1.35; }
.research-pillar-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.research-posts-heading { margin: 0 0 22px; text-align: center; }
.research-posts-heading h3 { margin: 5px 0 0; font-size: 25px; }
.home-research-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow-soft); transition: .3s ease; }
.home-research-card:hover { border-color: rgba(146,0,43,.18); box-shadow: var(--shadow); transform: translateY(-5px); }
.home-research-visual { position: relative; display: block; height: 180px; overflow: hidden; background: linear-gradient(145deg,#f1e2e7,#7c0025); }
.home-research-visual img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: .35rem; transition: transform .4s ease; }
.home-research-card:hover .home-research-visual img { transform: scale(1.025); }

.board-note-link--brief,
.board-post-note--brief { cursor: default; }
.board-brief-panel { border-top: 4px solid var(--primary); }
.board-brief-panel > h2 { margin-top: .45rem; }
.board-brief-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0; }
.board-brief-meta > div { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.board-brief-meta dt { margin-bottom: .3rem; color: var(--text-muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.board-brief-meta dd { margin: 0; font-weight: 700; }
.home-research-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg,transparent 45%,rgba(42,0,13,.55)); }
.home-research-visual > span { position: absolute; z-index: 1; right: 14px; bottom: 10px; color: var(--white); font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.home-research-card > div { padding: 20px 21px 22px; }
.home-research-card h3 { min-height: 55px; margin: 7px 0 15px; font-size: 15px; line-height: 1.55; }
.home-research-card h3 a:hover { color: var(--primary); }

/* Metrics */
.metrics-section { position: relative; padding: 55px 0; color: var(--white); background-image: linear-gradient(rgba(100, 0, 30, .88), rgba(100, 0, 30, .88)), var(--metrics-image); background-position: center 58%; background-size: cover; background-attachment: fixed; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { display: flex; min-height: 120px; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid rgba(255, 255, 255, .2); text-align: center; }
.metric:last-child { border-right: 0; }
.metric-icon { display: grid; width: 42px; height: 42px; margin-bottom: 10px; place-items: center; }
.metric-icon svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.metric-value { margin-bottom: 6px; color: var(--white); font-size: 32px; line-height: 1; }
.metric > span { font-size: 12px; font-weight: 650; opacity: .86; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { display: flex; min-height: 285px; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: 5px; background: var(--white); box-shadow: var(--shadow-soft); transition: .3s ease; }
.project-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-6px); }
.project-card-visual { position: relative; display: grid; height: 210px; overflow: hidden; place-items: center; color: var(--white); background: linear-gradient(145deg, #f7edf0 0%, #ddc0c9 45%, #8e002a 46%, #4b0217 100%); }
.project-card-visual.has-image { background-image: linear-gradient(rgba(41, 10, 20, .1), rgba(41, 10, 20, .22)), var(--card-image); background-position: center; background-size: cover; }
.project-card-visual::after { position: absolute; width: 260px; height: 260px; content: ""; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; transform: translate(40%, 35%); }
.project-card-icon { position: relative; z-index: 1; display: grid; width: 88px; height: 88px; place-items: center; border: 1px solid rgba(255, 255, 255, .45); border-radius: 18px; background: rgba(255, 255, 255, .14); box-shadow: 0 12px 30px rgba(0, 0, 0, .2); backdrop-filter: blur(8px); }
.project-card-icon svg { width: 43px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.project-card-code { position: absolute; z-index: 1; right: 14px; bottom: 10px; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.project-card-body { display: flex; height: 100%; flex: 1; flex-direction: column; padding: 28px 26px 22px; }
.project-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.project-card-number { color: #c4b8bc; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.card-category { display: block; margin-bottom: 8px; color: var(--primary); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.project-card h3 { min-height: 54px; margin-bottom: 11px; font-size: 17px; line-height: 1.55; }
.project-card h3 a:hover { color: var(--primary); }
.project-card p { display: -webkit-box; min-height: 67px; margin-bottom: 18px; overflow: hidden; color: #77777c; font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: #97979b; font-size: 10px; }
.card-meta a { color: var(--ink); font-size: 11px; font-weight: 750; }
.card-meta a:hover { color: var(--primary); }

/* Media */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.media-card { overflow: hidden; border-radius: 6px; background: var(--white); box-shadow: var(--shadow-soft); }
.media-card-head { display: flex; min-height: 49px; align-items: center; justify-content: space-between; padding: 0 19px; color: var(--white); background: var(--primary); }
.media-card-head h3 { margin: 0; color: inherit; font-size: 14px; }
.media-card-head a { font-size: 20px; font-weight: 300; }
.media-list { padding: 9px 18px 13px; }
.media-list > a { display: flex; flex-direction: column; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.media-list > a:last-child { border-bottom: 0; }
.media-list strong { overflow: hidden; color: var(--ink); font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.media-list > a:hover strong { color: var(--primary); }
.media-list > a > span { color: #a0a0a5; font-size: 9px; }
.media-photo { position: relative; display: block; height: 291px; color: var(--white); }
.media-photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(45, 4, 17, .82), transparent 65%); }
.media-photo img { width: 100%; height: 100%; object-fit: cover; }
.media-photo > div { position: absolute; z-index: 1; right: 20px; bottom: 18px; left: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.media-photo strong { font-size: 20px; line-height: 1.25; }
.media-photo span { font-size: 10px; white-space: nowrap; }
.media-list--publication { padding-top: 13px; }
.media-list--publication > a { min-height: 84px; flex-direction: row; align-items: center; gap: 14px; }
.media-list--publication .publication-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; color: var(--primary); border-radius: 50%; background: var(--primary-soft); }
.publication-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.media-list--publication > a > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.media-list--publication small { display: -webkit-box; overflow: hidden; color: #99999d; font-size: 9px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-empty { display: flex; min-height: 238px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 28px; color: #929298; text-align: center; }
.home-empty strong, .media-list .home-empty strong { overflow: visible; color: var(--ink); font-size: 14px; line-height: 1.45; white-space: normal; }
.home-empty span { max-width: 330px; font-size: 11px; line-height: 1.6; }
.home-empty--wide { min-height: 170px; grid-column: 1 / -1; border: 1px dashed #d9c9ce; border-radius: 6px; background: linear-gradient(135deg, #fff 0%, #fbf6f8 100%); }

/* Awards */
.awards-section { overflow: hidden; }
.award-carousel { margin-top: 60px; }
.award-timeline { position: relative; display: grid; grid-auto-columns: calc((100% - 102px) / 4); grid-auto-flow: column; gap: 34px; margin: 0; padding: 0 0 12px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.award-timeline::-webkit-scrollbar { display: none; }
.award-timeline--empty { grid-auto-flow: row; grid-template-columns: 1fr; margin-top: 40px; }
.award-card { position: relative; min-width: 0; padding-top: 63px; scroll-snap-align: start; }
.award-card::before { position: absolute; z-index: 1; top: 24px; left: 0; width: 11px; height: 11px; content: ""; border: 3px solid var(--white); border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 1px rgba(146, 0, 43, .2); }
.award-card:not(:last-child)::after { position: absolute; top: 29px; left: 8px; width: calc(100% + 34px); height: 1px; content: ""; background: #d7d7da; }
.award-year { position: absolute; top: -2px; left: 0; color: var(--primary); font-size: 13px; font-weight: 850; }
.award-medal { display: grid; width: 36px; height: 36px; margin-bottom: 11px; place-items: center; color: var(--primary); border-radius: 50%; background: var(--primary-soft); }
.award-medal svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.award-type { display: inline-block; margin-bottom: 7px; color: var(--primary); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.award-card--news .award-medal { color: #305f86; background: #eaf2f8; }
.award-card--news .award-type { color: #305f86; }
.award-card h3 { margin-bottom: 8px; font-size: 14px; line-height: 1.55; }
.award-card h3 a:hover { color: var(--primary); }
.award-card p { margin: 0; color: #96969b; font-size: 11px; }
.award-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; }
.award-carousel-arrow { display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); transition: .2s ease; cursor: pointer; }
.award-carousel-arrow:hover:not(:disabled) { color: var(--white); border-color: var(--primary); background: var(--primary); }
.award-carousel-arrow:disabled { opacity: .32; cursor: default; }
.award-carousel-arrow svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.award-carousel-status { min-width: 64px; color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-align: center; }
.awards-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 50px; text-align: center; }

/* Recruitment */
.recruit-section { padding: 65px 0; color: rgba(255, 255, 255, .8); background: linear-gradient(120deg, #490116, #95002d 62%, #b61748); }
.recruit-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.recruit-section .eyebrow { color: #f3bdce; }
.recruit-section h2 { max-width: 720px; margin-bottom: 9px; color: var(--white); font-size: clamp(25px, 3vw, 37px); letter-spacing: -.035em; }
.recruit-section p:last-child { margin-bottom: 0; }
.recruit-section .button { flex: 0 0 auto; }

/* Footer */
.footer { padding: 70px 0 24px; color: rgba(255, 255, 255, .58); background: #202024; }
.footer-grid { display: grid; grid-template-columns: 2.1fr repeat(3, 1fr); gap: 56px; }
.footer-logo { display: flex; align-items: center; gap: 15px; margin-bottom: 17px; }
.footer-logo img { width: 46px; height: 46px; object-fit: contain; filter: grayscale(1) brightness(2); }
.footer-logo div { display: flex; flex-direction: column; }
.footer-logo strong { color: var(--white); font-size: 20px; letter-spacing: .08em; }
.footer-logo span { font-size: 11px; }
.footer-brand > p { font-size: 12px; }
.footer-contact-list { display: grid; gap: 7px; margin-top: 22px; font-size: 11px; }
.footer-contact-list span, .footer-contact-list a { display: flex; align-items: center; gap: 9px; }
.footer-contact-list svg { width: 15px; flex: 0 0 15px; fill: none; stroke: #d2708e; stroke-width: 1.6; }
.footer-contact-list a:hover { color: var(--white); }
.footer-col h3 { margin-bottom: 17px; color: var(--white); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; padding: 3px 0; font-size: 12px; transition: .2s ease; }
.footer-col a:hover { color: var(--white); transform: translateX(3px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 53px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .35); font-size: 10px; }
.scroll-top { position: fixed; z-index: 100; right: 25px; bottom: 25px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: var(--white); background: var(--primary); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease; cursor: pointer; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Interior WordPress pages */
.page-hero { position: relative; display: grid; min-height: 330px; place-items: end start; padding: 150px 0 65px; overflow: hidden; color: var(--white); background: linear-gradient(120deg, #3d0717, #8f002a); }
.page-hero::after { position: absolute; top: -140px; right: -70px; width: 460px; height: 460px; content: ""; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .02); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin-bottom: 8px; color: var(--white); font-size: clamp(34px, 5vw, 57px); letter-spacing: -.045em; }
.page-hero p { margin: 0; opacity: .7; }
.content-section { padding: 72px 0 95px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.content-card { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--white); box-shadow: var(--shadow-soft); }
.content-card-image { display: block; height: 190px; background: linear-gradient(135deg, var(--primary-soft), #dcb8c3); }
.content-card-image img { width: 100%; height: 100%; object-fit: cover; }
.content-card-body { padding: 23px; }
.content-card time { color: var(--primary); font-size: 10px; font-weight: 800; }
.content-card h2 { margin: 7px 0 10px; font-size: 18px; line-height: 1.5; }
.content-card h2 a:hover { color: var(--primary); }
.content-card p { margin-bottom: 13px; color: #7b7b80; font-size: 13px; }
.content-grid--board-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.board-tone--news { --board-accent: #92002b; --board-deep: #560019; --board-soft: #faeef2; --board-line: rgba(146, 0, 43, .17); }
.board-tone--awards { --board-accent: #9a6900; --board-deep: #604100; --board-soft: #fbf5e7; --board-line: rgba(154, 105, 0, .2); }
.board-tone--seminar { --board-accent: #315b70; --board-deep: #244352; --board-soft: #edf4f7; --board-line: rgba(49, 91, 112, .2); }
.board-note-card { position: relative; min-height: 330px; overflow: hidden; border: 1px solid var(--board-line); border-radius: 9px; background: linear-gradient(145deg, var(--white) 0 72%, var(--board-soft) 100%); box-shadow: 0 9px 25px rgba(32, 22, 26, .07); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.board-note-card::before { position: absolute; z-index: 1; inset: 0 0 auto; height: 4px; content: ""; background: var(--board-accent); }
.board-note-card::after { position: absolute; right: -70px; bottom: -85px; width: 205px; height: 205px; content: ""; border: 1px solid var(--board-line); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255, 255, 255, .35); transition: transform .35s ease; }
.board-note-card:hover { border-color: var(--board-accent); box-shadow: 0 18px 42px rgba(31, 19, 24, .13); transform: translateY(-5px); }
.board-note-card:hover::after { transform: scale(1.08); }
.board-note-link { position: relative; z-index: 2; display: flex; min-height: 330px; flex-direction: column; padding: 28px 30px 25px; }
.board-note-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 29px; }
.board-note-identity { display: flex; min-width: 0; align-items: center; gap: 12px; }
.board-note-identity > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.board-note-identity small { color: var(--board-accent); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.board-note-identity strong { overflow: hidden; color: var(--board-deep); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.board-note-icon { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; color: var(--board-accent); border-radius: 14px; background: var(--board-soft); }
.board-note-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.board-note-head time { flex: 0 0 auto; color: #938e91; font-size: 10px; font-weight: 750; letter-spacing: .05em; }
.board-note-card h2 { max-width: 540px; margin-bottom: 13px; color: var(--ink); font-size: clamp(20px, 2vw, 25px); line-height: 1.42; letter-spacing: -.025em; }
.board-note-card p { display: -webkit-box; max-width: 570px; margin: 0 0 24px; overflow: hidden; color: #6f6b6e; font-size: 13px; line-height: 1.72; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.board-note-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--board-line); }
.board-note-footer > span { display: inline-flex; align-items: center; gap: 9px; color: var(--board-accent); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.board-note-footer b { font-size: 16px; transition: transform .2s ease; }
.board-note-card:hover .board-note-footer b { transform: translateX(4px); }
.board-note-footer small { color: var(--board-line); font-size: 30px; font-weight: 900; line-height: .8; }

/* Seminar archive: a full-width editorial list rather than image-less cards. */
.content-grid--seminars { display: block; border-top: 1px solid #dcdfe1; }
.seminar-list-row { position: relative; border-bottom: 1px solid #dcdfe1; background: var(--white); transition: background-color .25s ease; }
.seminar-list-row::before { position: absolute; z-index: 1; inset: 0 auto 0 0; width: 3px; content: ""; background: #315b70; transform: scaleY(0); transform-origin: center; transition: transform .25s ease; }
.seminar-list-row:hover { background: linear-gradient(90deg, #f3f8fa 0, #fff 46%); }
.seminar-list-row:hover::before { transform: scaleY(1); }
.seminar-list-row--brief:hover { background: #fbfbfb; }
.seminar-list-row--brief:hover::before { transform: scaleY(0); }
.seminar-row-link { display: grid; min-height: 116px; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 34px; padding: 24px 20px; }
.seminar-row-link--brief { cursor: default; }
.seminar-row-content { min-width: 0; }
.seminar-row-kicker { margin: 0 0 5px; color: #66808c; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.seminar-list-row h2 { margin: 0; color: var(--ink); font-size: clamp(18px, 2vw, 23px); line-height: 1.4; letter-spacing: -.025em; }
.seminar-row-action { display: inline-flex; align-items: center; justify-content: flex-end; gap: 11px; color: #315b70; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.seminar-row-action b { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(49, 91, 112, .25); border-radius: 50%; font-size: 17px; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.seminar-list-row:hover .seminar-row-action b { color: var(--white); background: #315b70; transform: translateX(3px); }
.seminar-row-action--brief { color: #999497; }

/* Board hub */
.board-hero { position: relative; min-height: 390px; padding: 155px 0 80px; overflow: hidden; color: var(--white); background: radial-gradient(circle at 74% 18%, rgba(218, 74, 119, .42), transparent 22%), linear-gradient(120deg, #31000e 0%, #740022 56%, #9e0634 100%); }
.board-hero::before { position: absolute; top: 50%; right: 7vw; width: 460px; height: 460px; content: ""; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; box-shadow: 0 0 0 68px rgba(255, 255, 255, .025), 0 0 0 136px rgba(255, 255, 255, .018); transform: translateY(-50%); }
.board-hero-orbit { position: absolute; top: -170px; left: 38%; width: 310px; height: 310px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; }
.board-hero-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 55px; }
.board-hero .eyebrow { color: #eeb8ca; }
.board-hero h1 { margin-bottom: 12px; color: var(--white); font-size: clamp(46px, 6vw, 72px); letter-spacing: -.055em; }
.board-hero-lead { max-width: 640px; margin: 0; color: rgba(255, 255, 255, .72); font-size: 16px; }
.board-hero-stat { display: flex; min-width: 142px; flex-direction: column; align-items: flex-end; padding: 0 0 7px 28px; border-left: 1px solid rgba(255, 255, 255, .28); }
.board-hero-stat strong { color: var(--white); font-size: 44px; line-height: 1; letter-spacing: -.05em; }
.board-hero-stat span { margin-top: 7px; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; opacity: .62; }
.board-directory { background: #faf9fa; }
.board-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 38px; }
.board-section-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 39px); letter-spacing: -.04em; }
.board-section-heading > p { max-width: 390px; margin: 0 0 4px; color: #77777c; font-size: 14px; }
.board-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.board-category-card { position: relative; display: flex; min-height: 260px; grid-column: span 2; flex-direction: column; overflow: hidden; padding: 25px 26px 22px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); box-shadow: 0 8px 25px rgba(35, 22, 27, .06); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.board-category-card:nth-child(4), .board-category-card:nth-child(5) { grid-column: span 3; }
.board-category-card::after { position: absolute; right: -55px; bottom: -75px; width: 180px; height: 180px; content: ""; border: 1px solid rgba(146, 0, 43, .09); border-radius: 50%; box-shadow: 0 0 0 31px rgba(146, 0, 43, .025); transition: transform .35s ease; }
.board-category-card:hover { border-color: rgba(146, 0, 43, .22); box-shadow: 0 18px 40px rgba(35, 22, 27, .12); transform: translateY(-6px); }
.board-category-card:hover::after { transform: scale(1.12); }
.board-category-number { position: absolute; top: 22px; right: 24px; color: #c4c0c2; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.board-category-icon { display: grid; width: 51px; height: 51px; margin-bottom: 26px; place-items: center; color: var(--primary); border-radius: 14px; background: var(--primary-soft); }
.board-category-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.board-category-copy { display: flex; flex: 1; flex-direction: column; }
.board-category-copy strong { margin-bottom: 8px; color: var(--ink); font-size: 23px; letter-spacing: -.025em; }
.board-category-copy > span { max-width: 310px; color: #7b777a; font-size: 13px; line-height: 1.65; }
.board-category-meta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-top: 23px; padding-top: 16px; border-top: 1px solid var(--line); color: #969196; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.board-category-meta b { color: var(--primary); font-size: 18px; font-weight: 500; transition: transform .2s ease; }
.board-category-card:hover .board-category-meta b { transform: translateX(4px); }
.board-category-card--news { color: var(--white); border-color: transparent; background: radial-gradient(circle at 85% 20%, rgba(223, 84, 128, .6), transparent 26%), linear-gradient(145deg, #440014, #97002d); }
.board-category-card--news .board-category-number, .board-category-card--news .board-category-copy > span, .board-category-card--news .board-category-meta { color: rgba(255, 255, 255, .68); }
.board-category-card--news .board-category-copy strong { color: var(--white); }
.board-category-card--news .board-category-icon { color: var(--white); background: rgba(255, 255, 255, .13); }
.board-category-card--news .board-category-meta { border-top-color: rgba(255, 255, 255, .17); }
.board-category-card--news .board-category-meta b { color: var(--white); }
.board-category-card--news::after { border-color: rgba(255, 255, 255, .15); box-shadow: 0 0 0 31px rgba(255, 255, 255, .035); }
.board-latest { border-top: 1px solid #eceaec; }
.board-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.board-post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--white); box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; }
.board-post-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.board-post-image { position: relative; display: grid; height: 205px; overflow: hidden; place-items: center; color: rgba(255, 255, 255, .8); background: radial-gradient(circle at 27% 28%, #cf6686, transparent 24%), linear-gradient(140deg, #4a071b, #a50a39); }
.board-post-image::after { position: absolute; width: 160px; height: 160px; content: ""; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255, 255, 255, .035); }
.board-post-image > span { position: relative; z-index: 1; font-size: 24px; font-weight: 850; letter-spacing: .16em; }
.board-post-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.board-post-card:hover .board-post-image img { transform: scale(1.035); }
.board-post-body { padding: 20px 21px 22px; }
.board-post-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 10px; color: #99949a; font-size: 9px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.board-post-meta span { color: var(--primary); }
.board-post-card h3 { min-height: 52px; margin-bottom: 18px; font-size: 17px; line-height: 1.55; }
.board-post-card h3 a:hover { color: var(--primary); }
.board-post-more { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.board-post-more span { font-size: 15px; transition: transform .2s ease; }
.board-post-more:hover span { transform: translateX(4px); }
.board-post-card--note { min-height: 300px; border-color: var(--board-line); background: linear-gradient(145deg, var(--white), var(--board-soft)); }
.board-post-card--note:hover { border-color: var(--board-accent); }
.board-post-note { position: relative; display: flex; min-height: 300px; flex-direction: column; overflow: hidden; padding: 25px 24px 23px; }
.board-post-note::after { position: absolute; right: -58px; bottom: -68px; width: 155px; height: 155px; content: ""; border: 1px solid var(--board-line); border-radius: 50%; box-shadow: 0 0 0 23px rgba(255, 255, 255, .35); }
.board-post-note > * { position: relative; z-index: 1; }
.board-post-note-head { display: flex; align-items: center; gap: 11px; margin-bottom: 23px; }
.board-post-note-head > span:last-child { display: flex; min-width: 0; flex: 1; align-items: center; justify-content: space-between; gap: 10px; }
.board-post-note-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; color: var(--board-accent); border-radius: 13px; background: var(--board-soft); }
.board-post-note-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.board-post-note-head small { color: var(--board-accent); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.board-post-note-head time { color: #999397; font-size: 9px; font-weight: 700; }
.board-post-card--note h3 { min-height: 0; margin-bottom: 11px; color: var(--ink); font-size: 18px; line-height: 1.5; }
.board-post-card--note p { display: -webkit-box; margin-bottom: 20px; overflow: hidden; color: #777176; font-size: 11px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.board-post-note-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--board-accent); font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.board-post-note-more b { font-size: 15px; transition: transform .2s ease; }
.board-post-card--note:hover .board-post-note-more b { transform: translateX(4px); }
.content-grid--people { gap: 38px 30px; padding-top: 72px; }
.content-card--person { position: relative; margin-top: 58px; overflow: visible; border: 0; border-radius: 6px; text-align: center; box-shadow: 0 10px 32px rgba(29, 22, 25, .09); }
.content-card--person .content-card-image { position: relative; z-index: 2; width: 132px; height: 132px; margin: -66px auto 0; overflow: hidden; border: 5px solid var(--white); border-radius: 50%; background: linear-gradient(145deg, #f8edf1, #d9bdc6); box-shadow: 0 14px 25px rgba(24, 14, 18, .25); }
.content-card--person .content-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.content-card--person .content-card-body { min-height: 250px; padding: 28px 28px 30px; }
.content-card--person time { display: block; }
.content-card--person h2 { margin: 0 0 5px; font-size: 20px; }
.content-card--person .member-role { min-height: 0; margin-bottom: 20px; color: var(--primary); font-size: 14px; font-weight: 750; line-height: 1.5; }
.member-details { display: grid; gap: 11px; padding-top: 18px; border-top: 1px solid var(--line); }
.content-card--person .member-detail { display: block; min-height: 0; margin: 0; overflow: visible; color: #55555a; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.member-detail strong { color: var(--ink); font-weight: 800; }
.member-detail a:hover { color: var(--primary); }
.content-card--person .text-link { justify-content: center; }
.content-grid--professor { display: block; padding-top: 28px; }
.professor-profile { display: grid; max-width: 1080px; min-height: 560px; grid-template-columns: 390px minmax(0, 1fr); margin: 0 auto; overflow: hidden; border: 1px solid rgba(146, 0, 43, .11); border-radius: 12px; background: var(--white); box-shadow: 0 25px 65px rgba(40, 17, 25, .14); }
.professor-visual { position: relative; display: flex; min-height: 560px; align-items: center; flex-direction: column; justify-content: center; overflow: hidden; color: var(--white); background: radial-gradient(circle at 25% 20%, rgba(220, 93, 133, .75), transparent 24%), linear-gradient(145deg, #37000f 0%, #790023 52%, #ad1744 100%); }
.professor-visual::before { position: absolute; inset: 22px; content: ""; border: 1px solid rgba(255, 255, 255, .15); border-radius: 9px; }
.professor-visual::after { position: absolute; right: -90px; bottom: -110px; width: 310px; height: 310px; content: ""; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255, 255, 255, .035), 0 0 0 92px rgba(255, 255, 255, .025); }
.professor-visual-orbit { position: absolute; top: 52px; left: -85px; width: 230px; height: 230px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255, 255, 255, .025); }
.professor-photo { position: relative; z-index: 2; display: block; width: 232px; height: 232px; margin-bottom: 24px; overflow: hidden; border: 7px solid rgba(255, 255, 255, .94); border-radius: 50%; background: var(--white); box-shadow: 0 25px 40px rgba(18, 0, 6, .42); }
.professor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 35%; transition: transform .4s ease; }
.professor-photo:hover img { transform: scale(1.035); }
.professor-pi { position: relative; z-index: 2; padding: 7px 15px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(8px); }
.professor-lab-mark { position: absolute; z-index: 2; bottom: 42px; left: 50%; font-size: 12px; letter-spacing: .28em; opacity: .55; transform: translateX(-50%); white-space: nowrap; }
.professor-profile-body { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 55px 60px; }
.professor-kicker { margin-bottom: 8px; color: var(--primary); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.professor-profile h2 { margin-bottom: 8px; font-size: clamp(35px, 4vw, 48px); letter-spacing: -.045em; }
.professor-profile h2 a:hover { color: var(--primary); }
.professor-title { margin-bottom: 22px; color: #3f3f44; font-size: 17px; font-weight: 700; }
.professor-leadership { display: grid; gap: 5px; margin-bottom: 21px; }
.professor-leadership span { position: relative; padding-left: 18px; color: #67676c; font-size: 13px; line-height: 1.55; }
.professor-leadership span::before { position: absolute; top: 8px; left: 1px; width: 7px; height: 7px; content: ""; background: var(--primary); transform: rotate(45deg); }
.professor-departments { margin-bottom: 24px; padding: 15px 18px; color: #545459; border-left: 3px solid var(--primary); background: var(--primary-soft); font-size: 12px; font-weight: 650; line-height: 1.65; }
.professor-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-bottom: 28px; }
.professor-contact-grid > * { display: flex; min-width: 0; flex-direction: column; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fbfbfc; }
.professor-contact-grid > a:hover { border-color: rgba(146, 0, 43, .35); background: var(--primary-soft); }
.professor-contact-grid small { margin-bottom: 2px; color: var(--primary); font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.professor-contact-grid strong { overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.professor-office { grid-column: 1 / -1; }
.professor-actions { display: flex; gap: 11px; flex-wrap: wrap; }

/* Structured member profile */
.member-detail-hero p:last-child { max-width: 760px; margin: 12px 0 0; color: rgba(255,255,255,.72); font-size: 15px; }
.member-detail-section { background: linear-gradient(180deg,#f7f5f6 0,#fff 440px); }
.member-detail-overview { display: grid; grid-template-columns: 350px minmax(0,1fr); max-width: 1120px; min-height: 520px; margin: 0 auto 42px; overflow: hidden; border: 1px solid rgba(146,0,43,.1); border-radius: 14px; background: var(--white); box-shadow: 0 28px 70px rgba(42,15,25,.13); }
.member-detail-portrait { position: relative; display: flex; min-height: 520px; align-items: center; flex-direction: column; justify-content: center; overflow: hidden; color: var(--white); background: radial-gradient(circle at 25% 18%,rgba(225,104,143,.72),transparent 25%),linear-gradient(145deg,#390010,#790023 55%,#ae1745); }
.member-detail-portrait::before { position: absolute; inset: 24px; content: ""; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; }
.member-detail-portrait::after { position: absolute; right: -100px; bottom: -90px; width: 280px; height: 280px; content: ""; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.035),0 0 0 90px rgba(255,255,255,.02); }
.member-detail-orbit { position: absolute; top: 38px; left: -75px; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.member-detail-portrait > img,.member-detail-initial { position: relative; z-index: 2; display: grid; width: 230px; height: 230px; place-items: center; overflow: hidden; border: 7px solid rgba(255,255,255,.96); border-radius: 50%; background: #f3edf0; box-shadow: 0 24px 44px rgba(17,0,6,.42); object-fit: cover; object-position: center 28%; }
.member-detail-initial { color: var(--primary); font-size: 72px; font-weight: 850; }
.member-detail-portrait > small { position: relative; z-index: 2; margin-top: 24px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.09); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; backdrop-filter: blur(8px); }
.member-detail-summary { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 48px 55px; }
.member-detail-summary h2 { margin: 4px 0 7px; font-size: clamp(34px,4vw,48px); letter-spacing: -.045em; }
.member-detail-role { margin-bottom: 22px; color: var(--primary); font-size: 16px; font-weight: 750; }
.member-detail-leadership { display: grid; gap: 5px; margin: -3px 0 22px; }
.member-detail-leadership li { position: relative; padding-left: 17px; color: #66666c; font-size: 12px; line-height: 1.55; }
.member-detail-leadership li::before { position: absolute; top: 7px; left: 1px; width: 6px; height: 6px; content: ""; background: var(--primary); transform: rotate(45deg); }
.member-detail-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 22px; }
.member-detail-facts > * { display: flex; min-width: 0; flex-direction: column; padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; background: #fbfafb; }
.member-detail-facts > a:hover { border-color: rgba(146,0,43,.3); background: var(--primary-soft); }
.member-detail-facts small,.member-detail-tags > small,.member-detail-responsibilities > small { margin-bottom: 4px; color: var(--primary); font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.member-detail-facts strong { overflow: hidden; color: var(--ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.member-detail-fact-wide { grid-column: 1/-1; }
.member-detail-tags { margin-top: 2px; }
.member-detail-tags > div { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 8px; }
.member-detail-tags span { padding: 8px 12px; color: #5f3f49; border: 1px solid #ead9df; border-radius: 999px; background: #fcf6f8; font-size: 12px; font-weight: 700; }
.member-detail-responsibilities { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.member-detail-responsibilities ul { display: grid; gap: 6px; margin-top: 8px; }
.member-detail-responsibilities li { position: relative; padding-left: 17px; color: #626268; font-size: 14px; line-height: 1.65; }
.member-detail-responsibilities li::before { position: absolute; top: 8px; left: 2px; width: 5px; height: 5px; content: ""; border-radius: 50%; background: var(--primary); }
.member-detail-sections { display: grid; max-width: 1120px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 0 auto; }
.member-detail-block { align-self: start; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow-soft); }
.member-detail-block summary { display: flex; min-height: 70px; cursor: pointer; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 24px; list-style: none; }
.member-detail-block summary::-webkit-details-marker { display: none; }
.member-detail-block summary strong { color: var(--ink); font-size: 18px; }
.member-detail-block summary span { display: grid; min-width: 30px; height: 30px; place-items: center; color: var(--primary); border-radius: 50%; background: var(--primary-soft); font-size: 10px; font-weight: 850; }
.member-detail-block[open] summary { border-bottom: 1px solid var(--line); }
.member-detail-block ul { display: grid; gap: 12px; max-height: 520px; margin: 0; padding: 24px 30px 27px 48px; overflow-y: auto; list-style: disc; }
.member-detail-block li { color: #525258; font-size: 14px; line-height: 1.75; }
.member-detail-block li::marker { color: var(--primary); }
.member-detail-block--education,.member-detail-block--career { grid-column: 1 / -1; }
.member-education-list { padding: 6px 30px 28px; }
.member-education-item { position: relative; padding: 27px 0 25px 27px; border-bottom: 1px solid var(--line); }
.member-education-item::before { position: absolute; top: 35px; left: 1px; width: 10px; height: 10px; content: ""; border: 3px solid var(--white); border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 1px rgba(146,0,43,.25); }
.member-education-item:not(:last-of-type)::after { position: absolute; top: 44px; bottom: -36px; left: 5px; width: 1px; content: ""; background: #e5d9dd; }
.member-education-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.member-education-heading h3 { margin: 0; color: var(--ink); font-size: 19px; letter-spacing: -.02em; }
.member-education-heading span { flex: 0 0 auto; color: var(--primary); font-size: 13px; font-weight: 800; }
.member-education-item > ul { gap: 6px; max-height: none; padding: 12px 0 0 24px; overflow: visible; list-style: none; }
.member-education-item > ul li { position: relative; color: #68686e; font-size: 15px; }
.member-education-item > ul li::before { position: absolute; top: 11px; left: -17px; width: 6px; height: 1px; content: ""; background: #b7aeb1; }
.member-education-item--next-career::before { border-radius: 2px; background: #2f607f; transform: rotate(45deg); }
.member-education-item--next-career .member-education-heading h3 { color: #2f607f; }
.member-education-item--next-career > ul li { color: var(--ink); font-weight: 700; }
.member-education-misc { max-height: none !important; padding: 22px 0 0 48px !important; overflow: visible !important; }
.member-personal-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding: 20px 22px; border-radius: 7px; background: #f8f5f6; }
.member-personal-links > strong { margin-right: auto; color: var(--ink); font-size: 15px; }
.member-personal-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; color: var(--white); border-radius: 5px; background: var(--primary); font-size: 13px; font-weight: 800; transition: .2s ease; }
.member-personal-links a:hover { background: var(--primary-dark); transform: translateY(-1px); }
.member-personal-link svg { width: 19px; height: 19px; flex: 0 0 19px; }
.member-personal-link b { margin-left: 2px; font-size: 12px; }
.member-personal-link--github { background: #24292f !important; }
.member-personal-link--github:hover { background: #0f1113 !important; }
.member-personal-link--notion { color: #202124 !important; border: 1px solid #d8d8da; background: var(--white) !important; }
.member-personal-link--notion:hover { border-color: #202124; background: #f4f4f4 !important; }
.member-personal-link--website svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.member-personal-links--standalone { grid-column: 1 / -1; margin-top: 0; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-soft); }
.member-career-list { padding: 10px 30px 30px; }
.member-career-item { position: relative; min-height: 66px; padding: 21px 12px 21px 31px; }
.member-career-item::before { position: absolute; z-index: 1; top: 27px; left: 1px; width: 11px; height: 11px; content: ""; border: 3px solid var(--white); border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 1px rgba(146,0,43,.25); }
.member-career-item:not(:last-child)::after { position: absolute; top: 38px; bottom: -28px; left: 6px; width: 1px; content: ""; background: #dfd3d7; }
.member-career-item p { margin: 0; color: #525258; font-size: 15px; line-height: 1.75; }
.member-career-item + .member-career-item { border-top: 1px solid #f0ebed; }
.member-detail-back { max-width: 1120px; margin: 35px auto 0; }
.pagination { margin-top: 45px; text-align: center; }
.pagination .page-numbers { display: inline-grid; min-width: 38px; height: 38px; margin: 0 2px; padding: 0 9px; place-items: center; border: 1px solid var(--line); font-size: 12px; }
.pagination .current, .pagination a:hover { color: var(--white); border-color: var(--primary); background: var(--primary); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 70px; align-items: start; }
.article-content { color: #4d4d52; font-size: 16px; }
.article-content > *:first-child { margin-top: 0; }
.article-content h2, .article-content h3, .article-content h4 { margin-top: 1.8em; }
.article-content h2 { font-size: 27px; }
.article-content h3 { font-size: 22px; }
.article-content p { margin-bottom: 1.25em; }
.article-content ul, .article-content ol { margin: 0 0 1.4em 1.4em; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content img { height: auto; margin: 28px auto; border-radius: 3px; }
.article-content--research-centers > .wp-block-group { margin: 0 0 25px; padding: 28px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); box-shadow: var(--shadow-soft); }
.article-content--research-centers > .wp-block-separator { display: none; }
.article-content--research-centers .wp-block-columns { gap: 28px; }
.article-content--research-centers .wp-block-image { margin: 0; }
.article-content--research-centers .wp-block-image img { margin: 0 auto; object-fit: contain; }
.article-content--research-centers .wp-block-paragraph strong { color: var(--ink); font-size: 18px; line-height: 1.45; }
.article-content--research-centers .wp-block-list { margin-top: 14px; }
.article-content--research-centers .wp-block-list li { color: var(--primary); font-size: 12px; font-weight: 750; }
.article-sidebar { position: sticky; top: 100px; padding: 25px; border-top: 3px solid var(--primary); background: var(--surface); }
.article-sidebar h2 { font-size: 15px; }
.article-sidebar a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.article-sidebar a:hover { color: var(--primary); }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 55px; padding-top: 30px; border-top: 1px solid var(--line); }
.post-navigation a { display: block; font-size: 13px; }
.post-navigation--back { display: block; }
.post-navigation--back a { display: inline-flex; }

/* Research and project hubs */
.project-hub-hero-inner, .publication-hero-inner, .members-hub-hero-inner, .gallery-hero-inner, .contact-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; }
.project-hub-summary { display: flex; gap: 34px; }
.project-hub-summary span { display: flex; min-width: 90px; flex-direction: column; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.project-hub-summary strong { margin-bottom: 5px; color: var(--white); font-size: 37px; line-height: 1; }
.project-jump, .member-jump { position: sticky; z-index: 30; top: 70px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.admin-bar .project-jump, .admin-bar .member-jump { top: 102px; }
.project-jump .container, .member-jump .container { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.project-jump a, .member-jump a { display: flex; min-height: 58px; flex: 0 0 auto; align-items: center; gap: 8px; border-bottom: 2px solid transparent; color: #77777c; font-size: 12px; font-weight: 750; }
.project-jump a:hover, .member-jump a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.project-jump a span { display: grid; min-width: 21px; height: 21px; padding: 0 5px; place-items: center; border-radius: 99px; background: var(--primary-soft); color: var(--primary); font-size: 9px; }
.project-record-heading, .member-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.project-record-heading h2, .member-section-heading h2 { margin: 0; font-size: clamp(29px,3vw,39px); letter-spacing: -.04em; }
.project-record-heading > p { max-width: 430px; margin: 0; font-size: 14px; }
.project-record-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.project-record-card { position: relative; min-height: 285px; overflow: hidden; padding: 28px 27px 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow-soft); }
.project-record-card::after { position: absolute; right: -68px; bottom: -80px; width: 190px; height: 190px; content: ""; border: 1px solid rgba(146,0,43,.09); border-radius: 50%; box-shadow: 0 0 0 32px rgba(146,0,43,.025); }
.project-record-index { position: absolute; top: 24px; right: 24px; color: #d1ccce; font-size: 10px; font-weight: 850; }
.project-record-status { display: inline-flex; margin-bottom: 25px; padding: 5px 10px; border-radius: 99px; color: var(--primary); background: var(--primary-soft); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.project-record-card h3 { min-height: 78px; margin-bottom: 24px; padding-right: 12px; font-size: 18px; line-height: 1.45; }
.project-record-card dl { position: relative; z-index: 1; display: grid; gap: 8px; margin: 0; padding-top: 17px; border-top: 1px solid var(--line); }
.project-record-card dl div { display: grid; grid-template-columns: 57px 1fr; gap: 9px; font-size: 11px; }
.project-record-card dt { color: var(--primary); font-weight: 800; }
.project-record-card dd { margin: 0; color: #717176; }
.project-record-list { overflow: hidden; border-top: 2px solid var(--ink); }
.project-record-row { display: grid; grid-template-columns: 65px minmax(0,1fr) 245px; gap: 25px; align-items: center; min-height: 92px; padding: 18px 13px; border-bottom: 1px solid var(--line); background: transparent; }
.project-record-row:hover { background: var(--white); }
.project-record-year { color: var(--primary); font-size: 11px; font-weight: 850; }
.project-record-row h3 { margin: 0 0 4px; font-size: 15px; }
.project-record-row p, .project-record-row > span:last-child { margin: 0; color: #89898e; font-size: 11px; }
.project-show-all { margin: 35px auto 0; }
.project-record-row[hidden], .gallery-tile[hidden], .publication-entry[hidden] { display: none !important; }
.research-hub-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: end; margin-bottom: 45px; }
.research-hub-intro-grid h2 { margin: 0; font-size: clamp(31px,4vw,48px); letter-spacing: -.045em; }
.research-hub-intro-grid > p { margin: 0; font-size: 15px; }
.research-area-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.research-area-card { overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--white); box-shadow: var(--shadow-soft); transition: .3s ease; }
.research-area-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.research-area-image { position: relative; display: grid; height: 220px; overflow: hidden; place-items: center; color: var(--white); background: radial-gradient(circle at 25% 25%,#ce5a7e,transparent 25%),linear-gradient(145deg,#450016,#9f0736); }
.research-area-image.has-image { background: var(--white); }
.research-area-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.research-area-card:hover img { transform: scale(1.035); }
.research-area-image > span { position: absolute; right: 15px; bottom: 10px; color: var(--white); font-size: 11px; font-weight: 850; text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.research-area-card > div { padding: 22px 23px 24px; }
.research-area-card h3 { min-height: 55px; margin-bottom: 18px; font-size: 17px; line-height: 1.55; }
.research-area-card h3 a:hover { color: var(--primary); }
.research-centers-section { border-top: 1px solid var(--line); background: linear-gradient(180deg, #fbfafb, var(--white)); }
.research-centers-heading { align-items: center; }
.research-center-count { display: flex; align-items: baseline; gap: 7px; color: #8a8589; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.research-center-count strong { color: var(--primary); font-size: 32px; line-height: 1; letter-spacing: -.04em; }
.research-center-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.research-center-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: 9px; background: var(--white); box-shadow: var(--shadow-soft); transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.research-center-card:hover { border-color: rgba(146, 0, 43, .25); box-shadow: var(--shadow); transform: translateY(-5px); }
.research-center-mark { position: relative; display: grid; height: 145px; padding: 25px 28px; overflow: hidden; place-items: center; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 85% 15%, rgba(146, 0, 43, .08), transparent 32%), #fbfafb; }
.research-center-mark::after { position: absolute; right: -48px; bottom: -78px; width: 160px; height: 160px; content: ""; border: 1px solid rgba(146, 0, 43, .1); border-radius: 50%; box-shadow: 0 0 0 24px rgba(146, 0, 43, .025); }
.research-center-mark img { position: relative; z-index: 1; width: 100%; height: 100%; margin: 0; object-fit: contain; transition: transform .35s ease; }
.research-center-card:hover .research-center-mark img { transform: scale(1.025); }
.research-center-mark > span { position: absolute; z-index: 2; top: 14px; right: 16px; color: rgba(146, 0, 43, .35); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.research-center-body { display: flex; flex: 1; flex-direction: column; padding: 24px 25px 26px; }
.research-center-body .section-kicker { margin-bottom: 7px; }
.research-center-body h3 { min-height: 76px; margin-bottom: 8px; font-size: 18px; line-height: 1.5; }
.research-center-body h3 a:hover { color: var(--primary); }
.research-center-subtitle { display: -webkit-box; min-height: 55px; margin-bottom: 16px; overflow: hidden; color: #7c787b; font-size: 11px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.research-center-leader { align-self: flex-start; margin-bottom: 16px; padding: 6px 10px; color: var(--primary); border-radius: 99px; background: var(--primary-soft); font-size: 10px; font-weight: 750; }
.research-center-description { display: -webkit-box; margin-bottom: 22px; overflow: hidden; color: #737076; font-size: 12px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.research-center-body > .text-link { margin-top: auto; }
.research-project-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 55px; padding: 45px 52px; border-radius: 9px; color: rgba(255,255,255,.74); background: linear-gradient(125deg,#3a0011,#96002d); box-shadow: var(--shadow); }
.research-project-cta h2 { margin-bottom: 8px; color: var(--white); font-size: 36px; }
.research-project-cta p { margin: 0; }
.research-project-cta-inner > div:last-child { display: flex; flex: 0 0 auto; gap: 10px; }
.research-project-cta .button--outline-primary { color: var(--white); border-color: rgba(255,255,255,.65); }

/* Gallery */
.gallery-hero-inner > span, .publication-hero-inner > span, .members-hub-hero-inner > span { display: flex; flex-direction: column; align-items: flex-end; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.gallery-hero-inner > span strong, .publication-hero-inner > span strong, .members-hub-hero-inner > span strong { color: var(--white); font-size: 40px; line-height: 1; letter-spacing: -.04em; }
.gallery-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 35px; }
.gallery-toolbar h2 { margin: 0; font-size: clamp(28px,3vw,39px); letter-spacing: -.04em; }
.gallery-filter-list { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.gallery-filter-list a, .gallery-filter-list button, .publication-filter-group button { padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; color: #77777c; background: var(--white); font-size: 10px; font-weight: 750; line-height: 1.4; text-decoration: none; cursor: pointer; }
.gallery-filter-list a:hover, .gallery-filter-list a.is-active, .gallery-filter-list button:hover, .gallery-filter-list button.is-active, .publication-filter-group button:hover, .publication-filter-group button.is-active { color: var(--white); border-color: var(--primary); background: var(--primary); }
.gallery-result-count { margin: 10px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 245px; gap: 15px; }
.gallery-tile { min-width: 0; margin: 0; overflow: hidden; border-radius: 7px; background: var(--surface); }
.gallery-tile--wide { grid-column: span 2; }
.gallery-tile button { position: relative; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-tile button::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg,rgba(30,5,14,.8),transparent 62%); opacity: .8; transition: opacity .3s ease; }
.gallery-tile button:hover img { transform: scale(1.045); }
.gallery-tile button:hover::after { opacity: 1; }
.gallery-tile button > span { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; padding: 20px; color: var(--white); text-align: left; }
.gallery-tile small { margin-bottom: 5px; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.gallery-tile strong { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gallery-lightbox { width: min(92vw,1100px); max-height: 90vh; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: #171519; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.gallery-lightbox::backdrop { background: rgba(15,6,10,.86); backdrop-filter: blur(6px); }
.gallery-lightbox img { width: 100%; max-height: 76vh; object-fit: contain; background: #0d0c0e; }
.gallery-lightbox > div { display: flex; flex-direction: column; padding: 17px 22px 19px; color: var(--white); }
.gallery-lightbox > div strong { font-size: 14px; }
.gallery-lightbox > div span { color: rgba(255,255,255,.55); font-size: 10px; }
.gallery-lightbox-close { position: absolute; z-index: 2; top: 10px; right: 11px; display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--white); background: rgba(0,0,0,.35); font-size: 26px; cursor: pointer; }
.gallery-empty { padding: 80px 30px; border: 1px dashed var(--line); text-align: center; }
.gallery-more-wrap { display: flex; justify-content: center; padding-top: 34px; }
.gallery-more-button { display: inline-flex; min-width: 210px; align-items: center; justify-content: center; gap: 14px; padding: 13px 20px; border: 1px solid rgba(146,0,43,.25); border-radius: 99px; color: var(--primary); background: var(--white); box-shadow: 0 7px 20px rgba(45,20,29,.06); font-size: 11px; font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease; }
.gallery-more-button small { display: grid; min-width: 34px; height: 22px; padding: 0 7px; place-items: center; border-radius: 99px; color: var(--white); background: var(--primary); font-size: 9px; }
.gallery-more-button:hover { color: var(--white); background: var(--primary); box-shadow: 0 12px 28px rgba(99,0,29,.18); transform: translateY(-2px); }
.gallery-more-button:hover small { color: var(--primary); background: var(--white); }
.gallery-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 36px; color: var(--muted); font-size: 11px; font-weight: 750; text-align: center; }
.gallery-page-link { display: inline-flex; width: max-content; min-height: 44px; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid rgba(146,0,43,.22); border-radius: 99px; color: var(--primary); background: var(--white); box-shadow: 0 7px 20px rgba(45,20,29,.05); text-decoration: none; transition: color .2s ease, background .2s ease, transform .2s ease; }
.gallery-page-link:hover { color: var(--white); background: var(--primary); transform: translateY(-2px); }
.gallery-page-link--previous { justify-self: start; }
.gallery-page-link--next { justify-self: end; }

/* Contact and recruitment */
.contact-info-section { background: #fbfafb; }
.contact-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 35px; }
.contact-heading h2 { margin: 0; font-size: clamp(30px,3vw,40px); }
.contact-heading > p { max-width: 390px; margin: 0; font-size: 14px; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-bottom: 45px; }
.contact-info-card { display: flex; min-height: 180px; flex-direction: column; justify-content: flex-end; padding: 25px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); box-shadow: var(--shadow-soft); }
a.contact-info-card { transition: .25s ease; }
a.contact-info-card:hover { border-color: rgba(146,0,43,.3); transform: translateY(-4px); }
.contact-info-card > span { margin-bottom: auto; color: var(--primary); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.contact-info-card strong { margin: 20px 0 4px; color: var(--ink); font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.contact-info-card small { color: #97979b; font-size: 10px; }
.contact-location { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border-radius: 9px; background: var(--white); box-shadow: var(--shadow); }
.contact-location-visual { position: relative; display: flex; min-height: 310px; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 38px; color: var(--white); background: radial-gradient(circle at 75% 15%,rgba(224,91,132,.75),transparent 23%),linear-gradient(140deg,#3e0013,#9c0534); }
.contact-location-visual::before { position: absolute; top: -80px; right: -65px; width: 270px; height: 270px; content: ""; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035); }
.contact-location-visual span { position: relative; font-size: 82px; font-weight: 900; line-height: .9; opacity: .18; }
.contact-location-visual strong { position: relative; font-size: 23px; }
.contact-location-visual small { position: relative; opacity: .65; }
.contact-location-copy { display: flex; flex-direction: column; justify-content: center; padding: 45px 52px; }
.contact-location-copy h2 { margin-bottom: 13px; font-size: 31px; }
.contact-location-copy > p:not(.section-kicker) { margin-bottom: 24px; }
.contact-location-copy > div { display: flex; gap: 10px; flex-wrap: wrap; }
.join-section { position: relative; overflow: hidden; background: linear-gradient(135deg,#f7f4f5 0%,#fbfafb 52%,#f3edef 100%); }
.join-section::before { position: absolute; right: -180px; bottom: -260px; width: 560px; height: 560px; content: ""; border: 1px solid rgba(146,0,43,.06); border-radius: 50%; box-shadow: 0 0 0 75px rgba(146,0,43,.018),0 0 0 150px rgba(146,0,43,.012); }
.join-grid { position: relative; display: grid; grid-template-columns: 350px minmax(0,1fr); gap: 32px; align-items: stretch; }
.join-intro { position: relative; display: flex; min-height: 100%; overflow: hidden; flex-direction: column; padding: 44px 38px 40px; border-radius: 14px; color: rgba(255,255,255,.75); background: radial-gradient(circle at 20% 5%,rgba(218,77,121,.52),transparent 25%),linear-gradient(145deg,#35000f 0%,#780023 58%,#a60c3b 100%); box-shadow: 0 24px 60px rgba(75,0,24,.2); isolation: isolate; }
.join-intro::before { position: absolute; z-index: -1; right: -105px; bottom: -115px; width: 310px; height: 310px; content: ""; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035),0 0 0 84px rgba(255,255,255,.02); }
.join-intro-orbit { position: absolute; z-index: -1; top: 120px; left: -85px; width: 190px; height: 190px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.join-intro .section-kicker { color: #efb4c6; }
.join-intro h2 { max-width: 250px; margin-bottom: 18px; color: var(--white); font-size: 36px; line-height: 1.18; letter-spacing: -.045em; }
.join-intro > p:not(.section-kicker) { max-width: 255px; margin-bottom: 32px; line-height: 1.8; }
.join-intro-meta { display: flex; align-items: flex-end; gap: 10px; margin: 4px 0 35px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.join-intro-meta strong { color: var(--white); font-size: 45px; line-height: .8; letter-spacing: -.06em; }
.join-intro-meta span { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.join-intro .button { width: fit-content; margin-top: auto; color: var(--primary); background: var(--white); box-shadow: 0 10px 28px rgba(30,0,9,.2); }
.join-content { display: flex; min-width: 0; flex-direction: column; gap: 18px; }
.join-content-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 6px 4px 9px; }
.join-content-heading h2 { margin: 0; font-size: clamp(28px,3vw,38px); letter-spacing: -.04em; }
.join-content-heading > p { max-width: 270px; margin: 0; color: #7c777b; font-size: 12px; text-align: right; }
.join-position-list { display: grid; gap: 14px; }
.join-position-card { display: grid; min-width: 0; grid-template-columns: 76px minmax(0,1fr); overflow: hidden; border: 1px solid rgba(72,42,52,.11); border-radius: 11px; background: rgba(255,255,255,.96); box-shadow: 0 10px 30px rgba(46,25,32,.055); transition: border-color .25s ease,box-shadow .25s ease,transform .25s ease; }
.join-position-card:hover { border-color: rgba(146,0,43,.22); box-shadow: 0 16px 40px rgba(68,21,36,.1); transform: translateY(-2px); }
.join-position-number { display: grid; place-items: center; color: rgba(146,0,43,.45); border-right: 1px solid rgba(146,0,43,.09); background: linear-gradient(180deg,#fbf4f6,#f7edef); font-size: 15px; font-weight: 900; letter-spacing: .06em; }
.join-position-body { min-width: 0; padding: 24px 27px 25px; }
.join-position-body > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 17px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.join-position-body small { display: block; margin-bottom: 4px; color: var(--primary); font-size: 8px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.join-position-body h3 { margin: 0; font-size: 18px; line-height: 1.45; }
.join-position-body > header > span { flex: 0 0 auto; padding: 5px 9px; border-radius: 99px; color: var(--primary); background: var(--primary-soft); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.join-position-body ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: join-details; }
.join-position-body li { position: relative; padding-left: 29px; color: #5f5b5e; font-size: 12px; line-height: 1.65; counter-increment: join-details; overflow-wrap: anywhere; }
.join-position-body li::before { position: absolute; top: 1px; left: 0; display: grid; width: 20px; height: 20px; place-items: center; content: counter(join-details); border-radius: 50%; color: var(--primary); background: var(--primary-soft); font-size: 8px; font-weight: 850; }
.join-position-body li a { color: var(--primary); font-weight: 700; }

/* Publication database */
.publication-database { background: #faf9fa; }
.publication-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.publication-search { display: flex; width: min(100%,560px); flex-direction: column; gap: 7px; }
.publication-search label { color: var(--primary); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.publication-search input { height: 50px; padding: 0 17px; border: 1px solid #d9d7da; border-radius: 5px; color: var(--ink); background: var(--white); outline: none; }
.publication-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(146,0,43,.08); }
.publication-result { display: flex; align-items: baseline; gap: 7px; }
.publication-result strong { color: var(--primary); font-size: 30px; }
.publication-result span { color: #929297; font-size: 10px; text-transform: uppercase; }
.publication-filter-row { display: grid; gap: 12px; margin-bottom: 32px; }
.publication-filter-group { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.publication-filter-group button { flex: 0 0 auto; }
.publication-filter-group--years button { border-radius: 4px; }
.publication-filter-group--status button { border-style: dashed; }
.publication-list { border-top: 2px solid var(--ink); }
.publication-entry { display: grid; grid-template-columns: 150px minmax(0,1fr) 42px; gap: 25px; align-items: start; padding: 26px 14px; border-bottom: 1px solid var(--line); background: transparent; }
.publication-entry:hover { background: var(--white); }
.publication-entry-meta { display: flex; flex-direction: column; gap: 4px; }
.publication-entry-meta span { color: var(--primary); font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.publication-entry-meta strong { color: #8a858a; font-size: 12px; }
.publication-entry-copy h2 { margin-bottom: 7px; font-size: 16px; line-height: 1.55; }
.publication-entry-copy p { margin: 0; color: #737378; font-size: 12px; line-height: 1.7; }
.publication-entry-copy a { color: var(--primary); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.publication-source { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--primary); background: var(--white); }
.publication-source:hover { color: var(--white); border-color: var(--primary); background: var(--primary); }
.publication-empty { padding: 70px 20px; text-align: center; }

/* Publication source showcases */
.publication-showcase-hero { position: relative; min-height: 430px; padding: 150px 0 82px; overflow: hidden; color: var(--white); background: radial-gradient(circle at 78% 22%, rgba(222,80,124,.38), transparent 23%), linear-gradient(120deg,#30000e 0%,#700021 55%,#a20738 100%); }
.publication-showcase-hero::before { position: absolute; right: -115px; bottom: -245px; width: 620px; height: 620px; content: ""; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.018); }
.publication-showcase-orbit { position: absolute; top: -125px; left: 44%; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.publication-showcase-hero-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 70px; }
.publication-showcase-hero-copy { max-width: 780px; }
.publication-showcase-hero .eyebrow { margin-bottom: 15px; color: #e9a8bc; }
.publication-showcase-label { display: inline-flex; margin-bottom: 17px; padding: 6px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.07); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.publication-showcase-hero h1 { max-width: 760px; margin-bottom: 14px; color: var(--white); font-size: clamp(44px,5.7vw,72px); line-height: 1.02; letter-spacing: -.055em; }
.publication-showcase-hero-copy > p:last-child { max-width: 680px; margin: 0; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.75; }
.publication-showcase-stats { display: grid; min-width: 170px; gap: 22px; padding: 3px 0 5px 31px; border-left: 1px solid rgba(255,255,255,.28); }
.publication-showcase-stats > div { display: flex; flex-direction: column; align-items: flex-end; }
.publication-showcase-stats strong { color: var(--white); font-size: 42px; line-height: .95; letter-spacing: -.05em; }
.publication-showcase-stats span { margin-top: 7px; color: rgba(255,255,255,.54); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.publication-showcase-section { background: #f8f7f8; }
.publication-showcase-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 30px; }
.publication-showcase-heading h2 { margin-bottom: 8px; font-size: clamp(31px,3.5vw,44px); letter-spacing: -.045em; }
.publication-showcase-heading > div:first-child > p:last-child { max-width: 620px; margin: 0; color: #7c787d; font-size: 13px; }
.publication-showcase-result { display: flex; min-width: 100px; flex-direction: column; align-items: flex-end; }
.publication-showcase-result strong { color: var(--primary); font-size: 38px; line-height: 1; letter-spacing: -.04em; }
.publication-showcase-result span { margin-top: 5px; color: #969197; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.publication-showcase-filter { position: sticky; z-index: 20; top: 82px; display: flex; align-items: center; gap: 22px; margin-bottom: 30px; padding: 14px 16px 12px 20px; border: 1px solid rgba(102,85,92,.12); border-radius: 9px; background: rgba(255,255,255,.94); box-shadow: 0 12px 34px rgba(35,19,25,.08); backdrop-filter: blur(14px); }
.admin-bar .publication-showcase-filter { top: 114px; }
.publication-showcase-filter > span { flex: 0 0 auto; color: var(--primary); font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.publication-showcase-years { flex: 1; gap: 6px; padding: 0 0 2px; }
.publication-showcase-years button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 11px; border-radius: 5px; }
.publication-showcase-years button small { display: grid; min-width: 20px; height: 18px; padding: 0 5px; place-items: center; border-radius: 99px; color: #8f898e; background: #f1eff1; font-size: 8px; }
.publication-showcase-years button.is-active small, .publication-showcase-years button:hover small { color: var(--primary); background: var(--white); }
.publication-showcase-status { flex: 0 0 auto; }
.publication-showcase-status button { min-height: 34px; }
.publication-showcase-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.publication-showcase-card[hidden] { display: none !important; }
.publication-showcase-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; scroll-margin-top: 150px; border: 1px solid #e4e1e3; border-radius: 10px; background: var(--white); box-shadow: 0 8px 26px rgba(40,24,30,.06); transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.publication-fragment-alias { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.publication-showcase-card::before { position: absolute; z-index: 3; top: 0; right: 0; left: 0; height: 3px; content: ""; background: linear-gradient(90deg,var(--primary),#d65c82); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.publication-showcase-card:hover { border-color: rgba(146,0,43,.24); box-shadow: 0 18px 44px rgba(40,21,28,.12); transform: translateY(-5px); }
.publication-showcase-card:hover::before { transform: scaleX(1); }
.publication-showcase-card.is-arrival-target { border-color: rgba(146,0,43,.65); animation: publication-arrival-highlight 1.15s ease 2; }
.publication-showcase-card.is-arrival-target::before { transform: scaleX(1); }
@keyframes publication-arrival-highlight {
  0%, 100% { box-shadow: 0 12px 34px rgba(40,21,28,.1); }
  50% { box-shadow: 0 18px 48px rgba(146,0,43,.28), 0 0 0 5px rgba(146,0,43,.08); }
}
.publication-showcase-visual { position: relative; display: grid; height: 235px; overflow: hidden; place-items: center; border-bottom: 1px solid #ece9eb; background: #f1f0f2; }
.publication-showcase-visual img { width: 100%; height: 100%; padding: 15px; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.publication-showcase-paper-action { position: absolute; right: 14px; bottom: 13px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 99px; color: var(--white); background: rgba(52,7,21,.84); box-shadow: 0 8px 22px rgba(38,7,17,.18); font-size: 8px; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; opacity: 0; transform: translateY(5px); transition: opacity .25s ease, transform .25s ease, background .25s ease; backdrop-filter: blur(8px); }
.publication-showcase-paper-action:hover, .publication-showcase-paper-action:focus-visible { color: var(--white); background: var(--primary); }
.publication-showcase-paper-action.is-search { background: rgba(39,36,38,.78); }
.publication-showcase-card:hover .publication-showcase-visual img { transform: scale(1.025); }
.publication-showcase-card:hover .publication-showcase-paper-action, .publication-showcase-paper-action:focus-visible { opacity: 1; transform: none; }
@media (hover: none) {
  .publication-showcase-paper-action { opacity: 1; transform: none; }
}
.publication-showcase-visual--empty { height: 185px; align-content: center; border-bottom-color: rgba(255,255,255,.1); color: rgba(255,255,255,.75); background: radial-gradient(circle at 75% 20%,rgba(224,100,138,.62),transparent 23%),linear-gradient(145deg,#390011,#8c002a); }
.publication-showcase-visual--empty::before { position: absolute; right: -48px; bottom: -82px; width: 190px; height: 190px; content: ""; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.035); }
.publication-showcase-visual--empty .publication-showcase-monogram { position: static; padding: 0; color: var(--white); background: none; font-size: 43px; font-weight: 850; line-height: 1; letter-spacing: -.04em; opacity: 1; transform: none; backdrop-filter: none; }
.publication-showcase-visual--empty small { margin-top: 10px; font-size: 8px; font-weight: 800; letter-spacing: .16em; opacity: .58; }
.publication-showcase-card-body { display: flex; flex: 1; flex-direction: column; padding: 23px 25px 25px; }
.publication-showcase-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.publication-showcase-card-meta span { overflow: hidden; color: var(--primary); font-size: 8px; font-weight: 850; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.publication-showcase-card-meta strong { flex: 0 0 auto; color: #969096; font-size: 10px; }
.publication-showcase-card h2 { margin-bottom: 13px; color: var(--ink); font-size: 17px; line-height: 1.55; letter-spacing: -.018em; }
.publication-showcase-card h2 mark { color: var(--primary) !important; font-size: .72em; font-weight: 850; }
.publication-showcase-details { margin-top: auto; padding-top: 14px; border-top: 1px solid #efedef; color: #777278; font-size: 11px; line-height: 1.72; }
.publication-showcase-card-body a { color: var(--primary); font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.publication-showcase-empty { border: 1px dashed #d9d4d7; border-radius: 8px; background: var(--white); }
.publication-showcase-back { display: flex; justify-content: center; padding-top: 42px; }

/* Members hub */
.member-section-heading > span { color: #989398; font-size: 11px; font-weight: 750; text-transform: uppercase; }
.member-professor-card { display: grid; grid-template-columns: 310px minmax(0,1fr); max-width: 1040px; margin: 0 auto; overflow: hidden; border-radius: 10px; color: rgba(255,255,255,.7); background: linear-gradient(130deg,#350010,#97002d); box-shadow: var(--shadow); }
.member-professor-photo { min-height: 390px; overflow: hidden; background: #eee; }
.member-professor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; }
.member-professor-card > div { display: flex; flex-direction: column; justify-content: center; padding: 45px 52px; }
.member-professor-card > div > span { color: #e3a4b8; font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.member-professor-card h3 { margin: 10px 0 7px; color: var(--white); font-size: 39px; }
.member-professor-card h3 a { color: inherit; }
.member-professor-card > div > p { margin-bottom: 15px; }
.member-professor-department { padding-top: 17px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; }
.member-professor-card > div > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 8px; }
.member-professor-card > div > div > a:first-child { font-size: 12px; }
.member-directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.member-directory-card { display: grid; min-height: 185px; grid-template-columns: 112px minmax(0,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--white); box-shadow: var(--shadow-soft); transition: .25s ease; }
.member-directory-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.member-directory-photo { display: grid; min-height: 185px; overflow: hidden; place-items: center; color: var(--white); background: linear-gradient(145deg,#d59aac,#770024); font-size: 30px; font-weight: 850; }
.member-directory-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.member-directory-card > div { min-width: 0; padding: 22px 19px; }
.member-directory-role { color: var(--primary); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.member-directory-card h3 { margin: 5px 0 7px; font-size: 17px; }
.member-directory-card h3 a:hover { color: var(--primary); }
.member-directory-email { display: block; overflow: hidden; color: #85858a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.member-directory-card p { display: -webkit-box; margin: 13px 0 0; overflow: hidden; color: #77777c; font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.alumni-cta { color: rgba(255,255,255,.7); background: radial-gradient(circle at 80% 20%,rgba(225,101,139,.38),transparent 20%),linear-gradient(120deg,#31000e,#850028); }
.alumni-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.alumni-cta h2 { margin-bottom: 7px; color: var(--white); font-size: 40px; }
.alumni-cta p { margin: 0; }

/* Accessibility */
a:focus-visible, button:focus-visible { outline: 3px solid rgba(225, 99, 139, .8); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .nav-toggle { display: block; }
  .about-grid { gap: 50px; }
  .research-panel { grid-template-columns: .9fr 1.1fr; }
  .research-copy { padding: 40px; }
  .project-grid, .media-grid, .content-grid { gap: 18px; }
  .board-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-category-card, .board-category-card:nth-child(4) { grid-column: span 1; }
  .board-category-card:nth-child(5) { grid-column: span 2; }
  .board-post-grid { gap: 18px; }
  .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
  .publication-showcase-hero-inner { gap: 40px; }
  .publication-showcase-stats { min-width: 145px; }
}

@media (max-width: 800px) {
  .seminar-row-link { grid-template-columns: minmax(0, 1fr) 130px; gap: 25px; padding: 25px 15px; }
  .seminar-row-action { justify-content: flex-end; }
  .home-research-grid, .research-pillar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .member-detail-overview { grid-template-columns: 1fr; }
  .member-detail-portrait { min-height: 390px; }
  .member-detail-portrait > img, .member-detail-initial { width: 190px; height: 190px; }
  .member-detail-summary { padding: 42px 35px 46px; }
  .member-detail-sections { grid-template-columns: 1fr; }
  :root { --nav-height: 70px; }
  .admin-bar .navbar { top: 46px; }
  .container, .container-wide { width: min(100% - 36px, var(--container)); }
  .section { padding: 68px 0; }
  .hero-slider { min-height: 650px; height: 82vh; }
  .hero-mascot { width: auto; height: 112px; max-width: 90px; }
  .hero-arrow { width: 38px; font-size: 42px; }
  .hero-arrow--prev { left: 5px; }
  .hero-arrow--next { right: 5px; }
  .about-grid { grid-template-columns: 1fr; gap: 42px; }
  .about-campus-card { max-width: 520px; }
  .research-panel { grid-template-columns: 1fr; }
  .research-visual { min-height: 280px; }
  .research-copy { padding: 34px 28px 40px; }
  .metrics-section { background-attachment: scroll; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { border-right: 1px solid rgba(255, 255, 255, .2); border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .metric:nth-child(2n) { border-right: 0; }
  .metric:nth-last-child(-n+2) { border-bottom: 0; }
  .project-grid, .media-grid, .content-grid { grid-template-columns: 1fr; }
  .board-hero { min-height: 360px; padding: 140px 0 65px; }
  .board-hero-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
  .board-hero-stat { align-items: flex-start; padding: 0 0 0 18px; }
  .board-section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .board-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { display: flex; }
  .media-grid { max-width: 560px; margin-inline: auto; }
  .award-timeline { grid-auto-columns: calc((100% - 34px) / 2); }
  .award-card { padding-top: 36px; border-top: 1px solid var(--line); }
  .award-card::before { top: -6px; }
  .award-card:not(:last-child)::after { top: 0; }
  .award-year { top: 5px; left: 26px; }
  .recruit-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { position: static; }
  .professor-profile { grid-template-columns: 1fr; }
  .professor-visual { min-height: 390px; }
  .professor-photo { width: 190px; height: 190px; }
  .professor-lab-mark { bottom: 30px; }
  .professor-profile-body { padding: 42px 35px 46px; }
}

@media (max-width: 560px) {
  .seminar-row-link { min-height: 0; grid-template-columns: 1fr; gap: 15px; padding: 25px 9px; }
  .seminar-row-kicker { display: none; }
  .seminar-list-row h2 { margin-bottom: 7px; font-size: 19px; }
  .seminar-row-action { grid-column: 1; margin-top: 0; }
  .seminar-row-action b { width: 32px; height: 32px; }
  .home-research-grid, .research-pillar-grid { grid-template-columns: 1fr; }
  .home-research-card h3 { min-height: 0; }
  .member-detail-portrait { min-height: 340px; }
  .member-detail-portrait > img, .member-detail-initial { width: 165px; height: 165px; }
  .member-detail-summary { padding: 34px 23px 38px; }
  .member-detail-summary h2 { font-size: 31px; }
  .member-detail-facts { grid-template-columns: 1fr; }
  .member-detail-fact-wide { grid-column: auto; }
  .member-detail-block ul { max-height: 430px; padding: 18px 20px 20px 35px; }
  .member-education-list { padding: 4px 20px 22px; }
  .member-education-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .member-education-heading h3 { font-size: 17px; }
  .member-career-list { padding: 8px 20px 24px; }
  .member-career-item { padding-right: 0; }
  .member-personal-links { align-items: flex-start; flex-direction: column; padding: 18px; }
  .member-personal-links > strong { margin-right: 0; }
  .container, .container-wide { width: min(100% - 28px, var(--container)); }
  .nav-logo-mark { width: 34px; height: 34px; }
  .nav-wordmark { font-size: 16px; }
  .hero-slider { min-height: 620px; height: 88vh; }
  .hero-slide-content { padding-inline: 25px; }
  .hero-slide h1 { font-size: 35px; }
  .hero-lead { font-size: 14px; }
  .hero-arrow { top: 55%; }
  .about-brand h2 { font-size: 31px; }
  .research-tabs { margin-right: -14px; margin-left: -14px; border-radius: 0; }
  .research-tab { min-width: 140px; }
  .research-visual { min-height: 235px; }
  .research-visual-icon { width: 118px; height: 118px; }
  .research-visual-icon svg { width: 54px; }
  .metrics-section { padding: 40px 0; }
  .metric { min-height: 125px; }
  .metric-value { font-size: 27px; }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .project-card { display: flex; }
  .award-timeline { grid-auto-columns: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .page-hero { min-height: 280px; padding: 125px 0 48px; }
  .board-hero { min-height: 340px; padding: 128px 0 55px; }
  .board-hero h1 { font-size: 48px; }
  .board-hero-lead { font-size: 14px; }
  .board-hero-stat strong { font-size: 35px; }
  .board-category-grid, .board-post-grid { grid-template-columns: 1fr; }
  .board-category-card, .board-category-card:nth-child(4), .board-category-card:nth-child(5) { min-height: 240px; grid-column: auto; }
  .board-category-card { padding: 23px 22px 20px; }
  .board-latest-heading { gap: 16px; }
  .board-note-card, .board-note-link { min-height: 305px; }
  .board-note-link { padding: 25px 22px 22px; }
  .board-note-head { align-items: flex-start; gap: 14px; margin-bottom: 24px; }
  .board-note-head time { padding-top: 4px; }
  .board-post-note-head > span:last-child { align-items: flex-start; flex-direction: column; gap: 2px; }
  .post-navigation { grid-template-columns: 1fr; }
  .content-grid--professor { padding-top: 0; }
  .professor-visual { min-height: 350px; }
  .professor-photo { width: 170px; height: 170px; margin-bottom: 18px; }
  .professor-profile-body { padding: 36px 24px 40px; }
  .professor-profile h2 { font-size: 32px; }
  .professor-contact-grid { grid-template-columns: 1fr; }
  .professor-office { grid-column: auto; }
  .professor-actions .button { width: 100%; }
}

@media (max-width: 1050px) {
  .project-record-grid, .research-area-grid, .research-center-grid, .member-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .join-grid { grid-template-columns: 300px minmax(0,1fr); gap: 40px; }
}

@media (max-width: 800px) {
  .project-hub-hero-inner, .publication-hero-inner, .members-hub-hero-inner, .gallery-hero-inner, .contact-hero-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .gallery-hero-inner > span, .publication-hero-inner > span, .members-hub-hero-inner > span { align-items: flex-start; }
  .project-hub-summary { gap: 25px; }
  .admin-bar .project-jump, .admin-bar .member-jump { top: 116px; }
  .project-record-heading, .member-section-heading, .gallery-toolbar, .contact-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .project-record-row { grid-template-columns: 55px minmax(0,1fr); }
  .project-record-row > span:last-child { grid-column: 2; }
  .research-hub-intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .research-center-grid { grid-template-columns: 1fr; }
  .research-project-cta-inner { align-items: flex-start; flex-direction: column; padding: 38px 34px; }
  .gallery-filter-list { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-info-card { min-height: 145px; }
  .contact-location { grid-template-columns: 1fr; }
  .contact-location-visual { min-height: 230px; }
  .join-grid { grid-template-columns: 1fr; }
  .join-intro { position: static; }
  .join-content-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .join-content-heading > p { max-width: none; text-align: left; }
  .publication-entry { grid-template-columns: 115px minmax(0,1fr) 36px; gap: 18px; }
  .member-professor-card { grid-template-columns: 245px minmax(0,1fr); }
  .member-professor-card > div { padding: 35px; }
  .member-professor-card h3 { font-size: 32px; }
  .alumni-cta-inner { align-items: flex-start; flex-direction: column; }
  .publication-showcase-hero { min-height: 0; padding: 132px 0 62px; }
  .publication-showcase-hero-inner { align-items: flex-start; flex-direction: column; gap: 34px; }
  .publication-showcase-hero-copy { width: 100%; min-width: 0; }
  .publication-showcase-hero h1 { overflow-wrap: break-word; }
  .publication-showcase-stats { width: 100%; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.22); border-left: 0; }
  .publication-showcase-stats > div { align-items: flex-start; }
  .publication-showcase-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .publication-showcase-result { align-items: flex-start; }
  .publication-showcase-filter { top: 70px; align-items: flex-start; flex-direction: column; gap: 10px; padding: 14px; }
  .admin-bar .publication-showcase-filter { top: 116px; }
  .publication-showcase-years, .publication-showcase-status { width: 100%; }
  .publication-showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .gallery-pagination { grid-template-columns: 1fr 1fr; }
  .gallery-pagination > span { grid-column: 1 / -1; grid-row: 1; }
  .gallery-page-link { width: 100%; }
  .gallery-page-link--previous { grid-column: 1; grid-row: 2; }
  .gallery-page-link--next { grid-column: 2; grid-row: 2; }
  .project-hub-summary strong { font-size: 30px; }
  .project-jump, .member-jump { top: 70px; }
  .admin-bar .project-jump, .admin-bar .member-jump { top: 116px; }
  .project-record-grid, .research-area-grid, .research-center-grid, .member-directory-grid { grid-template-columns: 1fr; }
  .project-record-card { min-height: 0; }
  .project-record-card h3 { min-height: 0; }
  .project-record-row { grid-template-columns: 1fr; gap: 6px; padding: 19px 10px; }
  .project-record-row > span:last-child { grid-column: auto; }
  .research-project-cta-inner { padding: 32px 24px; }
  .research-project-cta-inner > div:last-child { width: 100%; flex-direction: column; }
  .research-project-cta .button { width: 100%; }
  .research-center-body h3, .research-center-subtitle { min-height: 0; }
  .article-content--research-centers > .wp-block-group { padding: 22px; }
  .gallery-grid { display: block; }
  .gallery-tile { height: 270px; margin-bottom: 13px; }
  .gallery-tile--wide { grid-column: auto; }
  .contact-location-copy { padding: 34px 24px; }
  .contact-location-copy > div { flex-direction: column; }
  .contact-location-copy .button { width: 100%; }
  .join-intro { padding: 29px 24px; }
  .join-position-card { grid-template-columns: 1fr; }
  .join-position-number { min-height: 42px; justify-content: flex-start; padding-left: 21px; border-right: 0; border-bottom: 1px solid rgba(146,0,43,.09); }
  .join-position-body { padding: 22px 20px 24px; }
  .join-position-body > header { gap: 12px; }
  .publication-toolbar { align-items: flex-start; flex-direction: column; }
  .publication-entry { grid-template-columns: 1fr 34px; gap: 12px; padding: 22px 8px; }
  .publication-entry-meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
  .member-professor-card { grid-template-columns: 1fr; }
  .member-professor-photo { min-height: 330px; }
  .member-professor-card > div { padding: 32px 24px; }
  .member-professor-card > div > div { align-items: flex-start; flex-direction: column; }
  .member-directory-card { grid-template-columns: 100px minmax(0,1fr); }
  .member-directory-photo { min-height: 175px; }
  .publication-showcase-hero h1 { font-size: 42px; }
  .publication-showcase-hero h1 span { display: block; }
  .publication-showcase-hero-copy > p:last-child { font-size: 13px; }
  .publication-showcase-stats strong { font-size: 34px; }
  .publication-showcase-filter > span { display: none; }
  .publication-showcase-card-body { padding: 21px 20px 23px; }
  .publication-showcase-visual { height: 210px; }
  .publication-showcase-visual--empty { height: 155px; }
  .publication-showcase-card h2, .publication-showcase-details { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .fade-in { opacity: 1; transform: none; }
}
