.research-workspace {
    --rw-header-height: 81px;
    width: min(1240px, calc(100% - 32px));
    margin: 24px auto 72px;
    font-family: var(--sans);
}
.research-workspace [hidden] { display: none !important; }
.research-workspace button, .research-workspace a { -webkit-tap-highlight-color: transparent; }
.research-workspace button:focus-visible, .research-workspace a:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; }
.rw-eyebrow { display: block; margin-bottom: 10px; color: var(--blue-600); font-size: 10px; font-weight: 750; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }

.rw-overview { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); min-height: 470px; overflow: hidden; border-radius: 24px; background: var(--ink); color: #fff; box-shadow: 0 24px 60px -28px rgba(13, 27, 62, .45); }
.rw-overview__copy { min-width: 0; align-self: center; padding: clamp(36px, 5vw, 68px); }
.rw-overview .rw-eyebrow { color: var(--blue-300); }
.rw-overview h1 { max-width: 680px; margin: 0 0 22px; color: #fff; font-size: clamp(38px, 5vw, 68px); line-height: 1.03; letter-spacing: -.045em; }
.rw-overview__copy > p { max-width: 650px; color: #c6d4eb; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.rw-overview__photo { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.rw-statistics { display: grid; grid-template-columns: .7fr .9fr 1.3fr; gap: 18px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.rw-statistics div { min-width: 0; }
.rw-statistics strong { display: block; margin-bottom: 6px; color: #fff; font-size: clamp(23px, 2.4vw, 32px); font-weight: 680; line-height: 1.15; }
.rw-statistics span { display: block; color: #aebed8; font-size: 12px; line-height: 1.45; }
.rw-cross-links { margin-top: 22px; }
.rw-cross-links > span { display: block; margin-bottom: 7px; color: #aebed8; font-size: 11px; }
.rw-cross-links a { display: inline-block; max-width: 100%; margin-right: 16px; color: var(--blue-300); font-size: 13px; overflow-wrap: anywhere; }

.rw-nav-wrap { position: sticky; top: var(--rw-header-height); z-index: 25; margin: 18px 0 28px; padding: 7px; border: 1px solid var(--rule); border-radius: 15px; background: rgba(255,255,255,.93); box-shadow: 0 10px 28px -22px rgba(13,27,62,.45); backdrop-filter: blur(14px); }
.rw-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.rw-nav button { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; padding: 13px 18px; border-radius: 10px; color: var(--ink-3); font-size: 14px; font-weight: 680; line-height: 1.3; text-align: center; transition: color .2s, background .2s, box-shadow .2s; }
.rw-nav button > span { color: var(--ink-4); font-family: var(--mono); font-size: 10px; }
.rw-nav button:hover { color: var(--blue-600); background: var(--blue-50); }
.rw-nav button[aria-selected="true"] { color: #fff; background: var(--blue-600); box-shadow: 0 9px 22px -10px rgba(37,99,235,.75); }
.rw-nav button[aria-selected="true"] > span { color: var(--blue-200); }

.rw-stage { min-width: 0; }
.rw-panel { min-width: 0; animation: rw-panel-in .24s ease-out; }
@keyframes rw-panel-in { from { opacity: .25; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.rw-direction-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(28px, 5vw, 68px); align-items: center; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--rule); border-radius: 22px; background: #fff; }
.rw-direction-copy { min-width: 0; }
.rw-direction-copy h2 { margin: 0 0 20px; color: var(--ink); font-size: clamp(36px, 4.5vw, 58px); line-height: 1.04; letter-spacing: -.04em; }
.rw-direction-description { max-width: 700px; color: var(--ink-2); font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.rw-direction-description > :last-child { margin-bottom: 0; }
.rw-direction-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; color: var(--ink-4); font-size: 12px; }
.rw-primary-link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 9px; background: var(--blue-600); color: #fff; font-size: 13px; font-weight: 680; }
.rw-primary-link:hover { background: var(--blue-700); color: #fff; }
.rw-direction-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.rw-panel[data-direction="ecology"] .rw-direction-photo { object-position: 65% center; }

.rw-unit-section { padding: clamp(44px, 6vw, 78px) clamp(0px, 1vw, 12px) 0; }
.rw-section-heading { margin-bottom: 24px; }
.rw-section-heading h3 { margin: 0; color: var(--ink); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.03em; }
.rw-unit-groups { display: grid; gap: 28px; }
.rw-unit-group { min-width: 0; }
.rw-center-group { padding: 20px; border: 1px solid var(--rule); border-radius: 20px; background: #fff; }
.rw-center-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 22px; padding: 24px 26px; border-radius: 14px; background: linear-gradient(135deg, var(--blue-50), #f8fbff); color: var(--ink); text-decoration: none; }
.rw-center-card:hover { color: var(--ink); background: var(--blue-100); }
.rw-center-card .rw-unit-type { grid-column: 1; }
.rw-center-card strong { grid-column: 1; font-size: clamp(18px, 2vw, 24px); line-height: 1.25; letter-spacing: -.015em; }
.rw-center-card small { grid-column: 1; max-width: 760px; color: var(--ink-3); font-size: 13px; line-height: 1.55; }
.rw-center-card__meta { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: flex; align-items: center; gap: 12px; color: var(--blue-600); font-size: 12px; font-weight: 650; white-space: nowrap; }
.rw-center-card__meta b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; font-size: 15px; }
.rw-child-heading { margin: 21px 2px 12px; color: var(--ink-4); font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.rw-unit-type { color: var(--blue-600); font-size: 9px; font-weight: 750; line-height: 1.3; letter-spacing: .13em; text-transform: uppercase; }
.rw-unit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rw-unit-grid > li { min-width: 0; }
.rw-unit-card { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 118px; height: 100%; gap: 8px; padding: 19px 46px 19px 20px; overflow-wrap: anywhere; border: 1px solid var(--rule); border-radius: 13px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.rw-unit-card strong { font-size: 14px; font-weight: 650; line-height: 1.4; }
.rw-unit-card:hover { transform: translateY(-3px); border-color: var(--blue-300); color: var(--ink); box-shadow: 0 15px 30px -22px rgba(13,27,62,.5); }
.rw-card-arrow { position: absolute; right: 18px; top: 50%; color: var(--blue-600); font-size: 16px; transform: translateY(-50%); }

@media (max-width: 900px) {
    .rw-overview { grid-template-columns: 1fr 40%; min-height: 430px; }
    .rw-overview__photo { min-height: 430px; }
    .rw-direction-hero { grid-template-columns: 1fr 38%; gap: 28px; }
    .rw-unit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .research-workspace { width: min(100% - 20px, 1240px); margin-top: 10px; margin-bottom: 48px; }
    .rw-overview { display: flex; flex-direction: column; min-height: 0; border-radius: 18px; }
    .rw-overview__copy { width: 100%; padding: 28px 22px; overflow: hidden; }
    .rw-overview h1 { font-size: 38px; }
    .rw-overview__copy > p { font-size: 15px; }
    .rw-overview__photo { order: -1; min-height: 0; height: 210px; aspect-ratio: auto; }
    .rw-statistics { grid-template-columns: 1fr 1fr; }
    .rw-statistics div:last-child { grid-column: 1 / -1; }
    .rw-nav-wrap { margin: 12px 0 18px; padding: 5px; overflow-x: auto; }
    .rw-nav { display: flex; width: max-content; min-width: 100%; }
    .rw-nav button { flex: 0 0 auto; padding: 11px 14px; font-size: 13px; }
    .rw-direction-hero { display: flex; flex-direction: column; padding: 22px; border-radius: 17px; }
    .rw-direction-copy h2 { font-size: 36px; }
    .rw-direction-description { font-size: 15px; }
    .rw-direction-photo { order: -1; aspect-ratio: 16 / 9; border-radius: 12px; }
    .rw-unit-section { padding-top: 42px; }
    .rw-center-group { padding: 12px; border-radius: 16px; }
    .rw-center-card { grid-template-columns: 1fr; padding: 19px; }
    .rw-center-card__meta { grid-column: 1; grid-row: auto; justify-content: space-between; margin-top: 5px; white-space: normal; }
    .rw-unit-grid { grid-template-columns: 1fr; }
    .rw-unit-card { min-height: 94px; }
}
@media (prefers-reduced-motion: reduce) {
    .rw-panel { animation: none; }
    .rw-unit-card, .rw-nav button { transition: none; }
}
