/*
Theme Name: JK Academic
Theme URI: https://janneskordilla.org/
Author: Jannes Kordilla
Author URI: https://janneskordilla.org/
Description: A calm, flexible block theme for a personal academic website, with a lightweight scientific homepage visual.
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 8.0
Version: 1.0.8
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jk-academic
Tags: block-patterns, full-site-editing, wide-blocks, accessibility-ready, portfolio
*/

:root {
  --jk-header-height: 5rem;
  --jk-header-compact-height: 4rem;
  --jk-shadow-soft: 0 18px 50px rgba(11, 13, 14, 0.07);
  --jk-radius-card: 0.25rem;
  --jk-magenta: #f01485;
  --jk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --jk-openkarst-logo-color: url("assets/brand/openkarst-color.webp");
  --jk-openkarst-logo-black: url("assets/brand/openkarst-black.webp");
  --jk-openkarst-logo-white: url("assets/brand/openkarst-white.webp");
  --jk-research-page-width: 72rem;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/*
 * Match the deliberately generous gutters used by the static design preview.
 * WordPress otherwise lets wide blocks approach the viewport edge and adds
 * default padding to full-width groups with a background colour.
 */
.wp-site-blocks .alignwide {
  width: min(
    var(--wp--style--global--wide-size, 77.5rem),
    calc(100% - clamp(2.5rem, 8vw, 8rem))
  ) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.wp-site-blocks main .wp-block-group.alignfull.has-background {
  padding: 0;
}

::selection {
  background: color-mix(in srgb, var(--wp--preset--color--water) 24%, transparent);
}

a {
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:focus-visible,
button:focus-visible,
[type="search"]:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--wp--preset--color--water);
  outline-offset: 4px;
}

.wp-site-blocks {
  min-height: 100vh;
}

:is(
  .jk-publication-item,
  .jk-bibliography-list > li,
  .jk-research-evidence,
  .jk-activity-item,
  .jk-record-row,
  .jk-simple-record-list--compact > li,
  .jk-supervision-list > li,
  .jk-timeline-row,
  .jk-contact-links
) > * {
  min-width: 0;
  max-width: 100%;
}

:is(
  .jk-publication-item h3,
  .jk-publication-item p,
  .jk-bib-title,
  .jk-bib-meta,
  .jk-research-evidence a,
  .jk-activity-item h3 a,
  .jk-record-row h3,
  .jk-record-row p,
  .jk-simple-record-list--compact li,
  .jk-supervision-entry,
  .jk-timeline-row,
  .jk-contact-links a,
  .jk-site-footer a
) {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
}

.wp-block-table,
.wp-block-code {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.jk-skip-link {
  position: fixed;
  z-index: 10000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.4rem;
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--ink);
  transform: translateY(-160%);
}

.jk-skip-link:focus {
  transform: translateY(0);
}

.jk-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--jk-header-height);
  background: color-mix(in srgb, var(--wp--preset--color--mineral-50) 86%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(112%);
  backdrop-filter: blur(18px) saturate(112%);
  transition: min-height 220ms var(--jk-ease), color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

/*
 * WordPress renders template parts inside an additional semantic <header>.
 * Keep that outer wrapper sticky so the inner visual header is not clipped to
 * the wrapper's original 80px containing block as the document scrolls.
 */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  z-index: 100;
  top: 0;
}

.wp-site-blocks > header.wp-block-template-part > .jk-site-header {
  position: relative;
  top: auto;
}

.admin-bar .wp-site-blocks > header.wp-block-template-part {
  top: 32px;
}

.jk-site-header::after {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, color-mix(in srgb, var(--wp--preset--color--mineral-50) 72%, transparent), transparent);
  content: "";
  opacity: 1;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.admin-bar .jk-site-header {
  top: 32px;
}

.jk-header-inner {
  min-height: var(--jk-header-height);
  transition: min-height 220ms var(--jk-ease);
}

.jk-site-header.is-scrolled {
  min-height: var(--jk-header-compact-height);
  color: var(--wp--preset--color--chalk);
  background: color-mix(in srgb, var(--wp--preset--color--ink) 95%, transparent);
  box-shadow: 0 10px 30px rgba(11, 13, 14, 0.12);
}

.jk-site-header.is-scrolled::after {
  opacity: 0;
}

.jk-site-header.is-scrolled .jk-header-inner {
  min-height: var(--jk-header-compact-height);
}

.jk-site-header.is-scrolled :is(a, .wp-block-navigation-item__content, .jk-preview-header-nav a),
.jk-site-header.is-scrolled .jk-preview-nav-toggle {
  color: inherit;
}

.jk-site-header.is-scrolled :is(.wp-block-navigation-item__content[aria-current="page"], .jk-preview-header-nav a[aria-current="page"]) {
  color: var(--wp--preset--color--water-light);
}

.jk-wordmark a,
.jk-wordmark .wp-block-site-title a {
  color: var(--wp--preset--color--water) !important;
  text-decoration: none;
}

.jk-site-header.is-scrolled .jk-wordmark a,
.jk-site-header.is-scrolled .jk-wordmark .wp-block-site-title a {
  color: var(--wp--preset--color--chalk) !important;
}

.jk-wordmark {
  display: flex;
  align-items: center;
}

.jk-wordmark-mark {
  display: inline-block;
  width: 2.25rem;
  height: 2.25rem;
  margin-right: 0.55rem;
  flex: 0 0 auto;
  border: 0;
  background: transparent url("assets/brand/jannes-kordilla-mark.svg") center / contain no-repeat;
  font-size: 0;
  transition: filter 220ms var(--jk-ease), opacity 220ms var(--jk-ease);
  vertical-align: middle;
}

.jk-wordmark :is(.wp-block-site-title, strong) {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.jk-site-header.is-scrolled .jk-wordmark-mark {
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.jk-site-header.is-preview-menu-open {
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--ink);
  box-shadow: 0 10px 30px rgba(11, 13, 14, 0.12);
}

.jk-site-header.is-preview-menu-open :is(a, .jk-preview-nav-toggle) {
  color: inherit;
}

.jk-site-header.is-preview-menu-open .jk-wordmark-mark {
  filter: brightness(0) invert(1);
}

.jk-site-header.is-preview-menu-open .jk-preview-header-nav .jk-nav-external::before {
  background-image: var(--jk-openkarst-logo-white);
}

.jk-site-header .wp-block-navigation__responsive-container-open,
.jk-site-header .wp-block-navigation__responsive-container-close {
  position: relative;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.jk-site-header .wp-block-navigation__responsive-container-open svg,
.jk-site-header .wp-block-navigation__responsive-container-close svg {
  display: none;
}

.jk-site-header .wp-block-navigation__responsive-container-open::before,
.jk-site-header .wp-block-navigation__responsive-container-open::after,
.jk-site-header .wp-block-navigation__responsive-container-close::before,
.jk-site-header .wp-block-navigation__responsive-container-close::after {
  position: absolute;
  width: 1.55rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.jk-site-header .wp-block-navigation__responsive-container-open::before {
  transform: translateY(-0.25rem);
}

.jk-site-header .wp-block-navigation__responsive-container-open::after {
  transform: translateY(0.25rem);
}

.jk-site-header .wp-block-navigation__responsive-container-close::before {
  transform: rotate(45deg);
}

.jk-site-header .wp-block-navigation__responsive-container-close::after {
  transform: rotate(-45deg);
}

.jk-site-header .wp-block-navigation-item__content {
  text-decoration: none;
}

.jk-site-header .wp-block-navigation-item:not(.jk-nav-external) .wp-block-navigation-item__content::after {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--jk-ease);
}

.jk-site-header .wp-block-navigation-item:not(.jk-nav-external) .wp-block-navigation-item__content:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.jk-nav-external .wp-block-navigation-item__content,
.jk-preview-header-nav .jk-nav-external {
  box-sizing: border-box;
  display: inline-flex;
  gap: 0.42rem;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 0.85rem !important;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0;
  transition: color 180ms ease, background 180ms ease;
}

.jk-nav-external .wp-block-navigation-item__content::before,
.jk-preview-header-nav .jk-nav-external::before {
  width: 5.25rem;
  height: 1.45rem;
  flex: 0 0 auto;
  background: transparent var(--jk-openkarst-logo-color) center / contain no-repeat;
  content: "";
}

.jk-nav-external .wp-block-navigation-item__content::after,
.jk-preview-header-nav .jk-nav-external::after {
  content: "↗";
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.jk-nav-external .wp-block-navigation-item__content:hover,
.jk-preview-header-nav .jk-nav-external:hover {
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--ink);
}

.jk-nav-external .wp-block-navigation-item__content:hover::before,
.jk-preview-header-nav .jk-nav-external:hover::before,
.jk-site-header.is-scrolled .jk-nav-external .wp-block-navigation-item__content::before,
.jk-site-header.is-scrolled .jk-preview-header-nav .jk-nav-external::before {
  background-image: var(--jk-openkarst-logo-white);
}

.jk-site-header.is-scrolled .jk-nav-external .wp-block-navigation-item__content:hover,
.jk-site-header.is-scrolled .jk-preview-header-nav .jk-nav-external:hover {
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--chalk);
}

.jk-site-header.is-scrolled .jk-nav-external .wp-block-navigation-item__content:hover::before,
.jk-site-header.is-scrolled .jk-preview-header-nav .jk-nav-external:hover::before {
  background-image: var(--jk-openkarst-logo-black);
}

.jk-hero {
  position: relative;
  overflow: clip;
  padding-top: clamp(4rem, 8vw, 8rem);
}

.jk-hero::before {
  position: absolute;
  z-index: -1;
  top: -20rem;
  right: -10rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 14%, transparent);
  border-radius: 50%;
  content: "";
}

.jk-kicker,
.jk-card-label,
.jk-meta,
.jk-visual-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.jk-kicker {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
}

.jk-kicker::before {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.jk-hero-title {
  max-width: 11ch;
  margin-top: 0.2em !important;
  letter-spacing: -0.035em;
}

.has-lead-font-size,
.jk-page-lead {
  line-height: 1.5;
}

.has-h-2-font-size {
  line-height: 1.1;
}

.has-h-3-font-size {
  line-height: 1.22;
}

.jk-hero-role {
  max-width: 48rem;
  margin-top: 1.75rem !important;
}

.jk-hero-note {
  max-width: 37rem;
}

.jk-button-row .wp-block-button__link {
  box-sizing: border-box;
  display: inline-flex;
  min-height: 3rem;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem !important;
  transition: transform 180ms var(--jk-ease), color 180ms ease, background 180ms ease;
}

.jk-button-row .wp-block-button__link:hover {
  transform: translateY(-2px);
}

.jk-button-row .is-style-outline .wp-block-button__link:hover {
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--ink);
}

.jk-openkarst-cta .wp-block-button__link {
  gap: 0.48rem;
  font-size: 0;
  white-space: nowrap;
}

.jk-openkarst-cta .wp-block-button__link::before {
  content: "Explore";
  font-size: 0.875rem;
}

.jk-openkarst-cta .wp-block-button__link::after {
  display: inline-flex;
  width: 6.2rem;
  height: 1.45rem;
  align-items: center;
  justify-content: flex-end;
  background: transparent var(--jk-openkarst-logo-color) left center / 5.25rem 1.45rem no-repeat;
  content: "↗";
  font-size: 0.72rem;
  line-height: 1;
}

.jk-openkarst-cta .wp-block-button__link:hover::after {
  background-image: var(--jk-openkarst-logo-white);
}

.jk-button-row .is-style-text .wp-block-button__link {
  padding-right: 0.25rem;
  padding-left: 0.25rem;
  color: var(--wp--preset--color--water);
  background: transparent;
}

.jk-button-row .is-style-text .wp-block-button__link:hover {
  color: var(--wp--preset--color--ink);
}

.jk-button-row .is-style-outline-light .wp-block-button__link {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--wp--preset--color--chalk);
  background: transparent;
}

.jk-hero-aside {
  height: 100%;
  padding-top: 1rem;
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-availability {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
}

.jk-availability::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--wp--preset--color--water);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--wp--preset--color--water) 15%, transparent);
  content: "";
}

/* Short, progressive visual stage. No scroll snapping or scroll interception. */
.jk-visual-section {
  position: relative;
  min-height: 138vh;
  margin-top: clamp(4rem, 8vw, 8rem);
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--mineral-100);
}

.jk-visual-sticky {
  position: sticky;
  top: var(--jk-header-height);
  display: grid;
  min-height: calc(100vh - var(--jk-header-height));
  overflow: hidden;
  align-items: center;
}

.jk-visual-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.jk-visual-copy {
  position: relative;
  z-index: 2;
}

.jk-visual-copy h2 {
  max-width: 9ch;
  color: var(--wp--preset--color--chalk);
}

.jk-visual-copy p {
  max-width: 30rem;
  color: color-mix(in srgb, var(--wp--preset--color--mineral-100) 78%, transparent);
}

.jk-visual-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  max-width: 28rem;
  margin-top: 2rem;
  color: var(--wp--preset--color--water-light);
}

.jk-visual-progress-track {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.jk-visual-progress-track::after {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--color--water-light);
  content: "";
  transform: scaleX(var(--jk-visual-progress, 0));
  transform-origin: left;
}

.jk-science-visual {
  position: relative;
  isolation: isolate;
}

.jk-science-visual::before {
  position: absolute;
  z-index: -1;
  inset: 10% 4%;
  border-radius: 50%;
  background: rgba(8, 126, 156, 0.15);
  content: "";
  filter: blur(70px);
}

.jk-science-visual svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.jk-system-layer,
.jk-process-layer,
.jk-model-layer,
.jk-flow-path,
.jk-particle {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 120ms linear, transform 120ms linear;
}

.jk-system-layer {
  opacity: calc(1 - (var(--jk-visual-progress, 0) * 0.32));
  transform: translateY(calc(var(--jk-visual-progress, 0) * -6px));
}

.jk-process-layer {
  opacity: clamp(0.15, calc(var(--jk-visual-progress, 0) * 1.6), 1);
}

.jk-model-layer {
  opacity: clamp(0, calc((var(--jk-visual-progress, 0) - 0.34) * 2.4), 1);
  transform: scale(calc(0.97 + var(--jk-visual-progress, 0) * 0.03));
}

.jk-flow-path {
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--jk-visual-progress, 0));
}

.jk-particle {
  opacity: clamp(0, calc((var(--jk-visual-progress, 0) - 0.1) * 2.2), 1);
  transform: translateX(calc(var(--jk-visual-progress, 0) * 14px));
}

.jk-visual-state {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: var(--wp--preset--color--water-light) !important;
}

/* Integrated first-viewport hero. The media remains transparent and replaceable. */
.jk-hero-integrated {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--jk-header-height));
  overflow: hidden;
  align-items: stretch;
  margin: 0;
  padding: 0;
  color: var(--wp--preset--color--chalk);
  isolation: isolate;
}

.jk-hero-integrated::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #0b0d0e 0%, rgba(11, 13, 14, 0.98) 36%, rgba(11, 13, 14, 0.72) 55%, rgba(11, 13, 14, 0.08) 100%);
  content: "";
}

.jk-hero-integrated::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10rem;
  background: linear-gradient(transparent, rgba(11, 13, 14, 0.7));
  content: "";
  pointer-events: none;
}

.jk-hero-media {
  position: absolute;
  z-index: 0;
  inset: -4% -2% -8% 28%;
  opacity: 0.94;
  transform: translate3d(0, calc(var(--jk-visual-progress, 0) * -2rem), 0) scale(calc(1 + var(--jk-visual-progress, 0) * 0.025));
  transform-origin: 70% 50%;
  transition: transform 120ms linear;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 45%);
  pointer-events: none;
}

.jk-hero-media svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jk-hero-inner {
  position: relative;
  z-index: 2;
  display: grid !important;
  min-height: calc(100svh - var(--jk-header-height));
  grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 0.55fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  padding-top: clamp(2.75rem, 6vh, 4.5rem);
  padding-bottom: clamp(2.25rem, 5vh, 3.5rem);
}

.jk-hero-copy {
  max-width: 52rem;
}

.jk-hero-integrated .jk-hero-title {
  max-width: 9ch;
  color: var(--wp--preset--color--chalk);
  font-size: clamp(4.2rem, 7vw, 6.6rem) !important;
}

.jk-hero-integrated .jk-hero-role,
.jk-hero-integrated .jk-hero-note {
  color: var(--wp--preset--color--mineral-100);
}

.jk-hero-integrated .jk-hero-note {
  max-width: 42rem;
}

.jk-button-row .is-style-text-light .wp-block-button__link {
  padding-right: 0.25rem;
  padding-left: 0.25rem;
  color: var(--wp--preset--color--water-light);
  background: transparent;
}

.jk-button-row .is-style-text-light .wp-block-button__link:hover {
  color: var(--wp--preset--color--chalk);
}

.jk-hero-context {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.jk-hero-context p {
  color: var(--wp--preset--color--mineral-100);
}

.jk-hero-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
  color: var(--wp--preset--color--water-light);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-hero-progress-track {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.jk-hero-progress-track::after {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--color--water-light);
  content: "";
  transform: scaleX(var(--jk-visual-progress, 0));
  transform-origin: left;
}

/* Shared visual canvas across the complete opening narrative. */
.jk-opening-sequence {
  position: relative;
  overflow: clip;
  margin: 0;
  color: var(--wp--preset--color--ink);
  background: #fff;
  isolation: isolate;
}

.jk-opening-sequence > * {
  margin-block-start: 0 !important;
}

.jk-opening-visual {
  position: sticky;
  z-index: auto;
  top: var(--jk-header-height);
  height: calc(100svh - var(--jk-header-height));
  overflow: hidden;
  background: #fff;
}

.jk-opening-visual-inner {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 98%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #fff;
  background-image: url("assets/media/hero-video/poster-davinci.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translate(-50%, -50%);
}

.jk-opening-visual-inner::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.94) 2.5%, rgba(255, 255, 255, 0.48) 6.5%, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0) 88%, rgba(255, 255, 255, 0.48) 93.5%, rgba(255, 255, 255, 0.94) 97.5%, #fff 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 4.5%, rgba(255, 255, 255, 0) 96%, rgba(255, 255, 255, 0.72) 100%);
  content: "";
  pointer-events: none;
}

.jk-opening-mobile-stages {
  display: none;
}

.jk-opening-copy-wash {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.jk-opening-copy-wash::before,
.jk-opening-copy-wash::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.12;
  transition: opacity 520ms var(--jk-ease);
}

.jk-opening-copy-wash::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 8%, rgba(255, 255, 255, 0.3) 21%, rgba(255, 255, 255, 0) 38%);
  opacity: 1;
}

.jk-opening-copy-wash::after {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 8%, rgba(255, 255, 255, 0.3) 21%, rgba(255, 255, 255, 0) 38%);
}

.jk-opening-sequence[data-jk-stage="vadose"] .jk-opening-copy-wash::before {
  opacity: 0.12;
}

.jk-opening-sequence[data-jk-stage="vadose"] .jk-opening-copy-wash::after {
  opacity: 1;
}

.jk-opening-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.jk-opening-sequence.is-sequence-ready .jk-opening-video {
  opacity: 1;
}

.jk-opening-timeline {
  position: fixed;
  z-index: 90;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.3rem, 2.5vh, 1.8rem) 0 0.6rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.6rem);
  visibility: hidden;
  transition: opacity 180ms ease, transform 220ms var(--jk-ease), visibility 0s linear 220ms;
}

.jk-opening-sequence.is-rail-visible .jk-opening-timeline {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.jk-opening-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.4rem);
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  opacity: 0;
  transform: translate(-50%, 0.4rem);
  transition: opacity 180ms ease, transform 220ms var(--jk-ease);
}

.jk-opening-scroll-cue i {
  width: 0.62rem;
  height: 0.62rem;
  border-right: 2.25px solid var(--jk-magenta);
  border-bottom: 2.25px solid var(--jk-magenta);
  filter: drop-shadow(0 0 0.18rem #fff) drop-shadow(0 0 0.45rem #fff);
  transform: rotate(45deg);
  animation: jk-opening-cue 1.8s ease-in-out infinite;
}

.jk-opening-sequence.is-scroll-cue-visible .jk-opening-scroll-cue {
  opacity: 0.96;
  transform: translate(-50%, 0);
}

@keyframes jk-opening-cue {
  0%,
  100% {
    transform: translateY(-1px) rotate(45deg);
  }

  50% {
    transform: translateY(3px) rotate(45deg);
  }
}

.jk-opening-timeline-inner {
  position: relative;
  width: min(76rem, calc(100% - clamp(2.5rem, 10vw, 10rem)));
  margin: 0 auto;
}

.jk-opening-timeline-inner::before {
  position: absolute;
  z-index: 0;
  inset: -1rem clamp(-4.5rem, -4vw, -2.25rem) -0.45rem;
  background: rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(7px) saturate(106%);
  backdrop-filter: blur(7px) saturate(106%);
  content: "";
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  pointer-events: none;
}

.jk-opening-timeline-track {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 2rem;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
}

.jk-opening-timeline-track::before,
.jk-opening-timeline-track::after {
  position: absolute;
  top: 0.28rem;
  right: 10%;
  left: 10%;
  height: 1px;
  content: "";
}

.jk-opening-timeline-track::before {
  background: rgba(36, 68, 76, 0.2);
}

.jk-opening-timeline-track::after {
  background: var(--wp--preset--color--water);
  transform: scaleX(var(--jk-timeline-progress, 0));
  transform-origin: left;
}

.jk-opening-timeline-stop {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.34rem;
  justify-items: center;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: clamp(0.75rem, 0.8vw, 0.8rem);
  font-style: normal;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

.jk-opening-timeline-stop i {
  width: 0.62rem;
  height: 0.62rem;
  border: 1px solid rgba(36, 68, 76, 0.36);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.86);
}

.jk-opening-timeline-stop b {
  font-weight: 600;
}

.jk-opening-sequence:not([data-jk-stage]) .jk-opening-timeline-stop:nth-child(1),
.jk-opening-sequence[data-jk-stage="integrated"] .jk-opening-timeline-stop:nth-child(1),
.jk-opening-sequence[data-jk-stage="surface"] .jk-opening-timeline-stop:nth-child(2),
.jk-opening-sequence[data-jk-stage="vadose"] .jk-opening-timeline-stop:nth-child(3),
.jk-opening-sequence[data-jk-stage="groundwater"] .jk-opening-timeline-stop:nth-child(4),
.jk-opening-sequence[data-jk-stage="synthesis"] .jk-opening-timeline-stop:nth-child(5) {
  color: var(--wp--preset--color--ink);
}

.jk-opening-sequence:not([data-jk-stage]) .jk-opening-timeline-stop:nth-child(1) i,
.jk-opening-sequence[data-jk-stage="integrated"] .jk-opening-timeline-stop:nth-child(1) i,
.jk-opening-sequence[data-jk-stage="surface"] .jk-opening-timeline-stop:nth-child(2) i,
.jk-opening-sequence[data-jk-stage="vadose"] .jk-opening-timeline-stop:nth-child(3) i,
.jk-opening-sequence[data-jk-stage="groundwater"] .jk-opening-timeline-stop:nth-child(4) i,
.jk-opening-sequence[data-jk-stage="synthesis"] .jk-opening-timeline-stop:nth-child(5) i {
  border-color: #e02682;
  background: #e02682;
}

.jk-opening-content {
  position: relative;
  z-index: 2;
  margin-top: calc((100svh - var(--jk-header-height)) * -1) !important;
}

.jk-opening-content > * {
  margin-block-start: 0 !important;
}

.jk-opening-panel {
  position: relative;
  display: grid !important;
  min-height: 68svh;
  align-items: center;
  padding-top: var(--wp--preset--spacing--60);
  padding-bottom: clamp(5.5rem, 11vh, 7.5rem);
}

.jk-opening-hero {
  min-height: calc(100svh - var(--jk-header-height));
  align-items: end;
  padding-top: 0;
  padding-bottom: 0;
}

.jk-opening-hero-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  align-items: end;
  padding-bottom: clamp(7.5rem, 13vh, 9rem);
}

.jk-opening-sequence .jk-hero-copy {
  width: min(46rem, 57vw);
  margin-right: auto !important;
  margin-left: 0 !important;
}

.jk-hero-identity {
  margin-top: 0.65rem !important;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jk-opening-sequence .jk-hero-title {
  max-width: 9ch;
  color: var(--wp--preset--color--ink);
  font-size: clamp(4.2rem, 7vw, 6.6rem) !important;
}

.jk-opening-sequence .jk-hero-title-statement {
  max-width: 13ch;
  font-size: clamp(3.5rem, 5.8vw, 5.5rem) !important;
}

.jk-opening-sequence .jk-hero-role,
.jk-opening-sequence .jk-hero-note,
.jk-opening-step p {
  color: var(--wp--preset--color--ink-soft);
}

.jk-opening-step-inner > p:not(.jk-card-label) {
  max-width: 30rem;
}

.jk-opening-sequence .jk-hero-note {
  max-width: 26rem;
  text-wrap: pretty;
}

.jk-opening-sequence :is(.jk-kicker, .jk-card-label, .jk-availability, .jk-visual-state) {
  color: var(--wp--preset--color--water);
}

.jk-opening-sequence .jk-hero-context {
  border-top-color: var(--wp--preset--color--line);
}

.jk-opening-sequence .jk-hero-context p {
  color: var(--wp--preset--color--ink-soft);
}

.jk-opening-sequence .jk-hero-context :is(.jk-availability, .jk-visual-state) {
  color: var(--wp--preset--color--water);
}

.jk-opening-sequence .jk-hero-progress {
  color: var(--wp--preset--color--water);
}

.jk-opening-sequence .jk-hero-progress-track {
  background: var(--wp--preset--color--line);
}

.jk-opening-sequence .jk-hero-progress-track::after {
  background: var(--wp--preset--color--water);
}

.jk-opening-sequence .jk-opening-step-inner.alignwide {
  width: min(34rem, calc(100% - clamp(2.5rem, 8vw, 8rem))) !important;
  max-width: 34rem;
  margin-right: auto !important;
  margin-left: clamp(1.25rem, 4vw, 4rem) !important;
}

.jk-opening-step-inner h2 {
  max-width: 13ch;
  color: var(--wp--preset--color--ink);
}

.jk-opening-sequence .jk-opening-step.is-offset .jk-opening-step-inner.alignwide {
  position: relative;
  margin-right: clamp(1.25rem, 4vw, 4rem) !important;
  margin-left: auto !important;
}

.jk-opening-panel-final {
  min-height: 118svh;
  padding-bottom: clamp(3.5rem, 6vh, 5rem);
}

.jk-opening-synthesis {
  position: relative;
  align-items: start;
  padding-top: clamp(6rem, 16vh, 10rem);
  isolation: isolate;
}

.jk-opening-synthesis-inner {
  --jk-synthesis-reveal: clamp(0, calc((var(--jk-timeline-progress, 0) - 0.81) * 11.12), 1);
  position: relative;
  z-index: 1;
  width: min(36rem, calc(100% - clamp(2.5rem, 8vw, 8rem)));
  margin-right: auto !important;
  margin-left: clamp(1.25rem, 4vw, 4rem) !important;
  opacity: var(--jk-synthesis-reveal);
  transform: translateY(calc((1 - var(--jk-synthesis-reveal)) * 1.25rem));
  transition: opacity 100ms linear, transform 100ms linear;
}

.jk-opening-synthesis-inner h2 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 5.6vw, 5.6rem) !important;
  line-height: 0.98;
}

.jk-opening-synthesis-fallback {
  display: none;
  margin: 0;
}

.jk-opening-synthesis-fallback img {
  display: block;
  width: 100%;
  height: auto;
}

.jk-opening-sequence:not(.is-sequence-ready) .jk-opening-synthesis {
  background: #fff;
}

.jk-opening-sequence:not(.is-sequence-ready) .jk-opening-synthesis-fallback {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 1.5%;
  display: block;
  width: min(61vw, 70rem);
  transform: translateY(-50%);
}

@media (min-aspect-ratio: 16 / 9) {
  .jk-opening-visual-inner {
    width: auto;
    height: 98%;
  }
}

@media (min-width: 901px) and (min-aspect-ratio: 21 / 10) {
  .jk-opening-visual-inner::after {
    background:
      linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.97) 7%, rgba(255, 255, 255, 0.58) 13%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.58) 87%, rgba(255, 255, 255, 0.97) 93%, #fff 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 4.5%, rgba(255, 255, 255, 0) 96%, rgba(255, 255, 255, 0.72) 100%);
  }
}

.jk-section {
  padding-top: var(--wp--preset--spacing--70);
  padding-bottom: var(--wp--preset--spacing--70);
}

.jk-section--compact {
  padding-top: var(--wp--preset--spacing--60);
  padding-bottom: var(--wp--preset--spacing--60);
}

.jk-relevance-section {
  padding-top: clamp(1.75rem, 3vw, 3rem);
  padding-bottom: clamp(3.5rem, 5vw, 5rem);
  background: color-mix(in srgb, var(--wp--preset--color--water) 4%, #fff);
}

.jk-relevance-inner {
  display: grid !important;
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
}

.jk-relevance-inner h2 {
  max-width: 17ch;
}

.jk-relevance-copy {
  max-width: 44rem;
  padding-top: 0.2rem;
}

.jk-relevance-copy > :first-child {
  margin-top: 0;
}

.jk-relevance-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.jk-relevance-outcome {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
}

.jk-relevance-outcome span,
.jk-relevance-outcome small {
  display: block;
}

.jk-relevance-outcome strong {
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.15;
}

.jk-relevance-outcome small {
  margin-top: 0.28rem;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.025em;
  line-height: 1.35;
}

.jk-outcome-symbol {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  overflow: visible;
  fill: none;
  stroke: var(--wp--preset--color--water);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.jk-outcome-symbol .jk-symbol-magenta {
  fill: none;
  stroke: var(--jk-magenta);
  stroke-width: 2.1;
}

.jk-outcome-symbol .jk-symbol-magenta-fill {
  fill: var(--jk-magenta);
  stroke: #fff;
  stroke-width: 1.3;
}

.jk-outcome-symbol .jk-symbol-water-fill {
  fill: color-mix(in srgb, var(--wp--preset--color--water) 9%, transparent);
  stroke: none;
}

.jk-outcome-symbol .jk-symbol-soft {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 62%, #fff);
}

.jk-section + .jk-section {
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-section-header {
  display: grid;
  grid-template-columns: minmax(8rem, 0.45fr) minmax(0, 1.35fr) minmax(10rem, 0.55fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.jk-section-header h2,
.jk-section-header h3 {
  margin-top: -0.15em;
}

.jk-section-header > :last-child {
  justify-self: end;
}

.jk-section-header--simple {
  grid-template-columns: minmax(8rem, 0.42fr) minmax(0, 1.25fr) minmax(12rem, 0.7fr);
}

.jk-card-grid {
  align-items: stretch !important;
}

.jk-card-grid > .wp-block-column {
  display: flex;
}

.jk-card {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex: 1;
  flex-direction: column;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--jk-radius-card);
  background: var(--wp--preset--color--chalk);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--jk-ease);
}

.jk-card:hover {
  border-color: color-mix(in srgb, var(--wp--preset--color--water) 45%, var(--wp--preset--color--line));
  box-shadow: var(--jk-shadow-soft);
  transform: translateY(-2px);
}

.jk-card > .wp-block-group:last-child {
  margin-top: auto;
}

.jk-research-card {
  min-height: 27rem;
}

.jk-research-card::after {
  position: absolute;
  right: -3.8rem;
  bottom: -4.4rem;
  width: 12rem;
  height: 12rem;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 32%, transparent);
  border-radius: 48% 52% 62% 38%;
  content: "";
  transform: rotate(var(--jk-card-rotation, 0deg));
  transition: transform 500ms var(--jk-ease);
}

.jk-research-card:hover::after {
  transform: rotate(calc(var(--jk-card-rotation, 0deg) + 12deg)) scale(1.06);
}

.jk-research-card.is-2 {
  --jk-card-rotation: 45deg;
}

.jk-research-card.is-3 {
  --jk-card-rotation: 88deg;
}

.jk-card-index {
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 50%;
  text-align: center;
  line-height: 2.55rem;
}

.jk-text-link a {
  text-decoration: none;
}

.jk-text-link a::after {
  display: inline-block;
  margin-left: 0.4rem;
  content: "→";
  transition: transform 180ms var(--jk-ease);
}

.jk-text-link a:hover::after {
  transform: translateX(0.25rem);
}

.jk-text-link a.jk-external-link::after {
  content: "↗";
}

.jk-text-link a.jk-external-link:hover::after {
  transform: translate(0.15rem, -0.15rem);
}

.jk-feature-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.jk-feature-grid > * {
  grid-column: span 6;
}

.jk-feature-card {
  min-height: 25rem;
}

.jk-feature-card.is-featured {
  grid-column: span 7;
  color: var(--wp--preset--color--mineral-100);
  background: var(--wp--preset--color--ink);
}

.jk-feature-card.is-featured + .jk-feature-card {
  grid-column: span 5;
}

.jk-feature-card.is-featured h3,
.jk-feature-card.is-featured a {
  color: var(--wp--preset--color--chalk);
}

.jk-feature-card.is-featured p {
  color: color-mix(in srgb, var(--wp--preset--color--mineral-100) 78%, transparent);
}

.jk-selected-work-section {
  background: #fff;
}

.jk-section-header-link {
  margin-top: 0.15rem;
  white-space: nowrap;
}

.jk-selected-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.8fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.jk-selected-feature,
.jk-selected-item {
  min-width: 0;
}

.jk-selected-network-visual {
  min-height: clamp(18rem, 31vw, 27rem);
  overflow: hidden;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at 53% 48%, color-mix(in srgb, var(--wp--preset--color--water) 8%, transparent), transparent 32%),
    linear-gradient(180deg, #fff, color-mix(in srgb, var(--wp--preset--color--water) 2%, #fff));
  -webkit-mask-image: radial-gradient(ellipse 76% 82% at 50% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 82% at 50% 50%, #000 58%, transparent 100%);
}

.jk-selected-network-visual svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.jk-network-branch,
.jk-network-water,
.jk-network-core {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jk-network-branch {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 23%, var(--wp--preset--color--line));
  stroke-width: 2.2;
}

.jk-network-water {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 66%, #fff);
  stroke-width: 8;
}

.jk-network-core {
  stroke: var(--jk-magenta);
  stroke-dasharray: 15 24;
  stroke-width: 2.8;
  animation: jk-network-flow 2.8s linear infinite;
}

.jk-network-nodes circle {
  fill: #fff;
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 58%, var(--wp--preset--color--line));
  stroke-width: 2;
}

.jk-selected-feature-copy {
  max-width: 38rem;
}

.jk-selected-feature-copy h3 {
  max-width: 11ch;
}

.jk-selected-companions {
  display: grid !important;
  gap: clamp(3.5rem, 6vw, 6rem);
}

.jk-selected-image {
  height: clamp(9.5rem, 15vw, 12rem);
  overflow: hidden;
  margin: 0 0 1.2rem;
  background: #fff;
  -webkit-mask-image: radial-gradient(ellipse 84% 92% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 92% at 50% 50%, #000 62%, transparent 100%);
}

.jk-selected-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jk-selected-item h3 {
  max-width: 17ch;
}

.jk-selected-item > p:not(.jk-meta, .jk-text-link) {
  max-width: 31rem;
}

@keyframes jk-network-flow {
  to {
    stroke-dashoffset: -78;
  }
}

.jk-section-route {
  margin-top: var(--wp--preset--spacing--50);
}

.jk-current-section {
  border-top: 0;
  background: #fff;
  scroll-margin-top: var(--jk-header-compact-height);
}

.jk-current-section > .jk-section {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.75rem, 6vw, 5.75rem);
}

.jk-current-header {
  display: flex !important;
  width: min(100%, 62rem);
  gap: 1.5rem;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: auto;
  margin-bottom: clamp(2.25rem, 3vw, 3rem);
  margin-left: auto;
}

.jk-current-header > * {
  margin-top: 0;
  margin-bottom: 0;
}

.jk-activity-list {
  --jk-activity-marker-size: 0.72rem;
  position: relative;
  width: min(100%, 62rem);
  margin-right: auto;
  margin-left: auto;
}

.jk-activity-list::before {
  position: absolute;
  top: 0.68rem;
  bottom: 0.78rem;
  left: calc(var(--jk-activity-marker-size) / 2);
  width: 1px;
  background: color-mix(in srgb, var(--wp--preset--color--water) 26%, transparent);
  content: "";
  transform: translateX(-50%);
}

.jk-activity-item {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(9rem, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: baseline;
  padding: 0.3rem 0 0.65rem 2.2rem;
}

.jk-activity-item::before {
  position: absolute;
  top: 0.83rem;
  left: -1px;
  width: var(--jk-activity-marker-size);
  height: var(--jk-activity-marker-size);
  border: 2px solid color-mix(in srgb, var(--wp--preset--color--water) 48%, #fff);
  border-radius: 50%;
  background: #fff;
  content: "";
}

.jk-activity-item.is-latest::before {
  border-color: var(--jk-magenta);
  background: var(--jk-magenta);
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--jk-magenta) 12%, transparent);
}

.jk-activity-item > * {
  margin: 0;
}

.jk-activity-copy > * {
  margin: 0;
}

.jk-activity-meta {
  display: grid;
  gap: 0.15rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.4;
  text-transform: uppercase;
}

.jk-activity-meta time {
  color: var(--wp--preset--color--ink-soft);
}

.jk-activity-item h3 {
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(1.18rem, 1.7vw, 1.5rem) !important;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.28;
}

.jk-activity-item h3 a {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
}

.jk-activity-item h3 a::after {
  display: inline-block;
  margin-left: 0;
  color: var(--wp--preset--color--water);
  content: "→";
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.8em;
  transition: transform 180ms var(--jk-ease);
}

.jk-activity-item h3 a.is-external::after {
  content: "→";
}

.jk-activity-item h3 a:hover {
  color: var(--wp--preset--color--water);
}

.jk-activity-item h3 a:hover::after {
  transform: translateX(0.18rem);
}

.jk-activity-summary {
  max-width: 46rem;
  margin-top: 0.5rem !important;
  color: var(--wp--preset--color--ink-soft);
  font-size: clamp(1rem, 1.05vw, 1.04rem);
  line-height: 1.55;
}

.jk-feature-visual {
  position: relative;
  min-height: 8.5rem;
  overflow: hidden;
  border-radius: 0.55rem;
  background-color: var(--wp--preset--color--mineral-100);
  background-image: linear-gradient(rgba(20,32,43,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,32,43,.07) 1px, transparent 1px);
  background-size: 1.25rem 1.25rem;
}

.is-featured .jk-feature-visual {
  background-color: rgba(255,255,255,.04);
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
}

.jk-feature-visual::before,
.jk-feature-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.jk-media-pending {
  position: relative;
}

.jk-feature-visual.jk-media-pending {
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
}

.jk-feature-visual.jk-media-pending span {
  position: relative;
  z-index: 1;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.is-featured .jk-feature-visual.jk-media-pending span {
  color: var(--wp--preset--color--water-light);
}

.jk-feature-visual::before {
  top: 24%;
  left: 14%;
  width: 54%;
  height: 2px;
  border-radius: 0;
  background: var(--wp--preset--color--water);
  box-shadow: 2rem 1.7rem 0 var(--wp--preset--color--transport), 7rem 3.7rem 0 var(--wp--preset--color--water);
  transform: rotate(-10deg);
}

.jk-feature-visual::after {
  right: 12%;
  bottom: -38%;
  width: 8rem;
  height: 8rem;
  border: 1px solid var(--wp--preset--color--water);
}

.jk-publication-list {
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-publication-item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.jk-publication-item h3 {
  margin-bottom: 0.5rem;
}

.jk-publication-item .jk-text-link {
  white-space: nowrap;
}

.jk-publication-item--compact {
  grid-template-columns: minmax(8rem, 0.48fr) minmax(0, 1.52fr) auto;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.jk-publication-item--compact h3,
.jk-publication-item--compact p {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.jk-update-card {
  min-height: 20rem;
}

.jk-profile-layout {
  display: grid !important;
  grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: center;
}

.jk-profile-portrait {
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--jk-radius-card);
  background: var(--wp--preset--color--chalk);
}

.jk-profile-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.jk-profile-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.jk-profile-hero-copy {
  max-width: 48rem;
}

.jk-internal-hero.jk-profile-hero h1 {
  max-width: 100%;
}

.jk-profile-hero .jk-page-lead {
  max-width: 43rem;
}

.jk-profile-role {
  margin-top: var(--wp--preset--spacing--40);
  padding-top: 0;
  border-top: 0;
  color: var(--wp--preset--color--ink-soft);
}

.jk-profile-role strong {
  color: var(--wp--preset--color--ink);
}

.jk-profile-hero-portrait {
  width: min(100%, 28rem);
  aspect-ratio: 4 / 5;
  justify-self: end;
  box-shadow: 0 1rem 2.5rem rgba(11, 13, 14, 0.09);
}

.jk-profile-hero-portrait img {
  object-position: 50% 46%;
}

.jk-profile-trajectory {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.jk-profile-trajectory::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("assets/media/profile/groundwater-pathway-v3-fracture-to-flow.webp");
  background-position: center;
  background-size: cover;
  content: "";
  filter: saturate(0.82) contrast(0.92);
  mix-blend-mode: multiply;
  opacity: 0.42;
  pointer-events: none;
}

.jk-profile-trajectory-inner {
  position: relative;
  z-index: 1;
  /*
   * WordPress Global Styles can replace the named spacing presets. Keep this
   * page-defining band stable and give its opening copy deliberate breathing
   * room inside the coloured background.
   */
  padding-top: clamp(2.75rem, 4vw, 4rem) !important;
  padding-bottom: clamp(3.5rem, 7vw, 5.6rem) !important;
}

.jk-profile-trajectory-grid {
  align-items: start !important;
}

.jk-trajectory-pullquote {
  max-width: 25rem;
  margin: clamp(2.5rem, 6vw, 5rem) 0 0;
  padding: 0;
  border-top: 0;
  border-left: 0;
}

.jk-trajectory-pullquote p {
  margin: 0;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.22;
}

.jk-trajectory-stages {
  display: grid;
}

.jk-trajectory-stage {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0;
  margin: 0 0 2rem;
  border-bottom: 0;
}

.jk-trajectory-stage:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.jk-trajectory-index {
  padding-top: 0.22rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.jk-trajectory-stage h3 {
  margin: 0;
  font-size: var(--wp--preset--font-size--h-3);
}

.jk-trajectory-stage p {
  margin: 0.45rem 0 0;
}

.jk-scale-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(7rem, 0.55fr) minmax(0, 0.8fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  margin-top: clamp(3rem, 7vw, 5.5rem);
}

.jk-scale-bridge-label,
.jk-scale-bridge-items span {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.jk-scale-bridge-label {
  display: block;
}

.jk-scale-bridge-items {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.7rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 58%, transparent);
}

.jk-scale-bridge-group--process .jk-scale-bridge-items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-scale-bridge-group--system .jk-scale-bridge-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-scale-bridge-connector i {
  position: relative;
  display: block;
  height: 1px;
  margin-top: 0.7rem;
  border-top: 0;
  background: linear-gradient(90deg, var(--wp--preset--color--water) 0%, var(--wp--preset--color--water) 65%, var(--jk-magenta) 100%);
}

.jk-scale-bridge-connector i::after {
  position: absolute;
  top: -0.31rem;
  right: -1px;
  width: 0;
  height: 0;
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.48rem solid var(--jk-magenta);
  content: "";
}

.jk-portrait-placeholder {
  position: relative;
  display: grid;
  min-height: clamp(24rem, 45vw, 38rem);
  overflow: hidden;
  border-radius: var(--jk-radius-card);
  background: var(--wp--preset--color--mineral-100);
  place-items: center;
}

.jk-portrait-placeholder::before {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 36%, transparent);
  border-radius: 46% 54% 62% 38%;
  content: "";
  transform: rotate(18deg);
}

.jk-portrait-monogram {
  position: relative;
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(5rem, 14vw, 10rem);
  letter-spacing: -0.09em;
}

.jk-portrait-placeholder .jk-media-placeholder-label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  text-align: center;
}

.jk-media-placeholder {
  position: relative;
  display: flex;
  min-height: 24rem;
  overflow: hidden;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 28%, var(--wp--preset--color--line));
  border-radius: var(--jk-radius-card);
  background-color: var(--wp--preset--color--mineral-100);
  background-image:
    linear-gradient(rgba(20, 32, 43, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 43, 0.07) 1px, transparent 1px);
  background-size: 1.25rem 1.25rem;
}

.jk-media-placeholder::before {
  position: absolute;
  top: 17%;
  right: 11%;
  width: 58%;
  height: 46%;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 48%, transparent);
  border-radius: 45% 55% 58% 42%;
  content: "";
  transform: rotate(-9deg);
}

.jk-media-placeholder > * {
  position: relative;
  z-index: 1;
}

.jk-media-placeholder strong {
  max-width: 25rem;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 400;
  line-height: 1.12;
}

.jk-media-placeholder small,
.jk-media-placeholder-label {
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-media-placeholder--portrait {
  min-height: 30rem;
}

.jk-media-placeholder--square {
  aspect-ratio: 1;
  min-height: 0;
}

.jk-media-placeholder--timeline {
  min-height: 13rem;
  margin-top: var(--wp--preset--spacing--40);
}

.jk-media-placeholder--dark {
  border-color: rgba(125, 211, 223, 0.35);
  background-color: rgba(255, 255, 255, 0.035);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
}

.jk-media-placeholder--dark strong {
  color: var(--wp--preset--color--chalk);
}

.jk-media-placeholder--dark small,
.jk-media-placeholder--dark .jk-media-placeholder-label {
  color: var(--wp--preset--color--water-light);
}

.jk-review-note,
.jk-content-placeholder {
  margin-top: var(--wp--preset--spacing--40);
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--wp--preset--color--transport);
  color: var(--wp--preset--color--ink-soft);
  background: color-mix(in srgb, var(--wp--preset--color--transport) 8%, transparent);
}

.jk-review-note--dark {
  border-left-color: var(--wp--preset--color--water-light);
  color: var(--wp--preset--color--mineral-100) !important;
  background: rgba(255, 255, 255, 0.055);
}

.jk-internal-hero {
  position: relative;
  overflow: clip;
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.jk-internal-hero--compact {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(1.75rem, 2.5vw, 2.25rem);
}

.jk-internal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 16ch;
  margin-top: 0.35em;
}

.jk-internal-hero--compact h1 {
  max-width: 18ch;
  font-size: clamp(2.75rem, 5vw, 4.4rem) !important;
}

.jk-research-hero > .alignwide,
.jk-research-chapter,
.jk-research-programme {
  width: min(
    calc(100% - 2 * var(--wp--preset--spacing--30)),
    var(--jk-research-page-width)
  );
  max-width: var(--jk-research-page-width) !important;
  margin-inline: auto;
}

.jk-research-hero .jk-page-lead {
  max-width: 46rem;
}

.jk-research-scroll-cue {
  position: fixed;
  z-index: 39;
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  left: 50%;
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  color: var(--jk-magenta);
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  transform: translate(-50%, 0.45rem);
  visibility: hidden;
  transition: opacity 180ms ease, transform 220ms var(--jk-ease), visibility 0s linear 220ms;
}

.jk-research-scroll-cue.is-visible {
  opacity: 0.96;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
  transition-delay: 0s;
}

.jk-research-scroll-cue i {
  width: 0.62rem;
  height: 0.62rem;
  border-right: 2.25px solid currentColor;
  border-bottom: 2.25px solid currentColor;
  filter: drop-shadow(0 0 0.18rem #fff) drop-shadow(0 0 0.45rem #fff);
  transform: rotate(45deg);
  animation: jk-opening-cue 1.8s ease-in-out infinite;
}

.jk-research-scroll-cue:hover,
.jk-research-scroll-cue:focus-visible {
  color: color-mix(in srgb, var(--jk-magenta) 82%, var(--wp--preset--color--ink));
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-scroll-cue i {
    animation: none;
  }
}

/* Storage + coupling · simplified recharge contrast.
   One 10-second relative-time cycle follows a broad slow matrix front, three
   focused transfer paths, and their contrasting spring responses. */
.jk-research-application--system {
  --jk-storage-coupling-cycle: 6s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange {
  opacity: 1;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-storage-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 10%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 54%, transparent);
  stroke-width: 1.45;
  opacity: 1;
  animation: none;
}

.jk-research-application--system .jk-system-diffuse-recharge-band,
.jk-research-application--system .jk-system-diffuse-front-edge,
.jk-research-application--system .jk-system-fracture-network path,
.jk-research-application--system .jk-system-fracture-surges path,
.jk-research-application--system .jk-system-focused-channel,
.jk-research-application--system .jk-system-focused-pulse,
.jk-research-application--system .jk-system-diffuse-arrival-band,
.jk-research-application--system .jk-system-phreatic-channel-bed,
.jk-research-application--system .jk-system-conduit-pulse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-diffuse-recharge-band {
  stroke: color-mix(in srgb, var(--jk-science-water) 86%, #fff);
  stroke-width: 5;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.96));
}

.jk-research-application--system .jk-system-diffuse-front-fill {
  fill: url("#jk-system-diffuse-front-gradient");
  stroke: none;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center top;
}

.jk-research-application--system .jk-system-diffuse-front-edge {
  stroke: color-mix(in srgb, var(--jk-science-water) 88%, #fff);
  stroke-width: 2.4;
  opacity: 0;
  transform-box: view-box;
  transform-origin: 0 408px;
  filter: drop-shadow(0 0 2.5px rgba(255, 255, 255, 0.98));
}

.jk-research-application--system .jk-system-fracture-network path {
  stroke: color-mix(in srgb, var(--jk-science-water) 56%, rgba(255, 255, 255, 0.9));
  stroke-width: 2.1;
  opacity: 0.88;
  filter: drop-shadow(0 0 1.8px rgba(255, 255, 255, 0.96));
}

.jk-research-application--system .jk-system-fracture-surges path {
  stroke: color-mix(in srgb, var(--jk-science-water) 74%, #fff);
  stroke-width: 7;
  stroke-dasharray: 0.15 0.85;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.96));
}

.jk-research-application--system .jk-system-matrix-exchange-zone {
  fill: color-mix(in srgb, var(--jk-science-storage) 32%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-storage) 74%, #fff);
  stroke-width: 1.6;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: left center;
}

.jk-research-application--system .jk-system-exchange-highlight,
.jk-research-application--system .jk-system-fracture-arrival,
.jk-research-application--system .jk-system-focused-arrival,
.jk-research-application--system .jk-system-spring-anchor {
  fill: rgba(255, 255, 255, 0.97);
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-exchange-highlight {
  stroke: var(--jk-science-storage);
  opacity: 0;
}

.jk-research-application--system .jk-system-exchange-highlight-halo,
.jk-research-application--system .jk-system-fracture-arrival-halo,
.jk-research-application--system .jk-system-focused-arrival-halo,
.jk-research-application--system .jk-system-spring-halo {
  fill: none;
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-exchange-highlight-halo {
  stroke: var(--jk-science-storage);
}

.jk-research-application--system .jk-system-focused-channel {
  stroke: color-mix(in srgb, var(--jk-science-rapid) 42%, rgba(255, 255, 255, 0.72));
  stroke-width: 14;
  opacity: 1;
  animation: none;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.98));
}

.jk-research-application--system .jk-system-focused-channel.is-minor {
  stroke-width: 8;
  opacity: 0.88;
}

.jk-research-application--system .jk-system-focused-entry {
  fill: rgba(255, 255, 255, 0.94);
  stroke: var(--jk-science-rapid);
  stroke-width: 3;
  opacity: 1;
  animation: none;
}

.jk-research-application--system .jk-system-focused-entry.is-minor {
  stroke-width: 2.2;
}

.jk-research-application--system .jk-system-focused-pulse {
  stroke: var(--jk-science-rapid);
  stroke-width: 8;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.98));
}

.jk-research-application--system .jk-system-focused-pulse.is-minor {
  stroke-width: 5;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-vadose-label,
  .jk-system-phreatic-label
) {
  opacity: 1;
  animation: none;
}

.jk-research-application--system .jk-system-vadose-label--front {
  fill: var(--jk-science-water);
}

.jk-research-application--system .jk-system-vadose-label--storage {
  fill: var(--jk-science-storage);
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation :is(
  .jk-system-phreatic-field,
  .jk-system-phreatic-boundary,
  .jk-system-phreatic-conduit
) {
  opacity: 1;
  animation: none;
  stroke-dashoffset: 0;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 16%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 44%, transparent);
  stroke-width: 1.2;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-boundary {
  stroke: color-mix(in srgb, var(--jk-science-water) 76%, #fff);
  stroke-width: 2;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.98));
}

.jk-research-application--system .jk-system-diffuse-arrival-band {
  stroke: color-mix(in srgb, var(--jk-science-water) 62%, rgba(255, 255, 255, 0.82));
  stroke-width: 16;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

.jk-research-application--system .jk-system-fracture-arrival {
  stroke: var(--jk-science-water);
  opacity: 0;
}

.jk-research-application--system .jk-system-fracture-arrival-halo {
  stroke: var(--jk-science-water);
}

.jk-research-application--system .jk-system-focused-arrival {
  stroke: var(--jk-science-rapid);
  opacity: 0;
}

.jk-research-application--system .jk-system-focused-arrival-halo {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-phreatic-channel-bed {
  stroke: color-mix(in srgb, var(--jk-science-water-soft) 48%, rgba(255, 255, 255, 0.76));
  stroke-width: 17;
  opacity: 1;
  animation: none;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation .jk-system-phreatic-conduit {
  stroke: color-mix(in srgb, var(--jk-science-water) 92%, #fff);
  stroke-width: 3.5;
  opacity: 1;
  animation: none;
  filter: drop-shadow(0 0 2.8px rgba(255, 255, 255, 1));
}

.jk-research-application--system .jk-system-conduit-pulse {
  stroke-width: 8;
  stroke-dasharray: 0.13 0.87;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.98));
}

.jk-research-application--system .jk-system-conduit-pulse.is-fast {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-conduit-pulse.is-delayed {
  stroke: color-mix(in srgb, var(--jk-science-water) 78%, #fff);
}

.jk-research-application--system .jk-system-spring-anchor {
  stroke: var(--jk-science-water);
  opacity: 1;
}

.jk-research-application--system .jk-system-spring-halo.is-fast {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-spring-halo.is-delayed {
  stroke: var(--jk-science-water);
}

/* The response plot is a permanent timing key. It is never drawn from zero
   opacity; only the cursor moves through relative time. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-inset :is(
  .jk-system-recharge-flux-backdrop,
  .jk-system-recharge-flux-title,
  .jk-system-chart-axis,
  .jk-system-recharge-flux-label,
  .jk-system-recharge-flux-axis-label,
  .jk-system-recharge-phase-label,
  .jk-system-recharge-flux-line
) {
  opacity: 1;
  animation: none;
}

.jk-research-application--system .jk-system-recharge-flux-backdrop {
  fill: rgba(255, 255, 255, 0.91);
  stroke: color-mix(in srgb, var(--jk-science-water) 30%, transparent);
  stroke-width: 1.2;
}

.jk-research-application--system .jk-system-recharge-flux-inset .jk-system-chart-axis {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink) 56%, transparent);
  stroke-width: 1.2;
}

.jk-research-application--system .jk-system-recharge-flux-line {
  fill: none;
  stroke-width: 3.6;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  opacity: 1;
  animation: none;
  paint-order: stroke;
  filter: drop-shadow(0 0 1.6px rgba(255, 255, 255, 1));
}

.jk-research-application--system .jk-system-recharge-flux-line.is-fast {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-recharge-flux-line.is-delayed {
  stroke: var(--jk-science-water);
}

.jk-research-application--system .jk-system-recharge-flux-label.is-delayed {
  fill: var(--jk-science-water);
}

.jk-research-application--system .jk-system-recharge-phase-label {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 58%, transparent);
  font-size: 10px;
  letter-spacing: 0.045em;
}

.jk-research-application--system .jk-system-recharge-time-cursor {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink) 62%, transparent);
  stroke-width: 1.4;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}

.jk-research-application--system .jk-system-recharge-time-cursor-dot {
  fill: rgba(255, 255, 255, 0.96);
  stroke: var(--wp--preset--color--ink);
  stroke-width: 1.2;
  opacity: 0;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-diffuse-front-fill,
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-diffuse-front-edge {
  animation: jk-system-diffuse-front-cycle var(--jk-storage-coupling-cycle) ease-in-out infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-fracture-surges path {
  animation: jk-system-fracture-surge-cycle var(--jk-storage-coupling-cycle) linear infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-fracture-surges path:nth-child(2) {
  animation-delay: 0.35s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-fracture-surges path:nth-child(3) {
  animation-delay: 0.7s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-matrix-exchange-zone {
  animation: jk-system-matrix-exchange-cycle var(--jk-storage-coupling-cycle) ease-in-out infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-exchange-highlight {
  animation: jk-system-process-dot-cycle var(--jk-storage-coupling-cycle) ease-out infinite;
  animation-delay: 0.35s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-exchange-highlight-halo {
  animation: jk-system-process-halo-cycle var(--jk-storage-coupling-cycle) ease-out infinite;
  animation-delay: 0.35s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-focused-pulse {
  animation: jk-system-focused-pulse-cycle var(--jk-storage-coupling-cycle) linear infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-fracture-arrival {
  animation: jk-system-fracture-arrival-cycle var(--jk-storage-coupling-cycle) ease-out infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-fracture-arrival-halo {
  animation: jk-system-fracture-arrival-halo-cycle var(--jk-storage-coupling-cycle) ease-out infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-focused-arrival {
  animation: jk-system-focused-arrival-cycle var(--jk-storage-coupling-cycle) ease-out infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-focused-arrival-halo {
  animation: jk-system-focused-arrival-halo-cycle var(--jk-storage-coupling-cycle) ease-out infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-diffuse-arrival-band {
  animation: jk-system-diffuse-arrival-cycle var(--jk-storage-coupling-cycle) ease-in-out infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-conduit-pulse.is-fast {
  animation: jk-system-conduit-fast-cycle var(--jk-storage-coupling-cycle) linear infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-conduit-pulse.is-delayed {
  animation: jk-system-conduit-delayed-cycle var(--jk-storage-coupling-cycle) linear infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-spring-halo.is-fast {
  animation: jk-system-spring-fast-cycle var(--jk-storage-coupling-cycle) ease-out infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-spring-halo.is-delayed {
  animation: jk-system-spring-delayed-cycle var(--jk-storage-coupling-cycle) ease-out infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-recharge-time-cursor,
  .jk-system-recharge-time-cursor-dot
) {
  animation: jk-system-recharge-time-cycle var(--jk-storage-coupling-cycle) linear infinite;
}

@keyframes jk-system-diffuse-front-cycle {
  0%,
  5% {
    opacity: 0;
    transform: scaleY(0.035);
  }

  9% {
    opacity: 0.92;
    transform: scaleY(0.08);
  }

  32% {
    opacity: 1;
    transform: scaleY(0.48);
  }

  52% {
    opacity: 1;
    transform: scaleY(0.92);
  }

  58%,
  82% {
    opacity: 0.94;
    transform: scaleY(1);
  }

  92% {
    opacity: 0.78;
    transform: scaleY(1);
  }

  98% {
    opacity: 0.38;
    transform: scaleY(1);
  }

  100% {
    opacity: 0;
    transform: scaleY(1);
  }
}

@keyframes jk-system-fracture-surge-cycle {
  0%,
  7% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  10% {
    opacity: 1;
    stroke-dashoffset: 1;
  }

  38% {
    opacity: 1;
    stroke-dashoffset: 0;
  }

  43%,
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-matrix-exchange-cycle {
  0%,
  23% {
    opacity: 0;
    transform: scaleX(0.04);
  }

  32% {
    opacity: 0.72;
    transform: scaleX(0.3);
  }

  52% {
    opacity: 1;
    transform: scaleX(1);
  }

  84% {
    opacity: 0.88;
    transform: scaleX(1);
  }

  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

@keyframes jk-system-process-dot-cycle {
  0%,
  29% {
    opacity: 0;
  }

  33%,
  43% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@keyframes jk-system-process-halo-cycle {
  0%,
  28% {
    opacity: 0;
    transform: scale(0.45);
  }

  36% {
    opacity: 0.92;
    transform: scale(1);
  }

  48% {
    opacity: 0;
    transform: scale(1.6);
  }

  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes jk-system-focused-pulse-cycle {
  0%,
  8% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  10% {
    opacity: 1;
    stroke-dashoffset: 1;
  }

  32% {
    opacity: 1;
    stroke-dashoffset: 0;
  }

  44% {
    opacity: 0.82;
    stroke-dashoffset: 0;
  }

  48%,
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-focused-arrival-cycle {
  0%,
  30% {
    opacity: 0;
  }

  34%,
  42% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes jk-system-focused-arrival-halo-cycle {
  0%,
  30% {
    opacity: 0;
    transform: scale(0.45);
  }

  36% {
    opacity: 0.96;
    transform: scale(1);
  }

  48% {
    opacity: 0;
    transform: scale(1.65);
  }

  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

@keyframes jk-system-fracture-arrival-cycle {
  0%,
  38% {
    opacity: 0;
  }

  42%,
  52% {
    opacity: 1;
  }

  61%,
  100% {
    opacity: 0;
  }
}

@keyframes jk-system-fracture-arrival-halo-cycle {
  0%,
  38% {
    opacity: 0;
    transform: scale(0.45);
  }

  44% {
    opacity: 0.9;
    transform: scale(1);
  }

  58% {
    opacity: 0;
    transform: scale(1.65);
  }

  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

@keyframes jk-system-diffuse-arrival-cycle {
  0%,
  61% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  69% {
    opacity: 0.72;
    stroke-dashoffset: 0.62;
  }

  83% {
    opacity: 0.88;
    stroke-dashoffset: 0;
  }

  94% {
    opacity: 0.7;
    stroke-dashoffset: 0;
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-conduit-fast-cycle {
  0%,
  33% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  36% {
    opacity: 1;
    stroke-dashoffset: 1;
  }

  56% {
    opacity: 1;
    stroke-dashoffset: 0;
  }

  62%,
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-conduit-delayed-cycle {
  0%,
  72% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  76% {
    opacity: 0.86;
    stroke-dashoffset: 1;
  }

  94% {
    opacity: 0.92;
    stroke-dashoffset: 0;
  }

  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-spring-fast-cycle {
  0%,
  54% {
    opacity: 0;
    transform: scale(0.45);
  }

  59% {
    opacity: 0.94;
    transform: scale(1);
  }

  68% {
    opacity: 0;
    transform: scale(1.55);
  }

  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes jk-system-spring-delayed-cycle {
  0%,
  91% {
    opacity: 0;
    transform: scale(0.55);
  }

  95% {
    opacity: 0.82;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

@keyframes jk-system-recharge-time-cycle {
  0% {
    opacity: 0.72;
    transform: translateX(0);
  }

  96% {
    opacity: 0.72;
    transform: translateX(372px);
  }

  100% {
    opacity: 0;
    transform: translateX(372px);
  }
}

.jk-research-application--system.is-motion-disabled[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-diffuse-front-fill,
  .jk-system-diffuse-front-edge,
  .jk-system-matrix-exchange-zone,
  .jk-system-exchange-highlight,
  .jk-system-fracture-arrival,
  .jk-system-focused-arrival,
  .jk-system-diffuse-arrival-band
) {
  animation: none;
  opacity: 0.82;
  transform: none;
  stroke-dashoffset: 0;
}

.jk-research-application--system.is-motion-disabled[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-fracture-surges,
  .jk-system-focused-pulse,
  .jk-system-conduit-pulse,
  .jk-system-exchange-highlight-halo,
  .jk-system-fracture-arrival-halo,
  .jk-system-focused-arrival-halo,
  .jk-system-spring-halo,
  .jk-system-recharge-time-cursor,
  .jk-system-recharge-time-cursor-dot
) {
  display: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
    .jk-system-diffuse-front-fill,
    .jk-system-diffuse-front-edge,
    .jk-system-matrix-exchange-zone,
    .jk-system-exchange-highlight,
    .jk-system-fracture-arrival,
    .jk-system-focused-arrival,
    .jk-system-diffuse-arrival-band
  ) {
    animation: none;
    opacity: 0.82;
    transform: none;
    stroke-dashoffset: 0;
  }

  .jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
    .jk-system-fracture-surges,
    .jk-system-focused-pulse,
    .jk-system-conduit-pulse,
    .jk-system-exchange-highlight-halo,
    .jk-system-fracture-arrival-halo,
    .jk-system-focused-arrival-halo,
    .jk-system-spring-halo,
    .jk-system-recharge-time-cursor,
    .jk-system-recharge-time-cursor-dot
  ) {
    display: none;
    animation: none;
  }
}

.jk-page-lead {
  position: relative;
  z-index: 1;
  max-width: 54rem;
  margin-top: var(--wp--preset--spacing--40) !important;
}

.jk-page-section {
  padding-top: var(--wp--preset--spacing--70);
  padding-bottom: var(--wp--preset--spacing--70);
}

.jk-page-section--compact,
.jk-research-chapter--compact {
  padding-top: var(--wp--preset--spacing--60);
  padding-bottom: var(--wp--preset--spacing--60);
}

.jk-internal-hero--compact + .jk-page-section--compact,
.jk-internal-hero--compact + .wp-block-group > .jk-page-section--compact {
  padding-top: var(--wp--preset--spacing--40);
}

@media (min-width: 621px) {
  .jk-publications-hero .jk-page-lead {
    max-width: 60rem;
  }
}

.jk-research-chapter .jk-chapter-number {
  margin-bottom: var(--wp--preset--spacing--50);
}

.jk-research-chapter-gate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.9rem, 2vw, 1.4rem);
  align-items: center;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  color: var(--wp--preset--color--water);
}

.jk-research-chapter-gate-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.jk-research-chapter-gate-line {
  position: relative;
  display: block;
  height: 1px;
  background: color-mix(in srgb, var(--wp--preset--color--ink) 13%, transparent);
}

.jk-research-chapter-gate-line::before {
  position: absolute;
  top: -0.5px;
  left: 0;
  width: clamp(3.5rem, 7vw, 5.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--wp--preset--color--water), var(--jk-magenta));
  content: "";
}

.jk-research-chapter--compact .jk-chapter-number {
  margin-bottom: var(--wp--preset--spacing--40);
}

.jk-method-note {
  padding: var(--wp--preset--spacing--40);
  background: color-mix(in srgb, var(--wp--preset--color--water) 5%, transparent);
}

.jk-method-note > :last-child {
  margin-bottom: 0;
}

.jk-research-motion-stage {
  width: 100%;
  margin: 0;
  background: #fff;
}

.jk-research-media-viewport {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.jk-research-media-viewport::after {
  position: absolute;
  z-index: 1;
  inset: -1px;
  background:
    linear-gradient(90deg, #fff 0%, transparent 7%, transparent 93%, #fff 100%),
    linear-gradient(180deg, #fff 0%, transparent 7%, transparent 93%, #fff 100%);
  content: "";
  pointer-events: none;
}

.jk-research-media-viewport img,
.jk-research-media-viewport video {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  object-fit: contain;
}

.jk-research-media-viewport img,
.jk-research-media-viewport video {
  aspect-ratio: 4 / 3;
}

.jk-research-media-viewport--support img {
  aspect-ratio: 16 / 7;
}

.jk-research-hybrid-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
  isolation: isolate;
}

.jk-research-hybrid-visual::after {
  position: absolute;
  z-index: 3;
  inset: -1px;
  background:
    linear-gradient(90deg, #fff 0%, transparent 5%, transparent 95%, #fff 100%),
    linear-gradient(180deg, #fff 0%, transparent 5%, transparent 95%, #fff 100%);
  content: "";
  pointer-events: none;
}

.jk-research-hybrid-overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jk-research-domain-source {
  position: absolute;
  z-index: 1;
  left: 2%;
  display: block;
  width: 46%;
  height: 46%;
  object-fit: contain;
}

.jk-research-domain-source--fracture {
  top: 2%;
  filter: grayscale(0.18) saturate(0.62);
  opacity: 0.84;
}

.jk-research-domain-source--matrix {
  bottom: 2%;
  opacity: 0.96;
}

.jk-research-hybrid-overlay {
  z-index: 2;
}

.jk-research-hybrid-overlay--mobile {
  display: none;
}

.jk-research-domain-key {
  display: none;
}

.jk-research-representation-visual {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
}

.jk-research-representation-visual picture,
.jk-research-representation-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.jk-research-representation-visual img {
  object-fit: contain;
}

.jk-research-pathway-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.jk-research-pathway-panel {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 0.35rem;
  background: #fff;
}

.jk-research-pathway-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
}

.jk-research-pathway-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgb(255 255 255 / 0.88) 100%);
  content: "";
  pointer-events: none;
}

.jk-research-pathway-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jk-research-pathway-panel--fracture .jk-research-pathway-media img {
  object-fit: contain;
}

.jk-research-pathway-panel--conduit .jk-research-pathway-media img {
  object-position: 54% 70%;
}

.jk-research-pathway-direction {
  position: absolute;
  z-index: 1;
  right: 0.65rem;
  bottom: 0.55rem;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.3rem 0.5rem;
  color: var(--wp--preset--color--ink);
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 82%, transparent);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.9);
  font-family: var(--wp--preset--font-family--mono);
  font-size: clamp(0.56rem, 0.9vw, 0.67rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.jk-research-pathway-direction b {
  color: var(--jk-magenta);
  font-size: 1.2em;
}

.jk-research-pathway-panel--conduit .jk-research-pathway-direction b {
  color: var(--wp--preset--color--water);
}

.jk-research-pathway-copy {
  display: grid;
  gap: 0.32rem;
  padding: 0.85rem 0.9rem 1rem;
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-research-pathway-copy small {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jk-research-pathway-copy strong {
  color: var(--wp--preset--color--ink);
  font-size: clamp(0.82rem, 1.25vw, 0.98rem);
  line-height: 1.35;
}

.jk-research-pathway-copy span {
  color: var(--wp--preset--color--ink-soft);
  font-size: clamp(0.69rem, 1vw, 0.78rem);
  line-height: 1.45;
}

.jk-research-connected-pathway-stage {
  display: grid;
  grid-template-columns: minmax(6.45rem, 0.17fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.55rem clamp(0.15rem, 0.35vw, 0.3rem);
  align-items: center;
  width: 100%;
}

.jk-research-connected-pathway-stage .jk-research-connected-pathway-media {
  grid-column: 2;
  grid-row: 1;
}

.jk-research-connected-pathway-stage figcaption {
  grid-column: 2;
  grid-row: 2;
}

.jk-research-connected-pathway-stage .jk-research-scope-key {
  grid-column: 1;
  grid-row: 1 / span 2;
  grid-template-columns: 1fr;
  align-self: center;
  margin: 0;
}

.jk-research-connected-pathway-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
  isolation: isolate;
}

.jk-research-connected-pathway-media::after {
  position: absolute;
  z-index: 1;
  inset: -1px;
  background:
    linear-gradient(90deg, #fff 0%, transparent 6%, transparent 94%, #fff 100%),
    linear-gradient(180deg, #fff 0%, transparent 5%, transparent 94%, #fff 100%);
  content: "";
  pointer-events: none;
}

.jk-research-connected-pathway-media img {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  object-fit: contain;
}

.jk-research-pathway-scope-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.jk-research-pathway-zone {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jk-research-pathway-zone--fast {
  stroke: color-mix(in srgb, var(--jk-magenta) 12%, transparent);
  stroke-width: 105;
}

.jk-research-pathway-zone--diffuse {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 23%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 12%, transparent);
  stroke-width: 4;
}

.jk-research-pathway-flow-arrow--fast {
  fill: var(--jk-magenta);
  stroke: rgb(255 255 255 / 0.9);
  stroke-width: 4;
}

.jk-research-pathway-flow-arrow--diffuse {
  fill: var(--wp--preset--color--water);
  stroke: rgb(255 255 255 / 0.9);
  stroke-width: 2.5;
}

.jk-research-pathway-flow-arrow {
  paint-order: stroke fill;
  vector-effect: non-scaling-stroke;
}

@keyframes jk-research-diffuse-advance {
  0% {
    opacity: 0;
    transform: scaleY(0.78);
  }
  12% { opacity: 0.7; }
  76%, 90% {
    opacity: 1;
    transform: scaleY(1);
  }
  100% {
    opacity: 0;
    transform: scaleY(1);
  }
}

@keyframes jk-research-fast-advance {
  0% {
    opacity: 0;
    transform: scaleY(0.68);
  }
  10% { opacity: 0.78; }
  50%, 84% {
    opacity: 1;
    transform: scaleY(1);
  }
  100% {
    opacity: 0;
    transform: scaleY(1);
  }
}

@keyframes jk-research-flow-descend {
  0% {
    opacity: 0;
    transform: translateY(-14px);
  }
  18% { opacity: 0.92; }
  76% {
    opacity: 1;
    transform: translateY(14px);
  }
  100% {
    opacity: 0;
    transform: translateY(24px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .jk-research-pathway-zone--fast,
  .jk-research-pathway-zone--diffuse {
    transform-box: fill-box;
    transform-origin: center top;
  }

  .jk-research-pathway-zone--fast {
    animation: jk-research-fast-advance 4.2s ease-out infinite;
  }

  .jk-research-pathway-zone--diffuse {
    animation: jk-research-diffuse-advance 6.8s ease-out infinite;
  }

  .jk-research-pathway-flow-motion {
    transform-box: fill-box;
    transform-origin: center;
    animation: jk-research-flow-descend 2.55s ease-in-out infinite;
  }

  .jk-research-pathway-flow-motion--diffuse {
    animation-duration: 4.6s;
    animation-delay: 0.35s;
  }
}

.jk-research-connected-pathway-media .jk-research-pathway-direction {
  z-index: 2;
}

.jk-research-scope-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem clamp(0.8rem, 2vw, 1.4rem);
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.jk-research-scope-key li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
}

.jk-research-scope-key strong,
.jk-research-scope-key small {
  display: block;
}

.jk-research-scope-key strong {
  color: var(--wp--preset--color--ink);
  font-size: clamp(0.69rem, 1vw, 0.78rem);
  font-weight: 600;
  line-height: 1.25;
}

.jk-research-scope-key small {
  margin-top: 0.08rem;
  color: var(--wp--preset--color--ink-soft);
  font-size: clamp(0.62rem, 0.9vw, 0.7rem);
  line-height: 1.35;
}

.jk-research-pathway-direction--vadose {
  top: 15%;
  right: auto;
  bottom: auto;
  left: 46%;
  line-height: 1.08;
  text-align: center;
}

.jk-research-pathway-direction--diffuse {
  top: 20%;
  right: auto;
  bottom: auto;
  left: 64%;
  line-height: 1.08;
  text-align: center;
}

.jk-research-pathway-direction--diffuse b {
  color: var(--wp--preset--color--water);
}

.jk-research-pathway-direction--phreatic {
  right: 28%;
  bottom: 7%;
}

.jk-research-pathway-direction--phreatic b {
  color: var(--jk-magenta);
}

.jk-research-primary-placeholder {
  position: relative;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 23rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  overflow: hidden;
  align-content: end;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 70% 28%, color-mix(in srgb, var(--jk-magenta) 11%, transparent), transparent 23%),
    radial-gradient(circle at 36% 62%, color-mix(in srgb, var(--wp--preset--color--water-light) 28%, transparent), transparent 34%),
    linear-gradient(145deg, #fff 4%, color-mix(in srgb, var(--wp--preset--color--water-light) 9%, #fff) 54%, #fff 96%);
  box-shadow: inset 0 -1px color-mix(in srgb, var(--wp--preset--color--line) 78%, transparent);
}

.jk-research-primary-placeholder::before,
.jk-research-primary-placeholder::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.jk-research-primary-placeholder::before {
  inset: 8%;
  background-image:
    linear-gradient(31deg, transparent 49.7%, color-mix(in srgb, var(--wp--preset--color--line) 56%, transparent) 50%, transparent 50.3%),
    linear-gradient(148deg, transparent 49.7%, color-mix(in srgb, var(--wp--preset--color--line) 46%, transparent) 50%, transparent 50.3%);
  background-size: 4.8rem 3.5rem;
  opacity: 0.46;
}

.jk-research-primary-placeholder::after {
  top: 12%;
  right: 8%;
  bottom: 18%;
  left: 10%;
  border-bottom: 3px solid color-mix(in srgb, var(--wp--preset--color--water) 52%, transparent);
  border-left: 3px solid color-mix(in srgb, var(--jk-magenta) 50%, transparent);
  transform: skewX(-20deg) rotate(-5deg);
  transform-origin: bottom left;
}

.jk-research-primary-placeholder--sketch::after {
  border: 1px dashed color-mix(in srgb, var(--wp--preset--color--water) 52%, transparent);
  border-radius: 48% 36% 44% 32%;
  transform: rotate(-4deg);
}

.jk-research-primary-placeholder--hybrid::after {
  border-top: 2px solid color-mix(in srgb, var(--jk-magenta) 42%, transparent);
  border-right: 0;
  border-bottom-color: color-mix(in srgb, var(--wp--preset--color--water) 58%, transparent);
  border-left-color: color-mix(in srgb, var(--wp--preset--color--water) 32%, transparent);
  transform: skewX(-12deg) rotate(2deg);
}

.jk-research-primary-placeholder--transition {
  background:
    radial-gradient(circle at 24% 40%, color-mix(in srgb, var(--jk-magenta) 12%, transparent), transparent 19%),
    radial-gradient(circle at 72% 58%, color-mix(in srgb, var(--wp--preset--color--water-light) 32%, transparent), transparent 31%),
    linear-gradient(110deg, #fff 2%, color-mix(in srgb, var(--wp--preset--color--water-light) 10%, #fff) 54%, #fff 96%);
}

.jk-research-primary-placeholder--transition::before {
  inset: 9% 7%;
  background-image:
    linear-gradient(32deg, transparent 49.6%, color-mix(in srgb, var(--wp--preset--color--line) 62%, transparent) 50%, transparent 50.4%),
    linear-gradient(148deg, transparent 49.6%, color-mix(in srgb, var(--wp--preset--color--line) 48%, transparent) 50%, transparent 50.4%),
    radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--water) 42%, transparent) 0 2px, transparent 3px);
  background-position: left center, left center, right center;
  background-size: 4rem 3rem, 4rem 3rem, 4.4rem 4.4rem;
}

.jk-research-primary-placeholder--transition::after {
  top: 18%;
  right: 12%;
  bottom: 24%;
  left: 14%;
  border-top: 2px dashed color-mix(in srgb, var(--wp--preset--color--water) 48%, transparent);
  border-right: 3px solid color-mix(in srgb, var(--wp--preset--color--water) 44%, transparent);
  border-bottom: 3px solid color-mix(in srgb, var(--jk-magenta) 48%, transparent);
  border-left: 0;
  transform: skewX(-12deg) rotate(-2deg);
}

.jk-research-primary-placeholder--system {
  background:
    radial-gradient(ellipse at 72% 30%, color-mix(in srgb, var(--jk-magenta) 11%, transparent), transparent 22%),
    radial-gradient(ellipse at 55% 70%, color-mix(in srgb, var(--wp--preset--color--water-light) 34%, transparent), transparent 36%),
    linear-gradient(174deg, #fff 8%, color-mix(in srgb, var(--wp--preset--color--mineral-100) 38%, #fff) 42%, color-mix(in srgb, var(--wp--preset--color--water-light) 10%, #fff) 72%, #fff 96%);
}

.jk-research-primary-placeholder--system::before {
  inset: 9% 6%;
  background-image:
    linear-gradient(174deg, transparent 0 36%, color-mix(in srgb, var(--wp--preset--color--line) 55%, transparent) 36.4% 36.8%, transparent 37.2%),
    linear-gradient(168deg, transparent 0 57%, color-mix(in srgb, var(--wp--preset--color--water) 30%, transparent) 57.4% 57.8%, transparent 58.2%);
  background-size: 100% 100%;
}

.jk-research-primary-placeholder--system::after {
  top: 16%;
  right: 9%;
  bottom: 19%;
  left: 12%;
  border-top: 2px solid color-mix(in srgb, var(--jk-magenta) 44%, transparent);
  border-right: 0;
  border-bottom: 3px solid color-mix(in srgb, var(--wp--preset--color--water) 50%, transparent);
  border-left: 2px solid color-mix(in srgb, var(--wp--preset--color--water) 30%, transparent);
  transform: skewX(-18deg) rotate(1deg);
}

.jk-research-primary-placeholder > * {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.jk-research-primary-placeholder > span {
  margin-bottom: 0.55rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.jk-research-primary-placeholder > strong {
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.55rem, 3.3vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.jk-research-primary-placeholder > small {
  margin-top: 0.75rem;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.jk-research-motion-stage figcaption,
.jk-research-support-stage figcaption,
.jk-research-formulation-stage figcaption,
.jk-research-retention-stage figcaption {
  display: flex;
  gap: 0.55rem 0.85rem;
  flex-wrap: wrap;
  margin: 0;
  padding-top: 0.55rem;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.jk-research-motion-stage figcaption span,
.jk-research-support-stage figcaption span,
.jk-research-formulation-stage figcaption span,
.jk-research-retention-stage figcaption span {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-research-caption-title {
  display: inline-flex !important;
  gap: 0.42rem;
  align-items: center;
}

.jk-research-chapter-nav {
  position: sticky;
  z-index: 40;
  top: calc(var(--jk-header-compact-height) + 0.55rem);
  display: grid;
  width: min(calc(100% - 2 * var(--wp--preset--spacing--30)), var(--jk-research-page-width));
  max-width: var(--jk-research-page-width) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 2rem);
  margin: 0 auto;
  padding: 1.15rem 0 1.35rem;
  background: transparent;
  transition: padding 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.jk-research-chapter-nav::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: color-mix(in srgb, var(--wp--preset--color--ink) 13%, transparent);
  content: "";
}

.jk-research-chapter-nav.is-stuck {
  padding: 0.48rem clamp(0.75rem, 2vw, 1.5rem) 0.62rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1.2rem 1.8rem -1.6rem rgba(20, 32, 43, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.jk-research-chapter-nav a {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.35rem 0 0.7rem;
  color: var(--wp--preset--color--ink-soft);
  text-decoration: none;
  transition: color 180ms ease;
}

.jk-research-nav-number {
  padding-top: 0.08rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  transition: color 180ms ease;
}

.jk-research-nav-copy strong {
  display: block;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
}

.jk-research-nav-copy small {
  display: block;
  max-height: 3rem;
  margin-top: 0.32rem;
  overflow: hidden;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.86;
  transition: max-height 160ms ease, margin 160ms ease, opacity 140ms ease;
}

.jk-research-chapter-nav.is-stuck .jk-research-nav-copy small {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
}

.jk-research-chapter-nav.is-stuck .jk-research-nav-copy strong {
  font-size: 0.8rem;
}

.jk-research-chapter-nav.is-stuck a:not(:hover):not(:focus-visible):not([aria-current="location"]) {
  color: color-mix(in srgb, var(--wp--preset--color--ink-soft) 82%, var(--wp--preset--color--mineral-50));
}

.jk-research-chapter-nav.is-stuck a:not(:hover):not(:focus-visible):not([aria-current="location"]) .jk-research-nav-number {
  color: color-mix(in srgb, var(--wp--preset--color--water) 58%, var(--wp--preset--color--ink-soft));
}

.jk-research-chapter-nav a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(3.5rem, 7vw, 5.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--wp--preset--color--water), var(--jk-magenta));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--jk-ease);
}

.jk-research-chapter-nav a:hover,
.jk-research-chapter-nav a:focus-visible,
.jk-research-chapter-nav a[aria-current="location"] {
  color: var(--wp--preset--color--ink);
}

.jk-research-chapter-nav a:focus-visible::after,
.jk-research-chapter-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.jk-research-story {
  scroll-margin-top: calc(var(--jk-header-compact-height) + 5rem);
}

.jk-research-story-grid {
  align-items: flex-start !important;
}

.jk-research-story-grid > .wp-block-column {
  align-self: flex-start !important;
}

.jk-research-story--reverse .jk-research-copy {
  order: 2;
}

.jk-research-story--reverse .jk-research-media {
  order: 1;
}

.jk-research-story .jk-chapter-number {
  margin-bottom: var(--wp--preset--spacing--30);
}

.jk-research-media-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.4rem);
}

.jk-research-media-stack--application {
  gap: clamp(1.1rem, 2vw, 1.6rem);
}

.jk-research-system-intro {
  align-items: flex-start !important;
}

.jk-research-system-intro-copy {
  padding-top: clamp(2.15rem, 3.4vw, 2.8rem);
}

.jk-research-system-intro-copy > :first-child {
  margin-top: 0;
}

.jk-research-media-stack--system {
  margin-top: clamp(3.2rem, 6vw, 5.5rem);
}

.jk-research-system-figure {
  width: 100%;
}

.jk-research-system-canvas {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #fff;
}

.jk-research-system-canvas img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.jk-research-application--system {
  --jk-application-duration: 7s;
  --jk-system-stage-width: min(100%, 120vh);
  position: relative;
  display: flex;
  flex-direction: column;
}

.jk-research-application--system .jk-research-application-visual--system {
  order: 4;
  width: var(--jk-system-stage-width);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: visible;
  border: 0;
  background: transparent;
}

.jk-research-application--system .jk-research-application-visual--system::after {
  display: none;
}

.jk-research-application--system .jk-research-application-poster {
  opacity: 1 !important;
  object-fit: contain;
  object-position: center;
}

.jk-research-application--system .jk-research-application-progress {
  display: none;
}

.jk-research-lens-dock {
  position: absolute;
  z-index: 8;
  top: clamp(0.7rem, 1.5vw, 1.15rem);
  left: 50%;
  width: var(--jk-system-stage-width);
  transform: translateX(-50%);
  pointer-events: none;
}

.jk-research-lens-trigger {
  display: grid;
  width: min(15.75rem, calc(100% - 1.4rem));
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 0.08rem 0.7rem;
  align-items: center;
  box-sizing: border-box;
  margin-left: clamp(0.7rem, 1.5vw, 1.15rem);
  padding: 0.62rem 0.78rem 0.66rem;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 80%, #fff);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.45rem 1.15rem rgba(31, 56, 62, 0.1);
  color: var(--wp--preset--color--ink);
  cursor: pointer;
  pointer-events: auto;
  -webkit-backdrop-filter: blur(14px) saturate(118%);
  backdrop-filter: blur(14px) saturate(118%);
  text-align: left;
}

.jk-research-lens-trigger small {
  grid-column: 1;
  grid-row: 1;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-research-lens-trigger strong {
  grid-column: 1;
  grid-row: 2;
  overflow: hidden;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-research-application[data-jk-application-state="openkarst"] [data-jk-lens-current] {
  display: inline-block;
  width: 5.6rem;
  height: 1.55rem;
  background: transparent var(--jk-openkarst-logo-color) center / contain no-repeat;
  font-size: 0;
  line-height: 1;
}

.jk-research-lens-trigger-chevron {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--jk-magenta);
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 180ms var(--jk-ease);
}

.jk-research-application--system.is-lens-menu-open .jk-research-lens-trigger-chevron {
  transform: rotate(180deg);
}

.jk-research-application--system .jk-research-application-controls {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: clamp(0.7rem, 1.5vw, 1.15rem);
  display: none;
  width: min(15.75rem, calc(100% - 1.4rem));
  min-width: 0;
  grid-template-columns: 1fr;
  gap: 0.12rem;
  box-sizing: border-box;
  padding: 0.28rem;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 80%, #fff);
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.55rem 1.35rem rgba(31, 56, 62, 0.11);
  pointer-events: auto;
  -webkit-backdrop-filter: blur(18px) saturate(118%);
  backdrop-filter: blur(18px) saturate(118%);
}

.jk-research-application--system.is-lens-menu-open .jk-research-application-controls {
  display: grid;
}

.jk-research-application--system .jk-research-application-controls button {
  position: relative;
  display: grid;
  gap: 0;
  min-height: 3rem;
  align-content: center;
  justify-items: start;
  padding: 0.62rem 0.8rem 0.65rem 0.88rem;
  border: 0;
  border-radius: 0.52rem;
  background: transparent;
  text-align: left;
}

.jk-research-application--system .jk-research-application-controls button:hover,
.jk-research-application--system .jk-research-application-controls button:focus-visible {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 14%, #fff);
}

.jk-research-application--system .jk-research-application-controls button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 24%, #fff);
}

.jk-research-application--system .jk-research-application-controls button::after {
  top: 0.48rem;
  right: auto;
  bottom: 0.48rem;
  left: 0.18rem;
  width: 2px;
  height: auto;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--wp--preset--color--water), var(--jk-magenta));
  transform: scaleY(0);
  transform-origin: center;
}

.jk-research-application--system .jk-research-application-controls button[aria-pressed="true"]::after {
  transform: scaleY(1);
}

.jk-research-application--system .jk-research-application-controls small {
  display: block;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.jk-research-application--system .jk-research-application-controls strong {
  overflow: hidden;
  width: 100%;
  font-size: 0.75rem;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-research-subscene-controls {
  display: none;
  position: absolute;
  z-index: 7;
  bottom: clamp(0.75rem, 1.6vw, 1.2rem);
  left: 50%;
  width: auto;
  max-width: calc(var(--jk-system-stage-width) - 1.5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 0.3rem;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 80%, #fff);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.45rem 1.15rem rgba(31, 56, 62, 0.1);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
  backdrop-filter: blur(16px) saturate(118%);
}

.jk-research-application[data-jk-application-state="foundation"] [data-jk-subscene-controls="foundation"],
.jk-research-application[data-jk-application-state="response"] [data-jk-subscene-controls="response"],
.jk-research-application[data-jk-application-state="resources"] [data-jk-subscene-controls="resources"],
.jk-research-application[data-jk-application-state="vulnerability"] [data-jk-subscene-controls="vulnerability"] {
  display: grid;
}

.jk-research-subscene-controls > span {
  display: none;
}

.jk-research-subscene-controls > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.16rem;
}

.jk-research-subscene-controls button {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  justify-content: center;
  min-width: 0;
  padding: 0.48rem clamp(0.65rem, 1.4vw, 1rem) 0.52rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--wp--preset--color--ink-soft);
  text-align: left;
  cursor: pointer;
}

.jk-research-subscene-controls button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 30%, #fff);
  color: var(--wp--preset--color--ink);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--water) 28%, transparent);
}

.jk-research-subscene-controls button:hover,
.jk-research-subscene-controls button:focus-visible {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 14%, #fff);
  color: var(--wp--preset--color--ink);
}

.jk-research-subscene-controls button[aria-pressed="true"]:hover,
.jk-research-subscene-controls button[aria-pressed="true"]:focus-visible {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 30%, #fff);
}

.jk-research-subscene-controls button small {
  display: none;
}

.jk-research-subscene-controls button strong {
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-research-application-phases {
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.25rem, 0.8vw, 0.55rem);
  margin-top: clamp(0.9rem, 1.8vw, 1.35rem);
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.jk-research-application-phases span:nth-child(1) { grid-column: 1 / 3; }
.jk-research-application-phases span:nth-child(2) { grid-column: 3 / 5; }
.jk-research-application-phases span:nth-child(3) { grid-column: 5; }

.jk-research-application--system .jk-research-application-meta {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.jk-research-system-overlays {
  z-index: 3;
  overflow: visible;
}

.jk-research-system-overlays .jk-research-application-scene {
  transform: none;
  transform-origin: center;
}

.jk-research-application--system .jk-system-availability-heading,
.jk-research-application--system .jk-system-step-index,
.jk-research-application--system .jk-system-step-number,
.jk-research-application--system .jk-system-lens-step > .jk-system-kicker {
  display: none;
}

.jk-research-application[data-jk-application-state="foundation"] .jk-research-application-scene--foundation,
.jk-research-application[data-jk-application-state="resources"] .jk-research-application-scene--resources,
.jk-research-application[data-jk-application-state="vulnerability"] .jk-research-application-scene--vulnerability,
.jk-research-application[data-jk-application-state="response"] .jk-research-application-scene--response {
  opacity: 1;
  transform: none;
}

.jk-system-panel {
  fill: rgba(255, 255, 255, 0.9);
  stroke: color-mix(in srgb, var(--wp--preset--color--line) 78%, transparent);
  stroke-width: 1.5;
}

.jk-research-application--system .jk-system-panel,
.jk-research-application--system .jk-system-stat-pill {
  stroke: none;
}

.jk-system-kicker,
.jk-system-label,
.jk-system-chart-label,
.jk-system-compartment-bracket text {
  fill: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.jk-system-kicker {
  font-size: 18px;
}

.jk-system-label,
.jk-system-compartment-bracket text {
  font-size: 16px;
}

.jk-system-chart-label {
  fill: var(--wp--preset--color--ink-soft);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.jk-system-copy {
  fill: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: 21px;
  font-weight: 500;
}

.jk-system-value {
  fill: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: 58px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.jk-system-value--compact {
  font-size: 42px;
}

.jk-system-question {
  fill: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.jk-system-stat-pill {
  fill: rgba(255, 255, 255, 0.9);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 42%, transparent);
  stroke-width: 2;
}

.jk-system-foundation-chain circle {
  fill: rgba(255, 255, 255, 0.96);
  stroke: var(--wp--preset--color--water);
  stroke-width: 4;
}

.jk-system-foundation-chain circle.is-magenta {
  stroke: var(--jk-magenta);
}

.jk-system-foundation-chain path {
  fill: none;
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 65%, transparent);
  stroke-width: 3;
}

.jk-system-foundation-chain text,
.jk-system-signal-label,
.jk-system-refinement-name {
  fill: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.jk-system-refinement-name {
  fill: var(--wp--preset--color--water);
}

.jk-system-draw,
.jk-system-storage-boundary,
.jk-system-diffuse-paths path,
.jk-system-preferential-path,
.jk-system-chart-line,
.jk-system-vulnerability-link,
.jk-system-response-link,
.jk-system-network-edge,
.jk-system-process-rain line,
.jk-system-process-flow,
.jk-system-exchange-arrow,
.jk-system-vadose-activation,
.jk-system-phreatic-boundary,
.jk-system-phreatic-conduit,
.jk-system-phreatic-exchange,
.jk-system-phreatic-pulse,
.jk-system-process-response,
.jk-system-observation-line,
.jk-system-inference-link,
.jk-system-forecast-line,
.jk-system-travel-line,
.jk-system-protection-link,
.jk-system-flow-front {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.jk-system-draw--water {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 72%, transparent);
  stroke-width: 4;
}

.jk-system-compartment-bracket path {
  fill: none;
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 62%, transparent);
  stroke-width: 2;
}

.jk-system-anchor {
  fill: rgba(255, 255, 255, 0.88);
  stroke: var(--wp--preset--color--water);
  stroke-width: 4;
}

.jk-system-storage-field {
  fill: url(#jk-system-water-field);
  opacity: 0;
}

.jk-system-storage-field--subtle {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 16%, transparent);
}

.jk-system-storage-boundary {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 65%, transparent);
  stroke-width: 3;
  stroke-dasharray: 10 12;
}

.jk-system-storage-pockets circle {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 26%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 36%, transparent);
  stroke-width: 2;
  opacity: 0;
}

.jk-system-bar-track {
  fill: color-mix(in srgb, var(--wp--preset--color--line) 60%, transparent);
}

.jk-system-bar-value {
  fill: color-mix(in srgb, var(--wp--preset--color--water) 72%, transparent);
  transform: scaleX(0);
  transform-origin: 88px center;
}

.jk-system-leader {
  fill: none;
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 52%, transparent);
  stroke-width: 2;
  stroke-dasharray: 7 8;
}

.jk-system-leader--magenta {
  stroke: color-mix(in srgb, var(--jk-magenta) 64%, transparent);
}

.jk-system-label--magenta {
  fill: var(--jk-magenta);
}

.jk-system-chart-axis {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink) 30%, transparent);
  stroke-width: 1.5;
}

.jk-system-threshold {
  stroke: color-mix(in srgb, var(--jk-magenta) 48%, transparent);
  stroke-width: 2;
  stroke-dasharray: 8 7;
}

.jk-system-rain-bars rect {
  fill: color-mix(in srgb, var(--wp--preset--color--water) 48%, transparent);
  transform: scaleY(0);
  transform-origin: center 238px;
}

.jk-system-rain-bars .is-extreme {
  fill: color-mix(in srgb, var(--jk-magenta) 66%, transparent);
}

.jk-system-diffuse-paths path {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 62%, transparent);
  stroke-width: 5;
  stroke-dasharray: 10 10;
}

.jk-system-preferential-path {
  stroke: color-mix(in srgb, var(--jk-magenta) 82%, transparent);
  stroke-width: 7;
}

.jk-system-chart-area {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 28%, transparent);
}

.jk-system-storage-pulse-area {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 34%, transparent);
  opacity: 0;
}

.jk-system-chart-line {
  stroke: var(--wp--preset--color--water);
  stroke-width: 4;
}

.jk-system-chart-line--muted {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 42%, transparent);
  stroke-dasharray: 10 8;
}

.jk-system-chart-line--magenta {
  stroke: var(--jk-magenta);
}

.jk-system-chart-line--temperature {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 58%, var(--wp--preset--color--ink-soft));
}

.jk-system-rain-bars--availability rect {
  transform-origin: center 174px;
}

.jk-system-management-line {
  stroke-width: 2;
  stroke-dasharray: 7 6;
}

.jk-system-management-line--green {
  stroke: #4e9969;
}

.jk-system-management-line--red {
  stroke: #cf4258;
}

.jk-system-scenario-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-width: 4;
}

.jk-system-scenario-line--adaptive {
  stroke: var(--wp--preset--color--water);
}

.jk-system-scenario-line--baseline {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 55%, var(--wp--preset--color--ink-soft));
}

.jk-system-scenario-line--stress {
  stroke: var(--jk-magenta);
}

.jk-system-scenario-label {
  fill: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jk-system-availability-heading,
.jk-system-lens-step text {
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.94);
  stroke-linejoin: round;
  stroke-width: 5px;
}

.jk-system-lens-step {
  opacity: 0;
  transition: opacity 480ms var(--jk-ease);
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-lens-step--forcing,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-lens-step--exchange,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation,
.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals,
.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-lens-step--properties,
.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="forecast"] .jk-system-lens-step--forecast,
.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-lens-step--storage,
.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-lens-step--event,
.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="management"] .jk-system-lens-step--management,
.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="sources"] .jk-system-lens-step--sources,
.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-lens-step--travel,
.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="protection"] .jk-system-lens-step--protection {
  opacity: 1;
}

.jk-system-focus-veil {
  fill: #fff;
  opacity: 0.52;
}

.jk-system-annotation-wash {
  fill: rgba(255, 255, 255, 0.8);
  filter: url(#jk-system-wash-blur);
}

.jk-system-step-index {
  fill: rgba(255, 255, 255, 0.92);
  stroke: var(--wp--preset--color--water);
  stroke-width: 3;
}

.jk-system-step-number {
  fill: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jk-system-storage-memory-line,
.jk-system-event-response,
.jk-system-causal-link,
.jk-system-event-rain line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.jk-system-storage-memory-line {
  stroke: var(--wp--preset--color--water);
  stroke-width: 4;
}

.jk-system-event-rain line {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 66%, transparent);
  stroke-width: 4;
}

.jk-system-event-rain line.is-extreme {
  stroke: var(--jk-magenta);
  stroke-width: 6;
}

.jk-system-event-response {
  stroke-width: 4;
}

.jk-system-event-response--effective {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 46%, transparent);
  stroke-dasharray: 10 8;
}

.jk-system-event-response--fast {
  stroke: var(--jk-magenta);
}

.jk-system-event-response--delayed {
  stroke: var(--wp--preset--color--water);
}

.jk-system-event-anchor {
  fill: rgba(255, 255, 255, 0.88);
  stroke: var(--jk-magenta);
  stroke-width: 4;
}

.jk-system-event-ripple {
  fill: none;
  stroke: color-mix(in srgb, var(--jk-magenta) 62%, transparent);
  stroke-width: 3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-system-causal-link {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 72%, transparent);
  stroke-width: 3;
}

.jk-system-signal-bars rect {
  fill: color-mix(in srgb, var(--wp--preset--color--water) 48%, transparent);
  transform: scaleY(0);
  transform-origin: center 184px;
}

.jk-system-signal-bars rect.is-extreme {
  fill: color-mix(in srgb, var(--jk-magenta) 64%, transparent);
}

.jk-system-uncertainty-band {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 30%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 24%, transparent);
  stroke-width: 1.5;
  opacity: 0;
}

.jk-system-uncertainty-band--wide {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 20%, transparent);
}

.jk-system-uncertainty-band--narrow {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 42%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 40%, transparent);
}

.jk-system-response-link {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 68%, transparent);
  stroke-width: 4;
}

.jk-system-process-rain line {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 68%, transparent);
  stroke-width: 4;
}

.jk-system-process-rain line.is-extreme {
  stroke: var(--jk-magenta);
  stroke-width: 6;
}

.jk-system-process-flow,
.jk-system-exchange-arrow,
.jk-system-vadose-activation,
.jk-system-phreatic-boundary,
.jk-system-phreatic-conduit,
.jk-system-phreatic-exchange,
.jk-system-phreatic-pulse,
.jk-system-process-response,
.jk-system-observation-line,
.jk-system-inference-link,
.jk-system-forecast-line,
.jk-system-travel-line,
.jk-system-protection-link,
.jk-system-flow-front {
  stroke: var(--wp--preset--color--water);
  stroke-width: 4;
}

.jk-system-process-flow--magenta,
.jk-system-process-response,
.jk-system-protection-link {
  stroke: var(--jk-magenta);
}

.jk-system-exchange-arrow,
.jk-system-inference-link {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 70%, transparent);
  stroke-width: 3;
}

.jk-system-process-scaffold {
  opacity: 0.28;
}

.jk-system-process-scaffold path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jk-system-process-scaffold-water-table {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 48%, transparent);
  stroke-width: 2.5;
  stroke-dasharray: 9 10;
}

.jk-system-process-scaffold-transfer {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 56%, transparent);
  stroke-width: 3;
  stroke-dasharray: 8 10;
}

.jk-system-process-scaffold circle {
  fill: rgba(255, 255, 255, 0.86);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 58%, transparent);
  stroke-width: 3;
}

.jk-system-vadose-activation {
  stroke: var(--jk-magenta);
  stroke-width: 6;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.96));
}

.jk-system-phreatic-field {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 24%, transparent);
  opacity: 0;
}

.jk-system-phreatic-boundary {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 58%, transparent);
  stroke-width: 3;
  stroke-dasharray: 0.025 0.018;
}

.jk-system-phreatic-conduit {
  stroke: var(--wp--preset--color--water);
  stroke-width: 8;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.98));
}

.jk-system-phreatic-exchange {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 76%, transparent);
  stroke-width: 3.5;
}

.jk-system-phreatic-pulse {
  stroke: var(--jk-magenta);
  stroke-width: 4;
  stroke-dasharray: 0.11 0.075;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.98));
}

.jk-system-phreatic-anchor {
  fill: rgba(255, 255, 255, 0.94);
  stroke: var(--jk-magenta);
  stroke-width: 5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-system-matrix-store {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 32%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 42%, transparent);
  stroke-width: 3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-system-threshold-node {
  fill: rgba(255, 255, 255, 0.94);
  stroke: var(--jk-magenta);
  stroke-width: 5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-system-observation-line--temperature {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 54%, var(--wp--preset--color--ink-soft));
}

.jk-system-observation-line--solute {
  stroke: var(--jk-magenta);
}

.jk-system-inference-node {
  fill: rgba(255, 255, 255, 0.88);
  stroke: var(--wp--preset--color--water);
  stroke-width: 4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-system-inference-node.is-magenta {
  stroke: var(--jk-magenta);
}

.jk-system-forecast-line {
  stroke-width: 5;
}

.jk-system-vulnerability-zones path {
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 3;
  opacity: 0;
}

.jk-system-vulnerability-zones .is-low {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 28%, transparent);
}

.jk-system-vulnerability-zones .is-medium {
  fill: color-mix(in srgb, var(--wp--preset--color--water) 24%, transparent);
}

.jk-system-vulnerability-zones .is-high {
  fill: color-mix(in srgb, var(--jk-magenta) 24%, transparent);
}

.jk-system-vulnerability-link {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 52%, transparent);
  stroke-width: 3;
  stroke-dasharray: 8 9;
}

.jk-system-vulnerability-link.is-high {
  stroke: color-mix(in srgb, var(--jk-magenta) 68%, transparent);
}

.jk-system-source-marker {
  fill: rgba(255, 255, 255, 0.96);
  stroke: var(--wp--preset--color--water);
  stroke-width: 4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-system-source-marker.is-medium {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 38%, #fff);
}

.jk-system-source-marker.is-high {
  stroke: var(--jk-magenta);
  stroke-width: 5;
}

.jk-system-travel-line--rapid {
  stroke: var(--jk-magenta);
  stroke-width: 5;
}

.jk-system-travel-line--medium {
  stroke: var(--wp--preset--color--water);
}

.jk-system-travel-line--slow {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 46%, transparent);
  stroke-dasharray: 10 8;
}

.jk-system-protection-zone {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 4;
  opacity: 0;
}

.jk-system-protection-zone.is-monitor {
  fill: color-mix(in srgb, var(--wp--preset--color--water) 22%, transparent);
}

.jk-system-protection-zone.is-control {
  fill: color-mix(in srgb, var(--jk-magenta) 22%, transparent);
}

.jk-system-network-edge {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 88%, #fff);
  stroke-width: 5;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.96));
}

.jk-system-network-edge--magenta {
  stroke: var(--jk-magenta);
  stroke-width: 6;
}

.jk-system-network--context .jk-system-network-edge {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 38%, #fff);
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  filter: none;
}

.jk-system-flow-front {
  stroke: var(--wp--preset--color--water);
  stroke-width: 7;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.96));
}

.jk-system-flow-front--branch {
  stroke: color-mix(in srgb, var(--jk-magenta) 76%, var(--wp--preset--color--water));
  stroke-width: 5;
}

.jk-system-transport-pulse {
  fill: rgba(255, 255, 255, 0.94);
  stroke: var(--jk-magenta);
  stroke-width: 5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-system-network-nodes circle {
  fill: #fff;
  stroke: var(--wp--preset--color--water);
  stroke-width: 4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

/* Section 03 scientific overlays: each motion is a single explanatory pass
   triggered by scene selection. The complete information remains visible when
   animation is unavailable or reduced. */
.jk-system-infiltration-arrow,
.jk-system-surface-routing,
.jk-system-source-infiltration,
.jk-system-vadose-path,
.jk-system-bidirectional-exchange,
.jk-system-phreatic-conduit-branch,
.jk-system-storage-release,
.jk-system-fast-transfer,
.jk-system-observation-link,
.jk-system-joint-link,
.jk-system-confidence-arrow,
.jk-system-domain-input,
.jk-system-domain-link,
.jk-system-pressure-front,
.jk-system-pressure-rise,
.jk-system-arrival-curve {
  fill: none;
  stroke: var(--wp--preset--color--water);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.jk-system-infiltration-arrow.is-focused,
.jk-system-source-infiltration.is-high,
.jk-system-vadose-path.is-primary,
.jk-system-fast-transfer,
.jk-system-joint-link.is-magenta,
.jk-system-confidence-arrow,
.jk-system-domain-input.is-focused,
.jk-system-pressure-front,
.jk-system-pressure-rise,
.jk-system-arrival-curve {
  stroke: var(--jk-magenta);
}

.jk-system-infiltration-arrow.is-focused,
.jk-system-source-infiltration.is-high,
.jk-system-vadose-path.is-primary,
.jk-system-fast-transfer {
  stroke-width: 6;
}

.jk-system-surface-routing,
.jk-system-bidirectional-exchange,
.jk-system-domain-link {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 72%, transparent);
  stroke-width: 3;
}

.jk-system-recharge-point,
.jk-system-observation-node,
.jk-system-monitor-node,
.jk-system-domain-node {
  fill: rgba(255, 255, 255, 0.94);
  stroke: var(--wp--preset--color--water);
  stroke-width: 4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-system-recharge-point {
  stroke: var(--jk-magenta);
}

.jk-system-observation-event {
  stroke: color-mix(in srgb, var(--jk-magenta) 56%, transparent);
  stroke-width: 2;
  stroke-dasharray: 7 8;
}

.jk-system-vadose-path:not(.is-primary) {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 78%, transparent);
}

.jk-system-phreatic-conduit-branch {
  stroke-width: 5;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.98));
}

.jk-system-vadose-store-field,
.jk-system-phreatic-store-field {
  opacity: 0;
}

.jk-system-vadose-store-field {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 28%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 34%, transparent);
  stroke-width: 2;
}

.jk-system-phreatic-store-field {
  fill: color-mix(in srgb, var(--wp--preset--color--water) 20%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 40%, transparent);
  stroke-width: 2;
}

.jk-system-storage-release {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 62%, transparent);
  stroke-width: 4;
  stroke-dasharray: 0.08 0.05;
}

.jk-system-event-response--multidomain {
  stroke: var(--jk-magenta);
  stroke-width: 5;
}

.jk-system-chart-label--magenta {
  fill: var(--jk-magenta);
}

.jk-system-head-scenario,
.jk-system-discharge-scenario {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.jk-system-head-scenario.is-adaptive,
.jk-system-discharge-scenario.is-adaptive {
  stroke: var(--wp--preset--color--water);
}

.jk-system-discharge-scenario.is-baseline {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 56%, var(--wp--preset--color--ink-soft));
}

.jk-system-head-scenario.is-stress,
.jk-system-discharge-scenario.is-stress {
  stroke: var(--jk-magenta);
}

.jk-system-observation-link {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 62%, transparent);
  stroke-width: 3;
}

.jk-system-joint-inputs circle,
.jk-system-joint-core {
  fill: rgba(255, 255, 255, 0.92);
  stroke: var(--wp--preset--color--water);
  stroke-width: 4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-system-joint-inputs circle:last-of-type,
.jk-system-joint-core {
  stroke: var(--jk-magenta);
}

.jk-system-property-halo {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 32%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 44%, transparent);
  stroke-width: 3;
  opacity: 0;
}

.jk-system-property-halo.is-magenta {
  fill: color-mix(in srgb, var(--jk-magenta) 12%, transparent);
  stroke: color-mix(in srgb, var(--jk-magenta) 58%, transparent);
}

.jk-system-forecast-line.is-wide {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 56%, var(--wp--preset--color--ink-soft));
}

.jk-system-source-infiltration:not(.is-high) {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 56%, transparent);
  stroke-dasharray: 0.08 0.05;
}

.jk-system-monitor-link {
  fill: none;
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 48%, transparent);
  stroke-width: 2.5;
  stroke-dasharray: 8 9;
}

.jk-system-domain-node {
  fill: color-mix(in srgb, #fff 88%, var(--wp--preset--color--water-light));
}

.jk-system-domain-input {
  stroke-width: 5;
}

.jk-system-pressure-front {
  stroke-width: 9;
  opacity: 0.82;
}

.jk-system-pressure-rise {
  stroke-width: 6;
}

.jk-system-head-envelope {
  fill: none;
  stroke: color-mix(in srgb, var(--jk-magenta) 44%, transparent);
  stroke-width: 3;
  stroke-dasharray: 10 9;
}

.jk-system-flood-pulse {
  fill: color-mix(in srgb, var(--jk-magenta) 16%, transparent);
  stroke: var(--jk-magenta);
  stroke-width: 4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

/* Explanatory data curves are static-first: motion emphasizes them but never
   determines whether the scientific information is visible. */
.jk-system-storage-memory-line,
.jk-system-event-response,
.jk-system-scenario-line,
.jk-system-process-response,
.jk-system-observation-line,
.jk-system-forecast-line,
.jk-system-travel-line,
.jk-system-head-scenario,
.jk-system-discharge-scenario,
.jk-system-arrival-curve {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.96));
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-process-rain line,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-process-flow,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-infiltration-arrow,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-surface-routing {
  animation: jk-system-draw 1.05s var(--jk-ease) 100ms forwards;
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-recharge-point {
  animation: jk-system-node-in 480ms var(--jk-ease) 640ms forwards;
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-storage-boundary,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-diffuse-paths path,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-exchange-arrow,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-vadose-activation,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-vadose-path,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-bidirectional-exchange {
  animation: jk-system-draw 1.05s var(--jk-ease) 140ms forwards;
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-diffuse-paths path {
  animation-duration: 1.65s;
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-storage-field {
  animation: jk-system-field-in 680ms var(--jk-ease) 60ms forwards;
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-matrix-store {
  animation: jk-system-node-in 560ms var(--jk-ease) 360ms forwards;
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-matrix-store + .jk-system-matrix-store {
  animation-delay: 500ms;
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-field {
  animation: jk-system-field-in 680ms var(--jk-ease) 60ms forwards;
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-boundary,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-conduit,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-exchange,
.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-conduit-branch {
  animation: jk-system-draw 1.1s var(--jk-ease) 120ms forwards;
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-pulse {
  animation: jk-system-draw 1.05s var(--jk-ease) 360ms forwards;
}

.jk-research-application[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-anchor {
  animation: jk-system-node-in 460ms var(--jk-ease) 700ms forwards;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-storage-field {
  animation: jk-system-field-in 680ms var(--jk-ease) 80ms forwards;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-vadose-store-field,
.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-phreatic-store-field {
  animation: jk-system-field-in 680ms var(--jk-ease) 80ms forwards;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-phreatic-store-field {
  animation-delay: 220ms;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-storage-release,
.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-fast-transfer {
  animation: jk-system-draw 1.2s var(--jk-ease) 360ms forwards;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-storage-boundary {
  animation: jk-system-draw 1.05s var(--jk-ease) 160ms forwards;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-storage-memory-line {
  animation: jk-system-line-emphasis 780ms var(--jk-ease) 260ms both;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-storage-pulse-area {
  animation: jk-system-field-in 650ms var(--jk-ease) 280ms forwards;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-event-rain line,
.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-diffuse-paths path,
.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-preferential-path {
  animation: jk-system-draw 1.15s var(--jk-ease) 90ms forwards;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-event-response {
  animation: jk-system-line-emphasis 780ms var(--jk-ease) 260ms both;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-event-ripple {
  animation: jk-system-ripple 820ms var(--jk-ease) 480ms forwards;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="management"] .jk-system-scenario-line {
  animation: jk-system-line-emphasis 820ms var(--jk-ease) 120ms both;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="management"] .jk-system-head-scenario,
.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="management"] .jk-system-discharge-scenario {
  animation: jk-system-line-emphasis 820ms var(--jk-ease) 120ms both;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="management"] .jk-system-monitor-node {
  animation: jk-system-node-in 460ms var(--jk-ease) 220ms forwards;
}

.jk-research-application[data-jk-application-state="resources"][data-jk-scene-step="management"] .jk-system-causal-link {
  animation: jk-system-draw 850ms var(--jk-ease) 300ms forwards;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-line {
  animation: jk-system-line-emphasis 850ms var(--jk-ease) 100ms both;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-line--temperature { animation-delay: 200ms; }
.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-line--solute { animation-delay: 300ms; }

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-response-link {
  animation: jk-system-draw 1.05s var(--jk-ease) 220ms forwards;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-link {
  animation: jk-system-draw 1.05s var(--jk-ease) 180ms forwards;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-node {
  animation: jk-system-node-in 460ms var(--jk-ease) 500ms forwards;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-inference-link {
  animation: jk-system-draw 1.05s var(--jk-ease) 120ms forwards;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-joint-link {
  animation: jk-system-draw 1.05s var(--jk-ease) 120ms forwards;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-joint-inputs circle,
.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-joint-core {
  animation: jk-system-node-in 520ms var(--jk-ease) 300ms forwards;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-property-halo {
  animation: jk-system-field-in 520ms var(--jk-ease) 620ms forwards;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-inference-node {
  animation: jk-system-node-in 520ms var(--jk-ease) 360ms forwards;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-inference-node + .jk-system-inference-node { animation-delay: 470ms; }
.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-inference-node.is-magenta { animation-delay: 580ms; }

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="forecast"] .jk-system-uncertainty-band--wide {
  animation: jk-system-field-in 520ms var(--jk-ease) 80ms forwards;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="forecast"] .jk-system-uncertainty-band--narrow {
  animation: jk-system-field-in 520ms var(--jk-ease) 360ms forwards;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="forecast"] .jk-system-forecast-line {
  animation: jk-system-line-emphasis 820ms var(--jk-ease) 520ms both;
}

.jk-research-application[data-jk-application-state="response"][data-jk-scene-step="forecast"] .jk-system-confidence-arrow {
  animation: jk-system-draw 720ms var(--jk-ease) 420ms forwards;
}

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="sources"] .jk-system-vulnerability-zones path {
  animation: jk-system-field-in 620ms var(--jk-ease) forwards;
}

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="sources"] .jk-system-vulnerability-zones path:nth-child(2) { animation-delay: 120ms; }
.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="sources"] .jk-system-vulnerability-zones path:nth-child(3) { animation-delay: 240ms; }

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="sources"] .jk-system-source-marker {
  animation: jk-system-node-in 460ms var(--jk-ease) 320ms forwards;
}

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="sources"] .jk-system-source-infiltration {
  animation: jk-system-draw 1.05s var(--jk-ease) 420ms forwards;
}

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="sources"] .jk-system-source-marker.is-medium { animation-delay: 430ms; }
.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="sources"] .jk-system-source-marker.is-high { animation-delay: 540ms; }

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link,
.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-preferential-path {
  animation: jk-system-draw 1.15s var(--jk-ease) 100ms forwards;
}

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-line {
  animation: jk-system-line-emphasis 850ms var(--jk-ease) 260ms both;
}

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-line--medium { animation-delay: 360ms; }
.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-line--slow { animation-delay: 460ms; }

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="protection"] .jk-system-protection-zone {
  animation: jk-system-field-in 650ms var(--jk-ease) 80ms forwards;
}

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="protection"] .jk-system-protection-zone.is-control {
  animation-delay: 240ms;
}

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="protection"] .jk-system-protection-link {
  animation: jk-system-draw 1.05s var(--jk-ease) 360ms forwards;
}

.jk-research-application[data-jk-application-state="vulnerability"][data-jk-scene-step="protection"] .jk-system-monitor-node {
  animation: jk-system-node-in 460ms var(--jk-ease) 600ms forwards;
}

@keyframes jk-system-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes jk-system-field-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes jk-system-line-emphasis {
  from { opacity: 0.32; }
  to { opacity: 1; }
}

@keyframes jk-system-pocket-in {
  from { opacity: 0; transform: scale(0.72); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes jk-system-bar-in {
  to { transform: scaleX(1); }
}

@keyframes jk-system-rain-in {
  to { transform: scaleY(1); }
}

@keyframes jk-system-node-in {
  from { opacity: 0; transform: scale(0.55); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes jk-system-ripple {
  0% { opacity: 0; transform: scale(0.7); }
  35% { opacity: 0.8; }
  100% { opacity: 0; transform: scale(2.4); }
}

.jk-research-application.is-motion-disabled .jk-system-lens-step,
.jk-research-application.is-motion-disabled .jk-system-lens-step * {
  animation: none !important;
}

.jk-research-application.is-motion-disabled .jk-system-storage-field,
.jk-research-application.is-motion-disabled .jk-system-storage-pulse-area,
.jk-research-application.is-motion-disabled .jk-system-matrix-store,
.jk-research-application.is-motion-disabled .jk-system-threshold-node,
.jk-research-application.is-motion-disabled .jk-system-inference-node,
.jk-research-application.is-motion-disabled .jk-system-uncertainty-band,
.jk-research-application.is-motion-disabled .jk-system-vulnerability-zones path,
.jk-research-application.is-motion-disabled .jk-system-source-marker,
.jk-research-application.is-motion-disabled .jk-system-protection-zone,
.jk-research-application.is-motion-disabled .jk-system-network-nodes circle,
.jk-research-application.is-motion-disabled .jk-system-transport-pulse,
.jk-research-application.is-motion-disabled .jk-system-phreatic-field,
.jk-research-application.is-motion-disabled .jk-system-phreatic-anchor,
.jk-research-application.is-motion-disabled .jk-system-recharge-point,
.jk-research-application.is-motion-disabled .jk-system-observation-node,
.jk-research-application.is-motion-disabled .jk-system-monitor-node,
.jk-research-application.is-motion-disabled .jk-system-domain-node,
.jk-research-application.is-motion-disabled .jk-system-vadose-store-field,
.jk-research-application.is-motion-disabled .jk-system-phreatic-store-field,
.jk-research-application.is-motion-disabled .jk-system-joint-inputs circle,
.jk-research-application.is-motion-disabled .jk-system-joint-core,
.jk-research-application.is-motion-disabled .jk-system-property-halo,
.jk-research-application.is-motion-disabled .jk-system-flood-pulse {
  opacity: 1;
  transform: scale(1);
}

.jk-research-application.is-motion-disabled .jk-system-lens-step [pathLength="1"] {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application .jk-system-lens-step,
  .jk-research-application .jk-system-lens-step * {
    animation: none !important;
  }

  .jk-research-application .jk-system-lens-step [pathLength="1"] {
    stroke-dashoffset: 0;
  }

  .jk-research-application .jk-system-storage-field,
  .jk-research-application .jk-system-storage-pulse-area,
  .jk-research-application .jk-system-matrix-store,
  .jk-research-application .jk-system-threshold-node,
  .jk-research-application .jk-system-inference-node,
  .jk-research-application .jk-system-uncertainty-band,
  .jk-research-application .jk-system-vulnerability-zones path,
  .jk-research-application .jk-system-source-marker,
  .jk-research-application .jk-system-protection-zone,
  .jk-research-application .jk-system-network-nodes circle,
  .jk-research-application .jk-system-transport-pulse,
  .jk-research-application .jk-system-phreatic-field,
  .jk-research-application .jk-system-phreatic-anchor,
  .jk-research-application .jk-system-recharge-point,
  .jk-research-application .jk-system-observation-node,
  .jk-research-application .jk-system-monitor-node,
  .jk-research-application .jk-system-domain-node,
  .jk-research-application .jk-system-vadose-store-field,
  .jk-research-application .jk-system-phreatic-store-field,
  .jk-research-application .jk-system-joint-inputs circle,
  .jk-research-application .jk-system-joint-core,
  .jk-research-application .jk-system-property-halo,
  .jk-research-application .jk-system-flood-pulse {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 781px) {
  .jk-research-application--system {
    --jk-system-stage-width: 100%;
  }

  .jk-research-system-intro-copy {
    padding-top: 0;
  }

  .jk-research-media-stack--system {
    margin-top: clamp(2.2rem, 8vw, 3.5rem);
  }

  .jk-research-application--system .jk-research-application-controls strong {
    font-size: 0.66rem;
  }

  .jk-research-subscene-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .jk-research-application-visual--system {
    aspect-ratio: 16 / 9;
  }

  .jk-research-system-overlays .jk-system-panel,
  .jk-research-system-overlays .jk-system-kicker,
  .jk-research-system-overlays .jk-system-copy,
  .jk-research-system-overlays .jk-system-value,
  .jk-research-system-overlays .jk-system-question,
  .jk-research-system-overlays .jk-system-chart-label,
  .jk-research-system-overlays .jk-system-label,
  .jk-research-system-overlays .jk-system-foundation-chain,
  .jk-research-system-overlays .jk-system-stat-pill,
  .jk-research-system-overlays .jk-system-signal-label,
  .jk-research-system-overlays .jk-system-signal-bars,
  .jk-research-system-overlays .jk-system-uncertainty-band,
  .jk-research-system-overlays .jk-system-refinement-name,
  .jk-research-system-overlays .jk-system-compartment-bracket,
  .jk-research-system-overlays .jk-system-chart-axis,
  .jk-research-system-overlays .jk-system-threshold,
  .jk-research-system-overlays .jk-system-rain-bars,
  .jk-research-system-overlays .jk-system-bar-track,
  .jk-research-system-overlays .jk-system-bar-value,
  .jk-research-system-overlays .jk-system-mini-chart,
  .jk-research-system-overlays .jk-system-storage-pulse-area,
  .jk-research-system-overlays .jk-system-management-line,
  .jk-research-system-overlays .jk-system-scenario-line,
  .jk-research-system-overlays .jk-system-scenario-label,
  .jk-research-system-overlays .jk-system-step-index,
  .jk-research-system-overlays .jk-system-step-number,
  .jk-research-system-overlays .jk-system-storage-memory-line,
  .jk-research-system-overlays .jk-system-event-response,
  .jk-research-system-overlays .jk-system-event-rain,
  .jk-research-system-overlays .jk-system-event-anchor,
  .jk-research-system-overlays .jk-system-event-ripple,
  .jk-research-system-overlays .jk-system-causal-link,
  .jk-research-system-overlays .jk-system-process-rain,
  .jk-research-system-overlays .jk-system-process-flow,
  .jk-research-system-overlays .jk-system-exchange-arrow,
  .jk-research-system-overlays .jk-system-process-scaffold,
  .jk-research-system-overlays .jk-system-vadose-activation,
  .jk-research-system-overlays .jk-system-phreatic-field,
  .jk-research-system-overlays .jk-system-phreatic-boundary,
  .jk-research-system-overlays .jk-system-phreatic-conduit,
  .jk-research-system-overlays .jk-system-phreatic-exchange,
  .jk-research-system-overlays .jk-system-phreatic-pulse,
  .jk-research-system-overlays .jk-system-phreatic-anchor,
  .jk-research-system-overlays .jk-system-infiltration-arrow,
  .jk-research-system-overlays .jk-system-surface-routing,
  .jk-research-system-overlays .jk-system-recharge-point,
  .jk-research-system-overlays .jk-system-vadose-path,
  .jk-research-system-overlays .jk-system-bidirectional-exchange,
  .jk-research-system-overlays .jk-system-phreatic-conduit-branch,
  .jk-research-system-overlays .jk-system-vadose-store-field,
  .jk-research-system-overlays .jk-system-phreatic-store-field,
  .jk-research-system-overlays .jk-system-storage-release,
  .jk-research-system-overlays .jk-system-fast-transfer,
  .jk-research-system-overlays .jk-system-head-scenario,
  .jk-research-system-overlays .jk-system-discharge-scenario,
  .jk-research-system-overlays .jk-system-monitor-node,
  .jk-research-system-overlays .jk-system-observation-node,
  .jk-research-system-overlays .jk-system-observation-link,
  .jk-research-system-overlays .jk-system-observation-event,
  .jk-research-system-overlays .jk-system-joint-inputs,
  .jk-research-system-overlays .jk-system-joint-core,
  .jk-research-system-overlays .jk-system-joint-link,
  .jk-research-system-overlays .jk-system-property-halo,
  .jk-research-system-overlays .jk-system-confidence-arrow,
  .jk-research-system-overlays .jk-system-source-infiltration,
  .jk-research-system-overlays .jk-system-monitor-link,
  .jk-research-system-overlays .jk-system-domain-input,
  .jk-research-system-overlays .jk-system-domain-node,
  .jk-research-system-overlays .jk-system-domain-link,
  .jk-research-system-overlays .jk-system-pressure-front,
  .jk-research-system-overlays .jk-system-pressure-rise,
  .jk-research-system-overlays .jk-system-head-envelope,
  .jk-research-system-overlays .jk-system-flood-pulse,
  .jk-research-system-overlays .jk-system-arrival-curve,
  .jk-research-system-overlays .jk-system-matrix-store,
  .jk-research-system-overlays .jk-system-threshold-node,
  .jk-research-system-overlays .jk-system-process-response,
  .jk-research-system-overlays .jk-system-observation-line,
  .jk-research-system-overlays .jk-system-inference-node,
  .jk-research-system-overlays .jk-system-inference-link,
  .jk-research-system-overlays .jk-system-forecast-line,
  .jk-research-system-overlays .jk-system-source-marker,
  .jk-research-system-overlays .jk-system-travel-line,
  .jk-research-system-overlays .jk-system-protection-zone,
  .jk-research-system-overlays .jk-system-protection-link,
  .jk-research-system-overlays .jk-system-flow-front,
  .jk-research-system-overlays .jk-system-transport-pulse,
  .jk-research-system-overlays .jk-system-annotation-wash,
  .jk-research-system-overlays .jk-system-leader {
    display: revert;
  }

  .jk-research-application--system .jk-research-application-controls {
    grid-template-columns: 1fr;
  }

  .jk-research-application--system .jk-research-application-controls button:nth-child(3) {
    border-right: 0;
  }

  .jk-research-application--system .jk-research-application-controls button:nth-child(n + 4) {
    border-top: 0;
  }

  .jk-research-application--system .jk-research-application-controls strong {
    overflow: visible;
    text-overflow: clip;
  }

  .jk-research-application-phases {
    display: none;
  }

  .jk-research-application--system .jk-research-subscene-controls {
    bottom: 0.45rem;
    max-width: calc(100% - 0.8rem);
  }

  .jk-research-application--system .jk-research-subscene-controls > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jk-research-application--system .jk-research-subscene-controls button {
    padding-inline: 0.48rem;
  }

  .jk-research-application--system .jk-research-subscene-controls button strong {
    overflow: visible;
    font-size: 0.6rem;
    text-overflow: clip;
    white-space: nowrap;
  }

  .jk-research-lens-trigger small {
    display: none;
  }
}

/* Section 03 visual refinement
   Keep the system-scale geology visible, move interpretation into a readable
   caption, and use one consistent authored-overlay language across lenses. */
.jk-research-application--system .jk-research-application-visual--system {
  order: 1;
}

.jk-research-application--system .jk-research-lens-dock {
  z-index: 9;
}

.jk-research-application--system .jk-research-subscene-controls {
  position: static;
  order: 2;
  z-index: auto;
  align-self: center;
  width: auto;
  max-width: min(100%, 46rem);
  margin: clamp(0.7rem, 1.5vw, 1rem) auto 0;
  transform: none;
}

.jk-research-application--system .jk-research-application-meta {
  position: static;
  order: 3;
  width: min(100%, 54rem);
  height: auto;
  padding: 0;
  margin: clamp(0.7rem, 1.5vw, 1rem) auto 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  color: var(--wp--preset--color--ink-soft);
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  line-height: 1.55;
  text-align: center;
  white-space: normal;
}

.jk-research-application--system .jk-research-application-meta p {
  margin: 0;
}

.jk-research-application--system .jk-research-application-meta strong {
  color: var(--wp--preset--color--ink);
  font-weight: 700;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-focus-veil {
  opacity: 0.22;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-annotation-wash {
  fill: rgba(255, 255, 255, 0.56);
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-label,
.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-compartment-bracket text {
  font-size: 20px;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-chart-label,
.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-signal-label,
.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-refinement-name,
.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-scenario-label {
  font-size: 18px;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-lens-step text {
  stroke-width: 6px;
}

.jk-system-chart-backdrop {
  fill: rgba(255, 255, 255, 0.78);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 18%, var(--wp--preset--color--line));
  stroke-width: 1.5;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-storage-field {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 16%, transparent);
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-vadose-store-field {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 18%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 42%, transparent);
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-phreatic-store-field {
  fill: color-mix(in srgb, var(--wp--preset--color--water) 14%, transparent);
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-property-halo {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 18%, transparent);
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-property-halo.is-magenta {
  fill: color-mix(in srgb, var(--jk-magenta) 10%, transparent);
  stroke: color-mix(in srgb, var(--jk-magenta) 46%, transparent);
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-vulnerability-zones path {
  stroke-width: 3;
  stroke-dasharray: 10 8;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-vulnerability-zones .is-high {
  fill: color-mix(in srgb, var(--jk-magenta) 9%, transparent);
  stroke: color-mix(in srgb, var(--jk-magenta) 48%, transparent);
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-vulnerability-zones .is-low {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 11%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 46%, transparent);
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-protection-zone.is-control {
  fill: color-mix(in srgb, var(--jk-magenta) 8%, transparent);
  stroke: color-mix(in srgb, var(--jk-magenta) 50%, transparent);
  stroke-width: 3;
  stroke-dasharray: 10 8;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-head-scenario.is-stress,
.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-discharge-scenario.is-stress {
  stroke-dasharray: 11 8;
}

@media (max-width: 620px) {
  .jk-research-application--system .jk-research-application-visual--system {
    aspect-ratio: 16 / 10;
  }

  .jk-research-application--system .jk-research-application-poster {
    object-fit: cover;
  }

  .jk-research-application--system .jk-research-lens-dock {
    top: 0.45rem;
    width: 100%;
  }

  .jk-research-application--system .jk-research-lens-trigger {
    min-height: 44px;
    margin-left: 0.45rem;
    padding-inline: 0.75rem;
  }

  .jk-research-application--system .jk-research-subscene-controls {
    width: 100%;
    max-width: 100%;
    margin-top: 0.65rem;
    border-radius: 0.9rem;
  }

  .jk-research-application--system .jk-research-subscene-controls > div {
    width: 100%;
    gap: 0.2rem;
  }

  .jk-research-application--system .jk-research-subscene-controls button {
    min-height: 44px;
    padding: 0.5rem 0.35rem;
    border-radius: 0.68rem;
  }

  .jk-research-application--system .jk-research-subscene-controls button strong {
    overflow: visible;
    font-size: 0.68rem;
    line-height: 1.15;
    text-align: center;
    text-overflow: clip;
    white-space: normal;
  }

  .jk-research-application--system .jk-research-application-meta {
    width: 100%;
    margin-top: 0.7rem;
    font-size: 0.88rem;
    line-height: 1.5;
    text-align: left;
  }

  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-research-system-overlays text,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-annotation-wash,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-focus-veil,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-chart-backdrop,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-vulnerability-zones path,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-protection-zone {
    display: none !important;
  }

  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-process-rain,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-infiltration-arrow,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-surface-routing,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-recharge-point,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-storage-field,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-storage-boundary,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-diffuse-paths,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-vadose-path,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-matrix-storage,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-matrix-store,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-bidirectional-exchange,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-phreatic-field,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-phreatic-boundary,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-phreatic-conduit,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-phreatic-conduit-branch,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-phreatic-exchange,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-phreatic-pulse,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-phreatic-anchor,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-vadose-store-field,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-phreatic-store-field,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-storage-release,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-fast-transfer,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-event-rain,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-preferential-path,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-event-response,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-event-anchor,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-head-scenario,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-discharge-scenario,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-causal-link,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-observation-node,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-observation-link,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-observation-line,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-joint-inputs,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-joint-core,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-joint-link,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-property-halo,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-uncertainty-band,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-forecast-line,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-confidence-arrow,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-source-marker,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-source-infiltration,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-vulnerability-link,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-travel-line,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-protection-link,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-monitor-node,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-monitor-link,
  .jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-chart-axis {
    display: inline !important;
  }
}

.jk-research-application {
  --jk-application-duration: 7s;
}

.jk-research-application-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 72%, transparent);
  background: #f8faf9;
  isolation: isolate;
}

.jk-research-application-visual::after {
  position: absolute;
  z-index: 4;
  inset: -1px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), transparent 4%, transparent 96%, rgba(255, 255, 255, 0.72)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent 4%, transparent 96%, rgba(255, 255, 255, 0.58));
  content: "";
  pointer-events: none;
}

.jk-research-application-poster,
.jk-research-application-video,
.jk-research-application-overlays,
.jk-research-application-scene {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.jk-research-application-poster,
.jk-research-application-video {
  object-fit: cover;
  object-position: 50% 50%;
  transition: opacity 520ms ease;
}

.jk-research-application-poster {
  z-index: 0;
  opacity: 1;
}

.jk-research-application-video {
  z-index: 1;
  opacity: 0;
}

.jk-research-application[data-jk-application-state="recharge"] .jk-research-application-poster,
.jk-research-application[data-jk-application-state="resources"] .jk-research-application-poster,
.jk-research-application[data-jk-application-state="transport"] .jk-research-application-poster,
.jk-research-application[data-jk-application-state="openkarst"] .jk-research-application-poster {
  opacity: 0;
}

.jk-research-application[data-jk-application-state="recharge"] .jk-research-application-video--recharge,
.jk-research-application[data-jk-application-state="resources"] .jk-research-application-video--response,
.jk-research-application[data-jk-application-state="transport"] .jk-research-application-video--response,
.jk-research-application[data-jk-application-state="openkarst"] .jk-research-application-video--response {
  opacity: 1;
}

.jk-research-application-overlays {
  z-index: 3;
  pointer-events: none;
}

.jk-research-application-scene {
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 420ms ease, transform 560ms var(--jk-ease);
}

.jk-research-application[data-jk-application-state="foundation"] .jk-research-application-scene--foundation,
.jk-research-application[data-jk-application-state="resources"] .jk-research-application-scene--resources,
.jk-research-application[data-jk-application-state="vulnerability"] .jk-research-application-scene--vulnerability,
.jk-research-application[data-jk-application-state="response"] .jk-research-application-scene--response,
.jk-research-application[data-jk-application-state="openkarst"] .jk-research-application-scene--openkarst {
  opacity: 1;
  transform: translateY(0);
}

.jk-research-application-progress {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  overflow: hidden;
  background: color-mix(in srgb, var(--wp--preset--color--ink) 9%, transparent);
  pointer-events: none;
}

.jk-research-application-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--wp--preset--color--water), var(--jk-magenta));
  transform: scaleX(0);
  transform-origin: left;
}

.jk-research-application.is-running .jk-research-application-progress i {
  animation: jk-research-application-progress var(--jk-application-duration) linear forwards;
}

.jk-research-application.is-paused .jk-research-application-progress i {
  animation-play-state: paused;
}

@keyframes jk-research-application-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.jk-research-application-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-right: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 75%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 75%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 75%, transparent);
}

.jk-research-application-controls button {
  position: relative;
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.65rem clamp(0.42rem, 1.1vw, 0.8rem) 0.72rem;
  border: 0;
  border-right: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 75%, transparent);
  color: var(--wp--preset--color--ink-soft);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.jk-research-application-controls button:last-child {
  border-right: 0;
}

.jk-research-application-controls button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wp--preset--color--water), var(--jk-magenta));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--jk-ease);
}

.jk-research-application-controls button:hover,
.jk-research-application-controls button:focus-visible,
.jk-research-application-controls button[aria-pressed="true"] {
  color: var(--wp--preset--color--ink);
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 9%, #fff);
}

.jk-research-application-controls button[aria-pressed="true"]::after {
  transform: scaleX(1);
}

.jk-research-application-controls small {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.jk-research-application-controls strong {
  overflow: hidden;
  font-size: clamp(0.65rem, 0.9vw, 0.76rem);
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.jk-research-application-meta {
  display: flex;
  gap: 0.75rem 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 0.72rem;
}

.jk-research-application-meta p {
  max-width: 42rem;
  margin: 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.76rem;
  line-height: 1.48;
}

.jk-research-application-meta p strong {
  color: var(--wp--preset--color--ink);
}

.jk-research-application-meta button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 32%, transparent);
  color: var(--wp--preset--color--ink-soft);
  background: transparent;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.63rem;
  line-height: 1.45;
  cursor: pointer;
}

.jk-research-openkarst-proof-placeholder {
  position: relative;
  display: grid;
  min-height: 8.6rem;
  box-sizing: border-box;
  gap: 0.3rem;
  align-content: center;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  overflow: hidden;
  border: 1px dashed color-mix(in srgb, var(--wp--preset--color--water) 42%, var(--wp--preset--color--line));
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--wp--preset--color--water-light) 8%, #fff), #fff 65%),
    #fff;
}

.jk-research-openkarst-proof-placeholder::after {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  width: min(28%, 10rem);
  height: 54%;
  border: 1px dashed color-mix(in srgb, var(--wp--preset--color--ink) 20%, transparent);
  background:
    radial-gradient(circle, var(--wp--preset--color--water) 0 2px, transparent 3px) 0 0 / 2.2rem 2.2rem,
    linear-gradient(25deg, transparent 48%, color-mix(in srgb, var(--wp--preset--color--water) 32%, transparent) 49% 51%, transparent 52%);
  content: "";
  opacity: 0.68;
}

.jk-research-openkarst-proof-placeholder > * {
  position: relative;
  z-index: 1;
  width: min(66%, 34rem);
}

.jk-research-openkarst-proof-placeholder > span {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.jk-research-openkarst-proof-placeholder > strong {
  color: var(--wp--preset--color--ink);
  font-size: clamp(0.96rem, 1.55vw, 1.18rem);
  font-weight: 650;
  line-height: 1.25;
}

.jk-research-openkarst-proof-placeholder > small {
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.7rem;
  line-height: 1.45;
}

/* Real openKARST demonstration output.
   The checked 3D network is projected into the master aquifer image and kept
   synchronized with a compact spring hydrograph. */
.jk-openkarst-demo {
  position: absolute;
  z-index: 6;
  inset: 0;
  display: none;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
}

.jk-research-application[data-jk-application-state="openkarst"] .jk-openkarst-demo[data-jk-openkarst-ready="true"] {
  display: block;
}

.jk-research-application[data-jk-application-state="openkarst"] .jk-research-system-overlays {
  opacity: 0;
}

.jk-openkarst-demo > svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.jk-openkarst-demo-chart-wash {
  fill: rgba(255, 255, 255, 0.96);
  stroke: none;
}

.jk-openkarst-demo-network-wash {
  fill: url("#jk-openkarst-network-wash-gradient");
  filter: url("#jk-openkarst-network-wash-blur");
  opacity: 1;
}

.jk-openkarst-demo-surface-domain {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 24%, transparent);
  stroke-width: 0.85;
  vector-effect: non-scaling-stroke;
  transition: opacity 150ms linear;
}

.jk-openkarst-demo-surface-domain.is-diffuse {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 58%, transparent);
  opacity: 0.42;
}

.jk-openkarst-demo-surface-domain.is-rapid {
  fill: color-mix(in srgb, var(--jk-magenta) 34%, var(--wp--preset--color--water-light));
  opacity: 0.48;
}

.jk-openkarst-demo-surface-outline {
  fill: none;
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 42%, transparent);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-surface-label {
  fill: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.jk-openkarst-demo-diffuse-inputs line {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 72%, transparent);
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transition: opacity 100ms linear, stroke-width 100ms linear;
}

.jk-openkarst-demo-diffuse-inputs circle {
  fill: rgba(255, 255, 255, 0.9);
  stroke: var(--wp--preset--color--water);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
  transition: opacity 100ms linear, r 100ms linear;
}

.jk-openkarst-demo-surface-key rect {
  stroke: none;
}

.jk-openkarst-demo-surface-key rect.is-diffuse {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 72%, transparent);
}

.jk-openkarst-demo-surface-key rect.is-rapid {
  fill: color-mix(in srgb, var(--jk-magenta) 44%, var(--wp--preset--color--water-light));
}

.jk-openkarst-demo-surface-key text {
  fill: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.jk-openkarst-demo-domain-anchor {
  fill: var(--wp--preset--color--water);
  stroke: none;
  transition: opacity 120ms linear, r 120ms linear;
}

.jk-openkarst-demo-kicker,
.jk-openkarst-demo-network-label,
.jk-openkarst-demo-axis-title,
.jk-openkarst-demo-legend text,
.jk-openkarst-demo-metric-legend text {
  fill: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.075em;
}

.jk-openkarst-demo-note,
.jk-openkarst-demo-axis-unit,
.jk-openkarst-demo-phase-label {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 76%, transparent);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.jk-openkarst-demo-network-label {
  font-size: 14px;
  font-weight: 600;
}

.jk-openkarst-demo-network-label.is-magenta {
  fill: var(--jk-magenta);
}

.jk-openkarst-demo-recharge-link {
  fill: none;
  stroke: var(--jk-magenta);
  stroke-width: 1.2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transition: opacity 120ms linear, stroke-width 120ms linear;
}

.jk-openkarst-demo-recharge-link.is-diffuse {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 72%, transparent);
  stroke-dasharray: 4 6;
}

.jk-openkarst-demo-surface-node {
  fill: var(--jk-magenta);
  stroke: none;
  transition: opacity 120ms linear, r 120ms linear;
}

.jk-openkarst-demo-surface-node.is-diffuse {
  fill: rgba(255, 255, 255, 0.9);
  stroke: var(--wp--preset--color--water);
  stroke-width: 1.1;
}

.jk-openkarst-demo-reservoir-link {
  fill: none;
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 62%, transparent);
  stroke-width: 1.2;
  stroke-dasharray: 5 5;
  vector-effect: non-scaling-stroke;
  transition: opacity 120ms linear;
}

.jk-openkarst-demo-reservoir-field {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 64%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 66%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: opacity 120ms linear, rx 120ms linear, ry 120ms linear;
}

.jk-openkarst-demo-water-sheet {
  fill: color-mix(in srgb, var(--wp--preset--color--water) 32%, var(--wp--preset--color--water-light));
  stroke: none;
  transition: opacity 90ms linear, fill 90ms linear;
}

.jk-openkarst-demo-waterline {
  fill: none;
  stroke: var(--wp--preset--color--water);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  transition: opacity 90ms linear, stroke 90ms linear;
}

.jk-openkarst-demo-water-sheet.is-near-crown {
  fill: color-mix(in srgb, var(--jk-magenta) 34%, var(--wp--preset--color--water-light));
}

.jk-openkarst-demo-waterline.is-near-crown {
  stroke: color-mix(in srgb, var(--jk-magenta) 76%, var(--wp--preset--color--water));
  stroke-width: 1.8;
}

.jk-openkarst-demo-water-sheet.is-pressurized {
  fill: var(--jk-magenta);
}

.jk-openkarst-demo-waterline.is-pressurized {
  stroke: var(--jk-magenta);
  stroke-width: 2.1;
}

.jk-openkarst-demo-depth-stem {
  stroke: var(--wp--preset--color--water);
  stroke-width: 1.35;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transition: opacity 90ms linear, stroke 90ms linear;
}

.jk-openkarst-demo-depth-tip {
  fill: var(--wp--preset--color--water);
  stroke: none;
  transition: opacity 90ms linear, fill 90ms linear, stroke 90ms linear;
}

.jk-openkarst-demo-depth-stem.is-pressurized {
  stroke: var(--jk-magenta);
  stroke-width: 2.1;
}

.jk-openkarst-demo-depth-stem.is-near-crown {
  stroke: color-mix(in srgb, var(--jk-magenta) 76%, var(--wp--preset--color--water));
  stroke-width: 1.8;
}

.jk-openkarst-demo-depth-tip.is-pressurized {
  fill: var(--jk-magenta);
}

.jk-openkarst-demo-depth-tip.is-near-crown {
  fill: color-mix(in srgb, var(--jk-magenta) 76%, var(--wp--preset--color--water));
}

.jk-openkarst-demo-edge {
  stroke: var(--wp--preset--color--water);
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transition: opacity 90ms linear, stroke 90ms linear, filter 90ms linear;
}

.jk-openkarst-demo-edge.is-near-crown {
  stroke: color-mix(in srgb, var(--jk-magenta) 76%, var(--wp--preset--color--water));
}

.jk-openkarst-demo-edge.is-constriction {
  stroke-dasharray: 9 5;
}

.jk-openkarst-demo-edge.is-pressurized {
  stroke: var(--jk-magenta);
}

.jk-openkarst-demo-node {
  fill: var(--wp--preset--color--water);
  stroke: none;
  transition: opacity 90ms linear, fill 90ms linear, stroke 90ms linear;
}

.jk-openkarst-demo-node.is-recharge {
  fill: var(--jk-magenta);
}

.jk-openkarst-demo-node.is-reservoir {
  fill: color-mix(in srgb, var(--wp--preset--color--water) 62%, var(--wp--preset--color--water-light));
}

.jk-openkarst-demo-node.is-spring,
.jk-openkarst-demo-node.is-pressurized {
  fill: var(--jk-magenta);
}

.jk-openkarst-demo.is-playing .jk-openkarst-demo-surface-domain,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-diffuse-inputs line,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-diffuse-inputs circle,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-domain-anchor,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-recharge-link,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-surface-node,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-reservoir-link,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-reservoir-field,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-water-sheet,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-waterline,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-depth-stem,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-depth-tip,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-edge,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-node {
  transition: none;
}

.jk-openkarst-demo-legend line {
  stroke: var(--wp--preset--color--water);
  stroke-width: 6;
  stroke-linecap: round;
}

.jk-openkarst-demo-legend-wash {
  fill: rgba(255, 255, 255, 0.93);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 12%, transparent);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-domain-swatch {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 70%, transparent);
  stroke: var(--wp--preset--color--water);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-legend line.is-input {
  stroke-width: 3;
  stroke-dasharray: 7 6;
}

.jk-openkarst-demo-legend circle.is-input-node {
  fill: #fff;
  stroke: var(--wp--preset--color--water);
  stroke-width: 2.5;
}

.jk-openkarst-demo-legend line.is-exchange {
  stroke-width: 2.5;
}

.jk-openkarst-demo-legend line.is-partial {
  opacity: 0.34;
}

.jk-openkarst-demo-legend line.is-full {
  stroke: color-mix(in srgb, var(--jk-magenta) 76%, var(--wp--preset--color--water));
}

.jk-openkarst-demo-legend line.is-pressure {
  stroke: var(--jk-magenta);
}

.jk-openkarst-demo-legend line.is-depth {
  stroke-width: 3;
}

.jk-openkarst-demo-legend path.is-envelope,
.jk-openkarst-demo-metric-legend path.is-envelope {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 72%, transparent);
  stroke: var(--wp--preset--color--water);
  stroke-width: 2;
  stroke-linejoin: round;
}

.jk-openkarst-demo-legend circle.is-depth-tip {
  fill: rgba(255, 255, 255, 0.94);
  stroke: var(--wp--preset--color--water);
  stroke-width: 2;
}

.jk-openkarst-demo-legend text,
.jk-openkarst-demo-metric-legend text {
  fill: var(--wp--preset--color--ink-soft);
  font-size: 13px;
  letter-spacing: 0.03em;
  stroke: none;
}

.jk-openkarst-demo-legend text.is-depth-note,
.jk-openkarst-demo-metric-legend text.is-depth-note {
  font-size: 11px;
  font-weight: 600;
}

.jk-openkarst-demo-metric-legend rect {
  stroke: none;
}

.jk-openkarst-demo-metric-legend .jk-openkarst-demo-metric-wash {
  fill: rgba(255, 255, 255, 0.96);
}

.jk-openkarst-demo-metric-legend line.is-pressure {
  stroke: var(--jk-magenta);
  stroke-width: 6;
  stroke-linecap: round;
}

.jk-openkarst-demo-metric-legend line.is-depth {
  stroke: var(--wp--preset--color--water);
  stroke-width: 3;
  stroke-linecap: round;
}

.jk-openkarst-demo-metric-legend circle.is-depth-tip {
  fill: rgba(255, 255, 255, 0.94);
  stroke: var(--wp--preset--color--water);
  stroke-width: 2;
}

.jk-openkarst-demo-metric-legend text {
  stroke: none;
}

.jk-openkarst-demo-axis {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink) 24%, transparent);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-hydro-area {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 34%, transparent);
}

.jk-openkarst-demo-hydro-line {
  fill: none;
  stroke: var(--wp--preset--color--water);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-phase {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 28%, transparent);
  stroke-width: 1.5;
  stroke-dasharray: 7 7;
}

.jk-openkarst-demo-phase-label {
  stroke: none;
}

.jk-openkarst-demo-phase.is-magenta {
  stroke: color-mix(in srgb, var(--jk-magenta) 58%, transparent);
}

.jk-openkarst-demo-cursor {
  stroke: var(--jk-magenta);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-cursor-dot {
  fill: var(--jk-magenta);
  stroke: none;
}

.jk-openkarst-demo-spring-link {
  fill: none;
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 68%, transparent);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-controls {
  position: absolute;
  z-index: 2;
  right: clamp(0.75rem, 2vw, 1.3rem);
  bottom: clamp(0.55rem, 1.2vw, 0.9rem);
  left: clamp(0.75rem, 2vw, 1.3rem);
  display: grid;
  grid-template-columns: auto auto minmax(8rem, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.48rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 0.45rem 1.25rem rgba(31, 56, 62, 0.11);
  pointer-events: auto;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.jk-openkarst-demo-controls button {
  min-height: 38px;
  padding: 0.42rem 0.76rem;
  border: 0;
  border-radius: 999px;
  background: var(--wp--preset--color--ink);
  color: #fff;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.67rem;
  font-weight: 700;
  cursor: pointer;
}

.jk-openkarst-demo-controls button:disabled {
  opacity: 0.5;
  cursor: default;
}

.jk-openkarst-demo-controls label {
  display: flex;
  align-items: center;
  min-width: 0;
}

.jk-openkarst-demo-metric {
  gap: 0.34rem;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
}

.jk-openkarst-demo-metric select {
  min-height: 34px;
  max-width: 10.75rem;
  padding: 0.32rem 1.55rem 0.32rem 0.58rem;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 17%, transparent);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--wp--preset--color--ink);
  font: inherit;
  cursor: pointer;
}

.jk-openkarst-demo-metric select:focus-visible {
  outline: 2px solid var(--jk-magenta);
  outline-offset: 2px;
}

.jk-openkarst-demo-controls input[type="range"] {
  width: 100%;
  accent-color: var(--jk-magenta);
  cursor: pointer;
}

.jk-openkarst-demo-controls output {
  min-width: 18rem;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: right;
}

@media (max-width: 780px) {
  .jk-openkarst-demo-controls {
    grid-template-columns: auto auto minmax(8rem, 1fr);
    border-radius: 0.85rem;
  }

  .jk-openkarst-demo-controls output {
    grid-column: 1 / -1;
    min-width: 0;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .jk-research-application-controls {
    grid-template-columns: repeat(5, minmax(3.6rem, 1fr));
    overflow-x: auto;
  }

  .jk-research-application-controls button {
    padding-right: 0.45rem;
    padding-left: 0.45rem;
  }

  .jk-research-application-controls strong {
    font-size: 0.62rem;
  }

  .jk-research-application-meta {
    display: grid;
  }

  .jk-research-application-meta button {
    justify-self: start;
  }

  .jk-research-openkarst-proof-placeholder > * {
    width: 74%;
  }

  .jk-openkarst-demo-legend,
  .jk-openkarst-demo-metric-legend,
  .jk-openkarst-demo-note,
  .jk-openkarst-demo-network-label,
  .jk-openkarst-demo-surface-label {
    display: none;
  }

  .jk-openkarst-demo-kicker {
    font-size: 14px;
  }

  .jk-openkarst-demo-controls {
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 0.85rem;
  }

  .jk-openkarst-demo-metric {
    justify-self: stretch;
  }

  .jk-openkarst-demo-metric select {
    width: 100%;
    max-width: none;
  }

  .jk-openkarst-demo-controls label:not(.jk-openkarst-demo-metric) {
    grid-column: 1 / -1;
  }

  .jk-openkarst-demo-controls output {
    grid-column: 1 / -1;
    min-width: 0;
    text-align: left;
  }

  .jk-research-application[data-jk-application-state="openkarst"] .jk-research-application-poster {
    object-fit: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application-poster,
  .jk-research-application-video,
  .jk-research-application-scene {
    transition: none;
  }

  .jk-research-application-progress {
    display: none;
  }

  .jk-openkarst-demo-edge,
  .jk-openkarst-demo-water-sheet,
  .jk-openkarst-demo-waterline,
  .jk-openkarst-demo-depth-stem,
  .jk-openkarst-demo-depth-tip,
  .jk-openkarst-demo-node {
    transition: none;
  }
}

/* Section 03 unified visual language.
   Water remains the structural colour, magenta marks rapid or critical
   pathways, sage identifies stored/managed water, and amber distinguishes
   complementary observations. Thin white-backed marks preserve contrast
   without obscuring the geological master image. */
.jk-research-application--system {
  --jk-science-water: #257f96;
  --jk-science-water-soft: #78bdca;
  --jk-science-rapid: var(--jk-magenta);
  --jk-science-storage: #527f70;
  --jk-science-signal: #b67834;
  --jk-science-line-context: 2.1;
  --jk-science-line-primary: 3;
  --jk-science-line-emphasis: 4.2;
}

.jk-research-application--system .jk-research-lens-trigger,
.jk-research-application--system .jk-research-application-controls,
.jk-research-application--system .jk-research-subscene-controls,
.jk-openkarst-demo-controls {
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 15%, rgba(255, 255, 255, 0.82));
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0.45rem 1.25rem rgba(31, 56, 62, 0.085);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  backdrop-filter: blur(14px) saturate(112%);
}

.jk-research-application--system .jk-research-lens-trigger {
  min-height: 2.35rem;
  padding: 0.48rem 0.68rem;
}

.jk-research-application--system .jk-research-lens-trigger small,
.jk-research-application--system .jk-research-application-controls small,
.jk-research-application--system .jk-research-subscene-controls button small {
  display: inline-block;
  color: var(--jk-science-water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.055em;
}

.jk-research-application--system .jk-research-lens-trigger strong,
.jk-research-application--system .jk-research-application-controls strong,
.jk-research-application--system .jk-research-subscene-controls button strong {
  font-weight: 600;
}

.jk-research-application--system .jk-research-application-controls button {
  gap: 0.55rem;
  min-height: 2.15rem;
  padding-block: 0.48rem;
}

.jk-research-application--system .jk-research-application-controls small {
  width: 1.35rem;
}

.jk-research-application--system .jk-research-application-controls button:hover,
.jk-research-application--system .jk-research-application-controls button:focus-visible,
.jk-research-application--system .jk-research-application-controls button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 11%, #fff);
}

.jk-research-application--system .jk-research-subscene-controls {
  padding: 0.26rem;
  border-radius: 0.8rem;
}

.jk-research-application--system .jk-research-subscene-controls > div {
  gap: 0.12rem;
}

.jk-research-application--system .jk-research-subscene-controls button {
  position: relative;
  gap: 0.36rem;
  min-height: 2.25rem;
  padding: 0.42rem clamp(0.58rem, 1.25vw, 0.9rem) 0.48rem;
  border-radius: 0.56rem;
  color: color-mix(in srgb, var(--wp--preset--color--ink) 68%, transparent);
}

.jk-research-application--system .jk-research-subscene-controls button::after {
  position: absolute;
  right: 28%;
  bottom: 0.22rem;
  left: 28%;
  height: 1px;
  border-radius: 1px;
  background: var(--jk-science-rapid);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms var(--jk-ease), transform 160ms var(--jk-ease);
}

.jk-research-application--system .jk-research-subscene-controls button:hover,
.jk-research-application--system .jk-research-subscene-controls button:focus-visible {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 8%, transparent);
  color: var(--wp--preset--color--ink);
}

.jk-research-application--system .jk-research-subscene-controls button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 10%, #fff);
  box-shadow: none;
  color: var(--wp--preset--color--ink);
}

.jk-research-application--system .jk-research-subscene-controls button[aria-pressed="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.jk-research-application--system .jk-research-application-meta {
  max-width: 48rem;
  margin-top: clamp(0.62rem, 1.2vw, 0.85rem);
  color: color-mix(in srgb, var(--wp--preset--color--ink) 68%, transparent);
  font-size: clamp(0.86rem, 1.02vw, 0.95rem);
  line-height: 1.48;
}

.jk-research-application--system .jk-research-application-meta strong {
  font-weight: 600;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-focus-veil {
  opacity: 0.27;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-annotation-wash {
  fill: rgba(255, 255, 255, 0.52);
}

.jk-research-application--system .jk-system-chart-backdrop {
  fill: rgba(255, 255, 255, 0.73);
  stroke: color-mix(in srgb, var(--jk-science-water) 13%, transparent);
  stroke-width: 1;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) :is(
  .jk-system-label,
  .jk-system-signal-label,
  .jk-system-scenario-label,
  .jk-system-compartment-bracket text
) {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.055em;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) :is(
  .jk-system-chart-label,
  .jk-system-refinement-name
) {
  font-family: var(--wp--preset--font-family--body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
}

.jk-research-application--system:not([data-jk-application-state="openkarst"]) .jk-system-lens-step text {
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-linejoin: round;
  stroke-width: 3.2px;
}

.jk-research-application--system :is(
  .jk-system-process-rain line,
  .jk-system-event-rain line,
  .jk-system-infiltration-arrow,
  .jk-system-surface-routing,
  .jk-system-storage-boundary,
  .jk-system-diffuse-paths path,
  .jk-system-vadose-path,
  .jk-system-bidirectional-exchange,
  .jk-system-phreatic-boundary,
  .jk-system-phreatic-conduit,
  .jk-system-phreatic-conduit-branch,
  .jk-system-phreatic-exchange,
  .jk-system-phreatic-pulse,
  .jk-system-storage-release,
  .jk-system-fast-transfer,
  .jk-system-preferential-path,
  .jk-system-event-response,
  .jk-system-causal-link,
  .jk-system-head-scenario,
  .jk-system-discharge-scenario,
  .jk-system-observation-link,
  .jk-system-observation-line,
  .jk-system-joint-link,
  .jk-system-forecast-line,
  .jk-system-confidence-arrow,
  .jk-system-source-infiltration,
  .jk-system-vulnerability-link,
  .jk-system-travel-line,
  .jk-system-protection-link,
  .jk-system-monitor-link
) {
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 1.25px rgba(255, 255, 255, 0.96));
}

.jk-research-application--system :is(
  .jk-system-process-rain line,
  .jk-system-event-rain line,
  .jk-system-infiltration-arrow,
  .jk-system-vadose-path,
  .jk-system-phreatic-boundary,
  .jk-system-phreatic-exchange,
  .jk-system-storage-release,
  .jk-system-causal-link,
  .jk-system-observation-link,
  .jk-system-joint-link,
  .jk-system-source-infiltration,
  .jk-system-vulnerability-link,
  .jk-system-monitor-link
) {
  stroke-width: var(--jk-science-line-context);
}

.jk-research-application--system :is(
  .jk-system-surface-routing,
  .jk-system-diffuse-paths path,
  .jk-system-bidirectional-exchange,
  .jk-system-phreatic-conduit-branch,
  .jk-system-event-response,
  .jk-system-head-scenario,
  .jk-system-discharge-scenario,
  .jk-system-observation-line,
  .jk-system-forecast-line,
  .jk-system-travel-line
) {
  stroke-width: var(--jk-science-line-primary);
}

.jk-research-application--system :is(
  .jk-system-infiltration-arrow.is-focused,
  .jk-system-vadose-path.is-primary,
  .jk-system-phreatic-conduit,
  .jk-system-phreatic-pulse,
  .jk-system-fast-transfer,
  .jk-system-preferential-path,
  .jk-system-event-response--multidomain,
  .jk-system-confidence-arrow,
  .jk-system-source-infiltration.is-high,
  .jk-system-vulnerability-link.is-high,
  .jk-system-protection-link
) {
  stroke-width: var(--jk-science-line-emphasis);
}

.jk-research-application--system :is(
  .jk-system-chart-axis,
  .jk-system-observation-event,
  .jk-system-management-line
) {
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system :is(
  .jk-system-recharge-point,
  .jk-system-observation-node,
  .jk-system-monitor-node,
  .jk-system-source-marker,
  .jk-system-event-anchor,
  .jk-system-phreatic-anchor
) {
  stroke-width: 2.25;
  filter: drop-shadow(0 0 1.2px rgba(255, 255, 255, 0.95));
}

.jk-research-application--system :is(
  .jk-system-matrix-store,
  .jk-system-joint-inputs circle,
  .jk-system-joint-core,
  .jk-system-property-halo
) {
  stroke-width: 2;
}

.jk-research-application--system .jk-system-matrix-store,
.jk-research-application--system .jk-system-vadose-store-field {
  fill: color-mix(in srgb, var(--jk-science-storage) 12%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-storage) 52%, transparent);
}

.jk-research-application--system .jk-system-storage-release {
  stroke: color-mix(in srgb, var(--jk-science-storage) 72%, transparent);
}

.jk-research-application--system :is(
  .jk-system-head-scenario.is-adaptive,
  .jk-system-discharge-scenario.is-adaptive
) {
  stroke: var(--jk-science-storage);
}

.jk-research-application--system .jk-system-scenario-label.is-adaptive {
  fill: var(--jk-science-storage);
}

.jk-research-application--system .jk-system-scenario-label.is-stress {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-observation-line--temperature,
.jk-research-application--system .jk-system-signal-label.is-temperature {
  stroke: var(--jk-science-signal);
  fill: var(--jk-science-signal);
}

.jk-research-application--system .jk-system-signal-label.is-solute {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-joint-inputs circle:nth-of-type(2) {
  stroke: var(--jk-science-signal);
}

.jk-research-application--system .jk-system-joint-inputs :is(text:nth-of-type(2), text:nth-of-type(5)) {
  fill: var(--jk-science-signal);
}

.jk-research-application--system .jk-system-joint-inputs :is(text:nth-of-type(3), text:nth-of-type(6)) {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-property-halo:nth-of-type(1) {
  fill: color-mix(in srgb, var(--jk-science-storage) 11%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-storage) 52%, transparent);
}

.jk-research-application--system .jk-system-travel-line--slow {
  stroke: color-mix(in srgb, var(--jk-science-storage) 68%, transparent);
}

.jk-research-application--system .jk-system-vulnerability-zones path,
.jk-research-application--system .jk-system-protection-zone.is-control {
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-chart-wash,
.jk-openkarst-demo-metric-legend .jk-openkarst-demo-metric-wash {
  fill: rgba(255, 255, 255, 0.91);
  stroke: color-mix(in srgb, var(--jk-science-water) 12%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo :is(
  .jk-openkarst-demo-kicker,
  .jk-openkarst-demo-network-label,
  .jk-openkarst-demo-axis-title,
  .jk-openkarst-demo-surface-label
) {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.055em;
}

.jk-openkarst-demo :is(
  .jk-openkarst-demo-note,
  .jk-openkarst-demo-axis-unit,
  .jk-openkarst-demo-phase-label,
  .jk-openkarst-demo-surface-key text,
  .jk-openkarst-demo-metric-legend text
) {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.jk-openkarst-demo-hydro-line {
  stroke-width: 2.2;
}

.jk-openkarst-demo-cursor {
  stroke-width: 1.7;
}

.jk-openkarst-demo-cursor-dot {
  r: 4px;
}

.jk-openkarst-demo-controls {
  gap: 0.58rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.78rem;
}

.jk-openkarst-demo-controls button {
  min-height: 34px;
  padding: 0.36rem 0.68rem;
  background: var(--jk-science-water);
  font-size: 0.63rem;
  font-weight: 600;
}

.jk-openkarst-demo-metric,
.jk-openkarst-demo-controls output {
  font-weight: 500;
}

.jk-openkarst-demo-metric select {
  min-height: 31px;
  border-color: color-mix(in srgb, var(--jk-science-water) 14%, transparent);
  background-color: rgba(255, 255, 255, 0.82);
}

/* Recharge input: one causal reveal from uniform forcing to distributed and
   focused recharge. The final frame remains fully legible after motion ends. */
.jk-research-application--system .jk-system-lens-step--forcing .jk-system-annotation-wash {
  fill: rgba(255, 255, 255, 0.58);
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-process-rain line {
  stroke: color-mix(in srgb, var(--jk-science-water) 68%, transparent);
  stroke-width: 1.8;
  opacity: 0;
}

.jk-research-application--system .jk-system-diffuse-infiltration-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 11%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 24%, transparent);
  stroke-width: 1;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-diffuse-recharge .jk-system-infiltration-arrow {
  stroke: color-mix(in srgb, var(--jk-science-water) 74%, var(--jk-science-storage));
  stroke-width: 1.9;
}

.jk-research-application--system .jk-system-runoff-routing .jk-system-surface-routing {
  stroke: var(--jk-science-water);
  stroke-width: 2.6;
}

.jk-research-application--system .jk-system-focused-recharge .jk-system-infiltration-arrow {
  stroke-width: 3.8;
}

.jk-research-application--system .jk-system-focused-recharge .jk-system-recharge-point {
  fill: rgba(255, 255, 255, 0.94);
  stroke-width: 2.4;
}

.jk-research-application--system .jk-system-recharge-pulse {
  fill: color-mix(in srgb, var(--jk-science-rapid) 7%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-rapid) 68%, transparent);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-forcing-label {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-research-application--system .jk-system-forcing-label--diffuse {
  fill: var(--jk-science-water);
}

.jk-research-application--system .jk-system-forcing-label--routing {
  fill: var(--jk-science-water);
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-process-rain line {
  animation: jk-system-recharge-rain 550ms var(--jk-ease) 40ms both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-forcing-label--rain {
  animation: jk-system-recharge-label-in 260ms var(--jk-ease) 220ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-diffuse-infiltration-field {
  animation: jk-system-field-in 400ms var(--jk-ease) 300ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-diffuse-recharge .jk-system-infiltration-arrow {
  animation: jk-system-draw 620ms var(--jk-ease) 450ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-diffuse-recharge .jk-system-infiltration-arrow:nth-child(2n) {
  animation-delay: 520ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-diffuse-recharge .jk-system-infiltration-arrow:nth-child(3n) {
  animation-delay: 580ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-forcing-label--diffuse {
  animation: jk-system-recharge-label-in 280ms var(--jk-ease) 880ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-runoff-routing .jk-system-surface-routing {
  animation: jk-system-draw 500ms var(--jk-ease) 1.02s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-forcing-label--routing {
  animation: jk-system-recharge-label-in 280ms var(--jk-ease) 1.32s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-focused-recharge .jk-system-recharge-point {
  animation: jk-system-node-in 260ms var(--jk-ease) 1.48s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-focused-recharge .jk-system-infiltration-arrow {
  animation: jk-system-draw 440ms var(--jk-ease) 1.62s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-recharge-pulse {
  animation: jk-system-recharge-pulse 580ms var(--jk-ease) 1.58s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-recharge-pulse + .jk-system-recharge-pulse {
  animation-delay: 1.66s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-forcing-label--focused {
  animation: jk-system-recharge-label-in 280ms var(--jk-ease) 2.02s forwards;
}

/* Vadose dynamics: ordered fracture columns, discrete storage volumes, and
   short bidirectional exchange links leave the geological texture visible. */
.jk-research-application--system .jk-system-lens-step--exchange .jk-system-storage-field {
  fill: color-mix(in srgb, var(--jk-science-storage) 10%, transparent);
}

.jk-research-application--system .jk-system-lens-step--exchange .jk-system-diffuse-paths path {
  stroke: color-mix(in srgb, var(--jk-science-water) 64%, var(--jk-science-storage));
  stroke-width: 1.9;
  stroke-dasharray: 0.055 0.04;
}

.jk-research-application--system .jk-system-lens-step--exchange .jk-system-bidirectional-exchange {
  stroke: var(--jk-science-water);
  stroke-width: 2.1;
}

.jk-research-application--system .jk-system-lens-step--exchange .jk-system-bidirectional-exchange.is-preferential-exchange {
  stroke: url("#jk-system-exchange-interface");
  stroke-width: 2.3;
}

.jk-research-application--system .jk-system-lens-step--exchange .jk-system-vadose-path.is-primary {
  stroke-width: 3.8;
}

.jk-research-application--system .jk-system-lens-step--exchange .jk-system-vadose-path.is-secondary {
  stroke-width: 3.1;
  opacity: 0.82;
}

.jk-research-application--system .jk-system-vadose-label {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-research-application--system .jk-system-vadose-label--storage {
  fill: var(--jk-science-storage);
}

.jk-research-application--system .jk-system-vadose-label--arrival {
  fill: var(--jk-science-water);
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-storage-field {
  animation: jk-system-field-in 400ms var(--jk-ease) 40ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-diffuse-paths path {
  animation: jk-system-draw 620ms var(--jk-ease) 260ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-diffuse-paths path:nth-child(2n) {
  animation-delay: 330ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-diffuse-paths path:nth-child(3n) {
  animation-delay: 390ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-vadose-label--distributed {
  animation: jk-system-recharge-label-in 260ms var(--jk-ease) 650ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-matrix-store {
  animation: jk-system-node-in 300ms var(--jk-ease) 700ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-matrix-store:nth-child(2) {
  animation-delay: 780ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-matrix-store:nth-child(3) {
  animation-delay: 860ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-bidirectional-exchange {
  animation: jk-system-draw 380ms var(--jk-ease) 960ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-bidirectional-exchange + .jk-system-bidirectional-exchange {
  animation-delay: 1.03s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-bidirectional-exchange + .jk-system-bidirectional-exchange + .jk-system-bidirectional-exchange {
  animation-delay: 1.1s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-vadose-label--storage {
  animation: jk-system-recharge-label-in 260ms var(--jk-ease) 1.06s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-vadose-path {
  animation: jk-system-draw 500ms var(--jk-ease) 1.22s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-vadose-path.is-secondary {
  animation-delay: 1.14s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-vadose-label--preferential {
  animation: jk-system-recharge-label-in 280ms var(--jk-ease) 1.62s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="exchange"] .jk-system-vadose-label--arrival {
  animation: jk-system-recharge-label-in 280ms var(--jk-ease) 1.7s forwards;
}

/* Phreatic coupling: one water-table curve, one explicit conduit and short
   orthogonal exchange links create a clean continuum-to-conduit reading. */
.jk-research-application--system .jk-system-lens-step--activation .jk-system-phreatic-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 12%, transparent);
}

.jk-research-application--system .jk-system-lens-step--activation .jk-system-phreatic-boundary {
  stroke: color-mix(in srgb, var(--jk-science-water) 54%, transparent);
  stroke-width: 1.4;
  stroke-dasharray: 0.035 0.025;
}

.jk-research-application--system .jk-system-lens-step--activation .jk-system-phreatic-conduit {
  stroke: var(--jk-science-water);
  stroke-width: 3.3;
}

.jk-research-application--system .jk-system-lens-step--activation .jk-system-phreatic-exchange {
  stroke: color-mix(in srgb, var(--jk-science-water) 76%, transparent);
  stroke-width: 2;
}

.jk-research-application--system .jk-system-lens-step--activation .jk-system-phreatic-pulse {
  stroke: var(--jk-science-rapid);
  stroke-width: 2.8;
  stroke-dasharray: 0.14 0.86;
  stroke-dashoffset: 0.86;
  opacity: 0;
}

.jk-research-application--system .jk-system-lens-step--activation .jk-system-phreatic-anchor {
  fill: rgba(255, 255, 255, 0.94);
  stroke: var(--jk-science-rapid);
  stroke-width: 2.4;
}

.jk-research-application--system .jk-system-phreatic-label {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-field {
  animation: jk-system-field-in 380ms var(--jk-ease) 40ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-boundary {
  animation: jk-system-draw 420ms var(--jk-ease) 180ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-label--water-table {
  animation: jk-system-recharge-label-in 250ms var(--jk-ease) 420ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-conduit {
  animation: jk-system-draw 520ms var(--jk-ease) 460ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-exchange {
  animation: jk-system-draw 360ms var(--jk-ease) 780ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-exchange + .jk-system-phreatic-exchange {
  animation-delay: 840ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-exchange + .jk-system-phreatic-exchange + .jk-system-phreatic-exchange {
  animation-delay: 900ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-label--exchange {
  animation: jk-system-recharge-label-in 250ms var(--jk-ease) 1.02s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-pulse {
  animation: jk-system-phreatic-wave 720ms linear 1s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-label--rapid {
  animation: jk-system-recharge-label-in 250ms var(--jk-ease) 1.26s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-anchor {
  animation: jk-system-node-in 260ms var(--jk-ease) 1.58s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-label--spring {
  animation: jk-system-recharge-label-in 250ms var(--jk-ease) 1.68s forwards;
}

@keyframes jk-system-phreatic-wave {
  0% {
    opacity: 0;
    stroke-dashoffset: 0.86;
  }
  18% {
    opacity: 1;
  }
  78% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-recharge-rain {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  72% {
    opacity: 0.78;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0.58;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-recharge-label-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes jk-system-recharge-pulse {
  0% {
    opacity: 0;
    transform: scale(0.62);
  }
  42% {
    opacity: 0.78;
  }
  100% {
    opacity: 0.14;
    transform: scale(1.32);
  }
}

.jk-research-application.is-motion-disabled :is(
  .jk-system-diffuse-infiltration-field,
  .jk-system-forcing-label,
  .jk-system-vadose-label,
  .jk-system-phreatic-label
) {
  opacity: 1;
  transform: none;
}

.jk-research-application.is-motion-disabled .jk-system-lens-step--forcing .jk-system-process-rain line {
  opacity: 0.58;
}

.jk-research-application.is-motion-disabled .jk-system-recharge-pulse {
  opacity: 0.14;
  transform: scale(1.32);
}

.jk-research-application.is-motion-disabled .jk-system-phreatic-pulse {
  opacity: 0;
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application :is(
    .jk-system-diffuse-infiltration-field,
    .jk-system-forcing-label,
    .jk-system-vadose-label,
    .jk-system-phreatic-label
  ) {
    opacity: 1;
    transform: none;
  }

  .jk-research-application .jk-system-lens-step--forcing .jk-system-process-rain line {
    opacity: 0.58;
  }

  .jk-research-application .jk-system-recharge-pulse {
    opacity: 0.14;
    transform: scale(1.32);
  }

  .jk-research-application .jk-system-phreatic-pulse {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@media (max-width: 620px) {
  .jk-research-application--system .jk-research-subscene-controls button {
    gap: 0.22rem;
  }

  .jk-research-application--system .jk-research-subscene-controls button small {
    display: none;
  }

  .jk-research-application--system .jk-research-lens-trigger small {
    display: none;
  }

  .jk-research-application--system :is(
    .jk-system-diffuse-infiltration-field,
    .jk-system-diffuse-recharge,
    .jk-system-runoff-routing,
    .jk-system-focused-recharge
  ) {
    display: none;
  }
}

.jk-research-network-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(9.75rem, 12.5vw, 11rem);
  gap: clamp(0.6rem, 1.15vw, 0.9rem);
  align-items: center;
}

.jk-research-network-media {
  min-width: 0;
}

.jk-research-network-viewport {
  aspect-ratio: 4 / 3;
}

.jk-research-network-viewport img,
.jk-research-network-viewport video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 50%;
  transform: none;
}

.jk-research-network-viewport .jk-research-network-flow-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: transparent;
  object-fit: cover;
  pointer-events: none;
}

.jk-research-support-stage {
  width: min(82%, 32rem);
  margin: 0 0 0 auto;
}

.jk-research-support-stage--wide {
  width: 100%;
  max-width: none;
}

.jk-research-intersection-stage {
  width: min(94%, 38rem);
  margin-right: auto;
  margin-left: 0;
}

.jk-research-story--reverse .jk-research-support-stage {
  margin-right: auto;
  margin-left: 0;
}

.jk-research-legend {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.69rem;
  line-height: 1.4;
  list-style: none;
}

.jk-research-legend li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.02rem 0.45rem;
  align-items: center;
}

.jk-research-legend li > :first-child {
  grid-row: 1 / span 2;
}

.jk-research-legend strong {
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.35;
  text-transform: uppercase;
}

.jk-research-topic-swatch,
.jk-research-topic-title,
.jk-research-topic-tag {
  --jk-research-topic-color: var(--wp--preset--color--ink-soft);
}

.jk-research-topic-swatch--pathway,
.jk-research-topic-title--pathway,
.jk-research-topic-tag--pathway {
  --jk-research-topic-color: var(--jk-magenta);
}

.jk-research-topic-swatch--exchange,
.jk-research-topic-title--exchange,
.jk-research-topic-tag--exchange {
  --jk-research-topic-color: var(--wp--preset--color--water);
}

.jk-research-topic-swatch {
  display: inline-block;
  box-sizing: border-box;
  width: 1.15rem;
  height: 2px;
  flex: 0 0 1.15rem;
  margin-top: 0.48em;
  border: 0;
  border-radius: 0;
  background: var(--jk-research-topic-color);
  opacity: 0.78;
}

.jk-research-topic-title::before {
  box-sizing: border-box;
  width: 1.05rem;
  height: 2px;
  flex: 0 0 1.05rem;
  border: 0;
  border-radius: 0;
  background: var(--jk-research-topic-color);
  opacity: 0.78;
  content: "";
}

.jk-research-legend-swatch {
  width: 1.35rem;
  height: 0.25rem;
  border-radius: 999px;
}

.jk-research-legend-swatch--rapid {
  background: linear-gradient(90deg, color-mix(in srgb, var(--jk-magenta) 62%, #fff), color-mix(in srgb, var(--jk-magenta) 82%, #8b6a9c));
}

.jk-research-legend-swatch--matrix {
  height: 0.65rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--water) 38%, var(--wp--preset--color--water-light)), color-mix(in srgb, var(--wp--preset--color--water-light) 27%, transparent) 72%);
}

.jk-research-legend-direction {
  color: var(--wp--preset--color--water);
  font-size: 1.25rem;
  line-height: 1;
}

.jk-research-network-key {
  display: block;
  align-self: center;
  margin: 0;
  padding: 0 0 0 clamp(0.15rem, 0.35vw, 0.35rem);
  border-top: 0;
  border-left: 0;
}

.jk-research-network-key-title {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.jk-research-network-key .jk-research-legend {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.72rem, 1.15vw, 1rem);
  margin: 0;
  padding: 0;
  border: 0;
}

@media (min-width: 782px) and (max-width: 1120px) {
  .jk-research-network-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .jk-research-network-key {
    margin-top: 0.65rem;
    padding: 0.75rem 0 0;
    border-top: 1px solid var(--wp--preset--color--line);
    border-left: 0;
  }

  .jk-research-network-key .jk-research-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.7rem, 1.2vw, 1rem);
  }
}

.jk-research-support-key {
  box-sizing: border-box;
  min-height: 2.45rem;
  margin: 0;
  padding: 0.55rem 0 0.1rem;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.3;
  list-style: none;
  text-transform: uppercase;
}

.jk-research-intersection-keys {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem 0.8rem;
  align-items: center;
}

.jk-research-intersection-keys li {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  min-width: 0;
}

.jk-research-intersection-keys .jk-research-legend-swatch {
  display: inline-block;
  flex: 0 0 auto;
}

.jk-research-flow-labels li {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
}

.jk-research-detail-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.2vw, 1.75rem);
  row-gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
  margin-top: clamp(2.2rem, 5vw, 4.5rem);
}

.jk-research-detail-grid .jk-research-support-stage {
  width: 100%;
  margin: 0;
}

.jk-research-detail-grid .jk-research-support-stage figcaption {
  display: grid;
  gap: 0.15rem;
}

.jk-research-contact-stage {
  grid-column: 10 / -1;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  width: min(100%, 15.5rem) !important;
}

.jk-research-flow-stage {
  grid-column: 1 / span 9;
  grid-row: 1;
}

.jk-research-media-viewport--support .jk-research-flow-interface-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: transparent;
  object-fit: contain;
  pointer-events: none;
}

.jk-research-intersection-stage {
  display: grid;
  grid-column: 1 / span 7;
  grid-row: 2;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  justify-self: center;
  width: min(100%, 37rem) !important;
}

.jk-research-intersection-stage .jk-research-media-viewport--intersection {
  grid-column: 1;
  grid-row: 1;
}

.jk-research-detail-grid .jk-research-intersection-stage figcaption {
  grid-column: 1;
  grid-row: 2;
}

.jk-research-detail-grid .jk-research-evidence--rail {
  grid-column: 8 / -1;
  grid-row: 2;
  align-self: start;
}

.jk-research-media-viewport--intersection {
  aspect-ratio: 7 / 4;
}

.jk-research-media-viewport--intersection img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 38% 50%;
}

.jk-research-flow-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
}

.jk-research-contact-line-strip {
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #fff;
}

.jk-research-contact-line-strip img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 5;
  background: #fff;
  object-fit: contain;
}

.jk-research-support-placeholder {
  position: relative;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 10rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  align-items: end;
  aspect-ratio: 16 / 7;
  background:
    radial-gradient(circle at 18% 56%, color-mix(in srgb, var(--wp--preset--color--water-light) 24%, transparent) 0 3%, transparent 28%),
    radial-gradient(circle at 72% 46%, color-mix(in srgb, var(--jk-magenta) 10%, transparent), transparent 26%),
    linear-gradient(135deg, #fff 12%, color-mix(in srgb, var(--wp--preset--color--water-light) 9%, #fff) 54%, #fff 91%);
  box-shadow: inset 0 -1px color-mix(in srgb, var(--wp--preset--color--line) 75%, transparent);
}

.jk-research-support-placeholder::before {
  position: absolute;
  inset: 8% 3%;
  background-image:
    linear-gradient(28deg, transparent 49.6%, color-mix(in srgb, var(--wp--preset--color--line) 58%, transparent) 50%, transparent 50.4%),
    linear-gradient(151deg, transparent 49.6%, color-mix(in srgb, var(--wp--preset--color--line) 48%, transparent) 50%, transparent 50.4%);
  background-size: 3.5rem 2.6rem;
  content: "";
  opacity: 0.5;
  pointer-events: none;
}

.jk-research-support-placeholder--system {
  background:
    radial-gradient(ellipse at 72% 62%, color-mix(in srgb, var(--wp--preset--color--water-light) 28%, transparent), transparent 34%),
    radial-gradient(ellipse at 34% 38%, color-mix(in srgb, var(--jk-magenta) 9%, transparent), transparent 25%),
    linear-gradient(165deg, #fff 8%, color-mix(in srgb, var(--wp--preset--color--water-light) 8%, #fff) 58%, #fff 94%);
}

.jk-research-support-placeholder--transition {
  background:
    radial-gradient(circle at 22% 48%, color-mix(in srgb, var(--jk-magenta) 10%, transparent), transparent 23%),
    radial-gradient(circle at 76% 46%, color-mix(in srgb, var(--wp--preset--color--water-light) 30%, transparent), transparent 29%),
    linear-gradient(135deg, #fff 10%, color-mix(in srgb, var(--wp--preset--color--water-light) 8%, #fff) 58%, #fff 94%);
}

.jk-research-support-trace {
  position: absolute;
  top: 17%;
  right: 10%;
  bottom: 14%;
  left: 8%;
  border-bottom: 2px solid color-mix(in srgb, var(--wp--preset--color--water) 45%, transparent);
  border-left: 2px solid color-mix(in srgb, var(--jk-magenta) 44%, transparent);
  transform: skewX(-24deg) rotate(-4deg);
  transform-origin: bottom left;
}

.jk-research-support-placeholder > div {
  position: relative;
  z-index: 1;
  max-width: 24rem;
}

.jk-research-support-placeholder > div span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-research-support-placeholder > div strong {
  color: var(--wp--preset--color--ink);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 600;
}

.jk-research-formulation-stage,
.jk-research-retention-stage {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.jk-research-formulation-viewport,
.jk-research-retention-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: #fff;
}

.jk-research-formulation-viewport img,
.jk-research-retention-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jk-research-routes-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 60 / 17;
  background: #fff;
}

.jk-research-response-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: #fff;
}

.jk-research-routes-viewport img,
.jk-research-response-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jk-architecture-spectrum {
  --jk-architecture-shift: 0px;
}

.jk-architecture-rail {
  margin-bottom: clamp(0.35rem, 1.2vw, 0.8rem);
}

.jk-architecture-rail-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 4% 0.1rem;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.jk-architecture-range-label {
  display: block;
}

.jk-architecture-range {
  width: 76.667%;
  height: 2rem;
  margin: 0 0 0 11.25%;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.jk-architecture-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #70c5cf 0%, #557f99 52%, #d84f95 100%);
}

.jk-architecture-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  appearance: none;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--jk-magenta);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--jk-magenta) 45%, transparent);
}

.jk-architecture-range::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #70c5cf 0%, #557f99 52%, #d84f95 100%);
}

.jk-architecture-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--jk-magenta);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--jk-magenta) 45%, transparent);
}

.jk-architecture-range:focus-visible {
  outline: none;
}

.jk-architecture-range:focus-visible::-webkit-slider-thumb {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--jk-magenta) 45%, transparent),
    0 0 0 5px color-mix(in srgb, var(--wp--preset--color--water) 18%, transparent);
}

.jk-architecture-range:focus-visible::-moz-range-thumb {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--jk-magenta) 45%, transparent),
    0 0 0 5px color-mix(in srgb, var(--wp--preset--color--water) 18%, transparent);
}

.jk-architecture-strip {
  position: relative;
  width: 100%;
  transform: translate3d(var(--jk-architecture-shift), 0, 0);
  transition: transform 280ms ease;
}

.jk-architecture-strip > img {
  display: block;
  width: 100%;
  height: auto;
}

.jk-architecture-model-buttons {
  position: absolute;
  inset: 0;
}

.jk-architecture-model-button {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 17.5%;
  padding: 0;
  border: 0;
  border-radius: 0.9rem;
  background: transparent;
  cursor: pointer;
}

.jk-architecture-model-button:nth-child(1) { left: 2.5%; }
.jk-architecture-model-button:nth-child(2) { left: 21.667%; }
.jk-architecture-model-button:nth-child(3) { left: 40.833%; }
.jk-architecture-model-button:nth-child(4) { left: 60%; }
.jk-architecture-model-button:nth-child(5) { left: 79.167%; }

.jk-architecture-model-button[aria-pressed="true"] {
  background: linear-gradient(180deg, color-mix(in srgb, var(--jk-magenta) 2%, transparent), color-mix(in srgb, var(--jk-magenta) 5%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jk-magenta) 28%, transparent);
}

.jk-architecture-model-button:hover {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--water) 38%, transparent);
}

.jk-architecture-model-button:focus-visible {
  outline: 2px solid var(--wp--preset--color--water);
  outline-offset: -2px;
}

.jk-research-formulation-stage figcaption.jk-architecture-caption {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 34rem) 2.75rem;
  gap: clamp(0.75rem, 2vw, 1.4rem);
  align-items: center;
  justify-content: center;
  padding-top: clamp(0.8rem, 2vw, 1.25rem);
}

.jk-architecture-nav-button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 18%, transparent);
  border-radius: 50%;
  background: #fff;
  color: var(--wp--preset--color--ink);
  cursor: pointer;
}

.jk-architecture-nav-button:hover:not(:disabled),
.jk-architecture-nav-button:focus-visible {
  border-color: var(--wp--preset--color--water);
  color: var(--wp--preset--color--water);
}

.jk-architecture-nav-button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--wp--preset--color--water) 32%, transparent);
  outline-offset: 2px;
}

.jk-architecture-nav-button:disabled {
  opacity: 0.28;
  cursor: default;
}

.jk-architecture-caption .jk-architecture-readout,
.jk-architecture-caption .jk-architecture-readout span {
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.jk-architecture-readout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.75rem;
  align-items: baseline;
  min-height: 3.3rem;
}

.jk-architecture-caption .jk-architecture-index {
  grid-row: 1 / span 2;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.055em;
}

.jk-architecture-readout strong {
  color: var(--wp--preset--color--ink);
  font-size: 0.96rem;
  font-weight: 600;
}

.jk-architecture-readout > span:last-child {
  grid-column: 2;
}

@media (prefers-reduced-motion: reduce) {
  .jk-architecture-strip {
    transition: none;
  }
}

.jk-research-representation-sequence {
  display: grid;
  gap: clamp(3.5rem, 7vw, 6.5rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.jk-research-representation-step {
  min-width: 0;
}

.jk-research-representation-step + .jk-research-representation-step {
  padding-top: clamp(2.75rem, 5vw, 4.5rem);
}

.jk-research-representation-heading {
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}

.jk-research-representation-heading .jk-card-label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--wp--preset--color--water);
}

.jk-research-representation-heading h3 {
  margin: 0;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.jk-research-representation-heading p {
  max-width: 48rem;
  margin: 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: clamp(0.94rem, 1.35vw, 1.08rem);
  line-height: 1.65;
}

.jk-research-formulation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(16rem, 0.68fr);
  gap: clamp(1.5rem, 3.2vw, 2.75rem);
  align-items: start;
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.jk-research-formulation-grid .jk-research-evidence--rail {
  grid-column: auto;
  width: 100%;
  margin-top: 0;
}

.jk-research-formulation-grid--responses {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  margin-top: 0;
}

.jk-research-closure-sequence {
  display: grid;
}

.jk-research-closure-group-label {
  margin: 0 0 0.9rem;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-research-closure-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.jk-research-closure-figure {
  --jk-closure-accent: var(--wp--preset--color--water);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  padding: clamp(0.75rem, 1.5vw, 1.1rem) clamp(1rem, 2.2vw, 1.6rem);
  border: 0;
  background: transparent;
}

.jk-research-closure-models .jk-research-closure-figure + .jk-research-closure-figure {
  border-left: 1px solid var(--wp--preset--color--line);
}

.jk-research-closure-figure::before {
  position: absolute;
  top: 0;
  left: clamp(1rem, 2.2vw, 1.6rem);
  width: 2.25rem;
  height: 2px;
  background: var(--jk-closure-accent);
  content: "";
  opacity: 0.62;
}

.jk-research-closure-heading {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}

.jk-research-closure-number {
  flex: 0 0 auto;
  color: var(--jk-closure-accent);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.jk-research-closure-heading strong {
  color: var(--wp--preset--color--ink);
  font-size: clamp(0.88rem, 1.15vw, 1rem);
  font-weight: 600;
  line-height: 1.3;
}

.jk-research-closure-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  margin-top: 0.65rem;
}

.jk-research-closure-viewport img,
.jk-research-closure-viewport > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.jk-research-convolution text {
  font-family: var(--wp--preset--font-family--body);
}

.jk-convolution-small {
  fill: #697b77;
  font-size: 12.5px;
}

.jk-convolution-axis {
  fill: none;
  stroke: #9ba5a3;
  stroke-width: 1.25;
}

.jk-convolution-input,
.jk-convolution-output,
.jk-convolution-kernel,
.jk-convolution-guide {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jk-convolution-input {
  stroke: #42aebc;
  stroke-width: 2.8;
}

.jk-convolution-output {
  stroke: #384541;
  stroke-width: 3.1;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.jk-convolution-kernel {
  stroke: var(--jk-magenta);
  stroke-width: 2.7;
}

.jk-convolution-overlap {
  fill: var(--jk-magenta);
  fill-opacity: 0.11;
}

.jk-convolution-guide {
  stroke: var(--jk-magenta);
  stroke-width: 1.25;
  stroke-dasharray: 3 5;
  opacity: 0.48;
}

.jk-convolution-kernel-label {
  fill: var(--jk-magenta);
  font-size: 11.5px;
  font-weight: 600;
}

.jk-convolution-equation {
  fill: #384541;
  font-family: var(--wp--preset--font-family--mono) !important;
  font-size: 18px;
  font-weight: 700;
}

.jk-convolution-scan {
  transform: translateX(330px);
}

.jk-research-convolution.is-motion-ready .jk-convolution-scan {
  transform: translateX(95px);
  opacity: 0;
}

.jk-research-convolution.is-motion-ready .jk-convolution-output {
  stroke-dashoffset: 1;
  opacity: 0;
}

@keyframes jk-convolution-scan-loop {
  0% { transform: translateX(95px); opacity: 0; }
  5% { transform: translateX(95px); opacity: 1; }
  75%, 82% { transform: translateX(510px); opacity: 1; }
  88% { transform: translateX(510px); opacity: 0; }
  88.01%, 100% { transform: translateX(95px); opacity: 0; }
}

@keyframes jk-convolution-reveal-loop {
  0%, 5% { stroke-dashoffset: 1; opacity: 0; }
  8% { stroke-dashoffset: 1; opacity: 1; }
  75%, 82% { stroke-dashoffset: 0; opacity: 1; }
  88% { stroke-dashoffset: 0; opacity: 0; }
  88.01%, 100% { stroke-dashoffset: 1; opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .jk-research-convolution.is-motion-ready.is-active .jk-convolution-scan {
    animation: jk-convolution-scan-loop 9.8s linear infinite;
  }

  .jk-research-convolution.is-motion-ready.is-active .jk-convolution-output {
    animation: jk-convolution-reveal-loop 9.8s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-convolution .jk-convolution-scan {
    transform: translateX(330px);
  }

  .jk-research-convolution .jk-convolution-output {
    stroke-dashoffset: 0;
  }
}

.jk-research-closure-caption {
  margin: 0;
  padding-top: 0.5rem;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.jk-research-closure-convergence {
  position: relative;
  height: clamp(2.4rem, 4vw, 3.25rem);
}

.jk-research-closure-convergence::before {
  position: absolute;
  top: 0;
  right: 16.666%;
  left: 16.666%;
  height: 48%;
  border-right: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 40%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 40%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 40%, transparent);
  content: "";
}

.jk-research-closure-convergence span::before {
  position: absolute;
  top: 0;
  bottom: 0.38rem;
  left: 50%;
  border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 55%, transparent);
  content: "";
}

.jk-research-closure-convergence span::after {
  position: absolute;
  bottom: 0.42rem;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1px solid var(--wp--preset--color--water);
  border-bottom: 1px solid var(--wp--preset--color--water);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.jk-research-closure-figure--handoff {
  --jk-closure-accent: var(--wp--preset--color--water);
  box-sizing: border-box;
  grid-template-columns: minmax(12rem, 0.72fr) minmax(0, 1.28fr);
  grid-template-rows: auto;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  justify-self: center;
  width: min(100%, 52rem);
  padding: clamp(0.85rem, 1.6vw, 1.15rem);
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 22%, var(--wp--preset--color--line));
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 10%, #fff);
}

.jk-research-closure-figure--handoff::before {
  content: none;
}

.jk-research-closure-figure--handoff .jk-research-closure-heading {
  align-items: flex-start;
}

.jk-research-closure-figure--handoff .jk-research-closure-heading strong {
  max-width: 18ch;
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.jk-research-closure-figure--handoff .jk-research-closure-viewport {
  margin-top: 0;
}

.jk-research-formulation-grid--responses > .jk-research-evidence--representation {
  margin-top: clamp(1.25rem, 3vw, 2.5rem);
}

.jk-research-evidence--architecture {
  max-width: none;
}

.jk-research-figure-hint {
  display: none;
}

.jk-research-evidence {
  box-sizing: border-box;
  display: grid;
  gap: 0.35rem;
  margin-top: var(--wp--preset--spacing--40);
  padding: clamp(1.1rem, 2.4vw, 1.55rem) clamp(0.9rem, 2.2vw, 1.5rem) clamp(1.2rem, 2.6vw, 1.7rem);
  border-top: 1px solid var(--wp--preset--color--line);
  border-bottom: 1px solid var(--wp--preset--color--line);
  background: var(--wp--preset--color--mineral-100);
}

.jk-research-evidence-title {
  display: flex;
  gap: 0.42rem;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 0 0 0.7rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-research-evidence-title-context {
  color: var(--wp--preset--color--ink-soft);
  font-weight: 500;
  letter-spacing: 0.045em;
}

.jk-research-evidence-title-context::before {
  margin-right: 0.42rem;
  color: color-mix(in srgb, var(--wp--preset--color--ink-soft) 55%, transparent);
  content: "·";
}

.jk-research-evidence--grid {
  column-gap: clamp(1.25rem, 3vw, 2.5rem);
  row-gap: clamp(1rem, 2vw, 1.45rem);
  margin-top: clamp(1.75rem, 4vw, 3.25rem);
}

.jk-research-evidence--grid.jk-research-evidence--architecture {
  margin-top: clamp(1.5rem, 3.5vw, 2.75rem);
}

.jk-research-evidence--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-research-evidence--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-research-evidence--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-research-evidence--grid .jk-research-evidence-title {
  grid-column: 1 / -1;
}

.jk-research-evidence-relation {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.4;
  text-transform: uppercase;
}

.jk-research-evidence a {
  display: grid;
  gap: 0.24rem;
  align-content: start;
  padding: 0.55rem 4rem 0.55rem 0;
  border-bottom: 0;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
}

.jk-research-evidence a::after {
  position: absolute;
  right: 0;
  align-self: center;
  color: var(--wp--preset--color--water);
  content: "Paper ↗";
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.jk-research-evidence--grid a::after {
  position: static;
  justify-self: start;
  margin-top: 0.3rem;
}

.jk-research-evidence--grid a {
  padding-right: 0;
}

.jk-research-evidence--three > a + a {
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  border-left: 1px solid var(--wp--preset--color--line);
}

.jk-research-evidence--two > a:nth-of-type(even) {
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  border-left: 1px solid var(--wp--preset--color--line);
}

.jk-research-evidence a {
  position: relative;
}

.jk-research-evidence a:hover strong,
.jk-research-evidence a:focus-visible strong {
  color: var(--wp--preset--color--water);
}

.jk-research-evidence small {
  display: block;
}

.jk-research-evidence-meta {
  display: block;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.66rem;
  letter-spacing: 0.015em;
  line-height: 1.45;
}

.jk-research-evidence strong {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.42;
}

.jk-research-evidence-note {
  margin: 0;
  padding: 0.7rem 0 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.68rem;
  line-height: 1.45;
}

.jk-research-programme {
  margin-top: var(--wp--preset--spacing--50);
  border-top: 1px solid var(--wp--preset--color--line);
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.jk-research-programme > h2 {
  max-width: 22ch;
}

.jk-research-programme > .has-lead-font-size {
  max-width: 48rem;
}

.jk-research-programme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.jk-research-programme-grid li {
  display: flex;
  min-width: 0;
  padding: 1.25rem clamp(1rem, 2.4vw, 1.8rem) 1.35rem 0;
  flex-direction: column;
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-research-programme-grid li + li {
  padding-left: clamp(1rem, 2.4vw, 1.8rem);
  border-left: 1px solid var(--wp--preset--color--line);
}

.jk-research-programme-grid small {
  margin-bottom: 0.45rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jk-research-programme-grid strong {
  margin-bottom: 0.4rem;
  color: var(--wp--preset--color--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.jk-research-programme-grid span {
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.jk-research-programme-close {
  max-width: 64rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-research-programme-close > .has-lead-font-size {
  max-width: 52rem;
  margin-top: 0;
}

.jk-research-programme-close > :last-child {
  margin-bottom: 0;
}

@media (max-width: 1050px) {
  .jk-research-detail-grid .jk-research-intersection-stage {
    width: 100% !important;
  }

  .jk-research-formulation-grid {
    grid-template-columns: 1fr;
  }

  .jk-research-representation-heading {
    grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.2fr);
  }

  .jk-research-evidence--rail {
    grid-column: auto;
    width: 100%;
    margin-top: 0;
  }

  .jk-research-evidence--three,
  .jk-research-evidence--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-research-evidence--three > a + a {
    padding-left: 0;
    border-left: 0;
  }

  .jk-research-evidence--three > a:nth-of-type(even) {
    padding-left: clamp(1.25rem, 3vw, 2.5rem);
    border-left: 1px solid var(--wp--preset--color--line);
  }

  .jk-research-programme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-research-programme-grid li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .jk-research-scope-key {
    grid-template-columns: 1fr;
  }

  .jk-research-connected-pathway-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .jk-research-connected-pathway-stage .jk-research-connected-pathway-media {
    grid-column: 1;
    grid-row: 1;
  }

  .jk-research-connected-pathway-stage figcaption {
    grid-column: 1;
    grid-row: 2;
  }

  .jk-research-connected-pathway-stage .jk-research-scope-key {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr;
    margin-top: 0.45rem;
  }

  .jk-research-pathway-comparison {
    grid-template-columns: 1fr;
  }

  .jk-research-representation-visual {
    aspect-ratio: 2 / 3;
  }

  .jk-research-hybrid-overlay--desktop {
    display: none;
  }

  .jk-research-hybrid-overlay--mobile {
    display: block;
  }

  .jk-research-domain-key {
    display: grid;
    gap: 0.55rem;
    margin: 0.65rem 0 0;
    padding: 0;
    list-style: none;
  }

  .jk-research-domain-key li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.62rem;
    align-items: start;
  }

  .jk-research-domain-key strong,
  .jk-research-domain-key small {
    display: block;
  }

  .jk-research-domain-key strong {
    color: var(--wp--preset--color--ink);
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .jk-research-domain-key small {
    margin-top: 0.08rem;
    color: var(--wp--preset--color--ink-soft);
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .jk-research-domain-swatch {
    width: 1.45rem;
    height: 0.22rem;
    margin-top: 0.38rem;
    border-radius: 999px;
    background: var(--jk-magenta);
  }

  .jk-research-domain-swatch--matrix {
    background: linear-gradient(90deg, var(--jk-magenta) 0 44%, var(--wp--preset--color--water-light) 44% 100%);
  }

  .jk-research-figure-hint {
    display: block;
    margin: 0 0 0.55rem;
    color: var(--wp--preset--color--ink-soft);
    font-family: var(--wp--preset--font-family--mono);
    font-size: 0.68rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }

  .jk-research-formulation-viewport,
  .jk-research-retention-viewport,
  .jk-research-response-viewport,
  .jk-research-routes-viewport {
    aspect-ratio: auto;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .jk-research-formulation-viewport img,
  .jk-research-retention-viewport img,
  .jk-research-response-viewport img,
  .jk-research-routes-viewport img {
    width: 42rem;
    max-width: none;
    height: auto;
  }

  .jk-research-routes-viewport img {
    width: 52rem;
  }

  .jk-architecture-spectrum .jk-research-routes-viewport {
    overflow: hidden;
    aspect-ratio: auto;
  }

  .jk-architecture-spectrum .jk-architecture-strip {
    width: 74rem;
  }

  .jk-architecture-spectrum .jk-research-routes-viewport img {
    width: 100%;
    height: auto;
  }

  .jk-architecture-rail-labels {
    padding-inline: 0;
    font-size: 0.6rem;
  }

  .jk-research-formulation-stage figcaption.jk-architecture-caption {
    grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    gap: 0.7rem;
  }

  .jk-architecture-readout {
    grid-template-columns: 1fr;
    min-height: 4.5rem;
  }

  .jk-architecture-caption .jk-architecture-index {
    grid-row: auto;
  }

  .jk-architecture-readout > span:last-child {
    grid-column: 1;
  }

  .jk-research-response-viewport img {
    width: 50rem;
  }

  .jk-research-programme-grid {
    grid-template-columns: 1fr;
  }

  .jk-research-programme-grid li,
  .jk-research-programme-grid li + li {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }
}

/* Teaching overview: concise principles, indexed subject areas, and shared experience. */
.jk-teaching-intro .jk-teaching-editorial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(3.5rem, 6vw, 6rem) clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}

.jk-teaching-principles {
  grid-column: 1 / span 6;
}

.jk-teaching-areas {
  grid-column: 8 / -1;
}

.jk-teaching-principles h2,
.jk-teaching-areas h2 {
  margin: 0;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: var(--wp--preset--font-size--h-2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.jk-teaching-principles ol,
.jk-teaching-areas ol {
  margin: clamp(1.8rem, 3vw, 2.6rem) 0 0;
  padding: 0;
  list-style: none;
}

.jk-teaching-principles ol {
  display: grid;
  gap: clamp(1.4rem, 2.4vw, 2rem);
}

.jk-teaching-principles li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.jk-teaching-principles li > span {
  padding-top: 0.25rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  line-height: 1;
}

.jk-teaching-principles h3,
.jk-teaching-principles p {
  margin: 0;
}

.jk-teaching-principles h3 {
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  font-weight: 600;
  line-height: 1.25;
}

.jk-teaching-principles p {
  max-width: 38rem;
  margin-top: 0.3rem;
  color: var(--wp--preset--color--ink-soft);
  font-size: clamp(0.82rem, 0.95vw, 0.9rem);
  line-height: 1.48;
}

.jk-teaching-areas ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.65rem, 2.8vw, 2.35rem) clamp(1.75rem, 3.4vw, 3rem);
}

.jk-teaching-areas li {
  min-width: 0;
  padding-right: clamp(0.25rem, 1vw, 0.8rem);
}

.jk-teaching-areas strong {
  display: block;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  font-weight: 400;
  line-height: 1.2;
}

.jk-teaching-formats {
  display: flex;
  gap: 0.42rem;
  align-items: baseline;
  flex-wrap: wrap;
  margin: clamp(1.5rem, 2.5vw, 2rem) 0 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: clamp(0.8rem, 0.92vw, 0.88rem);
  line-height: 1.5;
}

.jk-teaching-formats__label {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jk-teaching-evidence {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(2.5rem, 5vw, 5.5rem);
}

.jk-teaching-field-note {
  grid-column: 4 / -1;
  margin: 0;
}

.jk-teaching-field-note img {
  display: block;
  width: 100%;
  height: clamp(13.75rem, 19vw, 15.75rem);
  object-fit: cover;
  object-position: 55% 54%;
  filter: saturate(0.8) contrast(0.96) brightness(1.02);
}

.jk-teaching-field-note figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6rem;
  font-weight: 560;
  letter-spacing: 0.035em;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .jk-teaching-intro .jk-teaching-editorial {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
  }

  .jk-teaching-principles,
  .jk-teaching-areas,
  .jk-teaching-evidence {
    grid-column: 1;
  }

  .jk-teaching-evidence {
    grid-template-columns: minmax(0, 1fr);
  }

  .jk-teaching-field-note {
    grid-column: 1;
  }

  .jk-teaching-field-note img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: center;
  }

  .jk-teaching-areas ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .jk-teaching-intro .jk-teaching-editorial {
    gap: 3rem;
  }

  .jk-teaching-areas ol {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .jk-teaching-field-note figcaption {
    display: grid;
    gap: 0.14rem;
  }
}

@media (max-width: 781px) {
  .jk-research-chapter-nav {
    box-sizing: border-box;
    width: 100%;
    grid-template-columns: repeat(3, minmax(14rem, 1fr));
    gap: 1.25rem;
    overflow-x: auto;
    padding-right: var(--wp--preset--spacing--30);
    padding-left: var(--wp--preset--spacing--30);
    scroll-snap-type: x proximity;
  }

  .jk-research-chapter-nav a {
    scroll-snap-align: center;
  }

  .jk-research-story--reverse .jk-research-copy,
  .jk-research-story--reverse .jk-research-media {
    order: initial;
  }

  .jk-research-story-grid > .wp-block-column {
    width: 100%;
  }

  .jk-research-representation-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }

  .jk-research-closure-models {
    grid-template-columns: 1fr;
  }

  .jk-research-closure-models .jk-research-closure-figure + .jk-research-closure-figure {
    border-top: 1px solid var(--wp--preset--color--line);
    border-left: 0;
  }

  .jk-research-closure-convergence::before {
    right: auto;
    left: 50%;
    width: 0;
    height: calc(100% - 0.38rem);
    border: 0;
    border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--water) 48%, transparent);
  }

  .jk-research-closure-convergence span::before {
    display: none;
  }

  .jk-research-closure-figure--handoff {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .jk-research-media {
    margin-top: var(--wp--preset--spacing--40);
  }

  .jk-research-network-layout {
    grid-template-columns: 1fr;
  }

  .jk-research-network-viewport {
    aspect-ratio: 4 / 3;
  }

  .jk-research-network-viewport img,
  .jk-research-network-viewport video {
    object-position: 50% 50%;
    transform: none;
  }

  .jk-research-legend {
    flex-direction: column;
    gap: 0.85rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-top: 0.75rem;
    padding: 0.75rem 0 0;
    border-top: 1px solid var(--wp--preset--color--line);
    border-left: 0;
  }

  .jk-research-evidence--three,
  .jk-research-evidence--two,
  .jk-research-evidence--four {
    grid-template-columns: 1fr;
  }

  .jk-research-evidence--three > a + a,
  .jk-research-evidence--three > a:nth-of-type(even),
  .jk-research-evidence--two > a:nth-of-type(even) {
    padding-left: 0;
    border-left: 0;
  }

  .jk-research-support-stage {
    width: min(92%, 32rem);
  }

  .jk-research-intersection-stage {
    width: 100%;
  }

  .jk-research-detail-grid {
    grid-template-columns: 1fr;
  }

  .jk-research-flow-stage {
    grid-column: 1;
    grid-row: 1;
  }

  .jk-research-contact-stage {
    grid-column: 1;
    grid-row: 2;
  }

  .jk-research-intersection-stage {
    grid-column: 1;
    grid-row: 3;
  }

  .jk-research-detail-grid .jk-research-evidence--rail {
    grid-column: 1;
    grid-row: 4;
  }

  .jk-research-network-key {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 0.75rem;
    padding: 0.8rem 0 0;
    border-top: 1px solid var(--wp--preset--color--line);
    border-left: 0;
  }

  .jk-research-network-key .jk-research-legend {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .jk-research-formulation-grid {
    grid-template-columns: 1fr;
  }

  .jk-research-detail-grid .jk-research-support-stage {
    width: 100%;
  }

  .jk-research-detail-grid .jk-research-contact-stage {
    justify-self: center;
    width: min(100%, 16rem) !important;
  }

  .jk-research-evidence--rail {
    grid-column: auto;
    width: 100%;
  }

  .jk-research-primary-placeholder {
    min-height: 18rem;
  }
}

.jk-scale-path {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--wp--preset--spacing--60);
  border: 1px solid var(--wp--preset--color--line);
  background: var(--wp--preset--color--line);
}

.jk-scale-step {
  position: relative;
  min-height: 18rem;
  padding: var(--wp--preset--spacing--40);
  background: var(--wp--preset--color--chalk);
}

.jk-scale-step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -0.55rem;
  display: grid;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--water);
  content: "→";
  font-size: 0.72rem;
  line-height: 1;
  transform: translateY(-50%);
}

.jk-scale-step h3 {
  margin-top: var(--wp--preset--spacing--50);
}

.jk-concept-chain {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--jk-radius-card);
  background: var(--wp--preset--color--mineral-50);
}

.jk-concept-chain span {
  position: relative;
  padding: 1.1rem 1.25rem;
  border-left: 2px solid var(--wp--preset--color--water);
  background: var(--wp--preset--color--chalk);
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.05rem;
}

.jk-concept-chain span:not(:last-child)::after {
  position: absolute;
  bottom: -0.76rem;
  left: 1.15rem;
  color: var(--wp--preset--color--water);
  content: "↓";
}

.jk-concept-chain--horizontal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: var(--wp--preset--spacing--50);
}

.jk-concept-chain--horizontal span:not(:last-child)::after {
  display: none;
}

.jk-network-visual {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--jk-radius-card);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 65% 55%, rgba(67, 185, 211, 0.12), transparent 55%);
  background-size: 1.4rem 1.4rem, 1.4rem 1.4rem, auto;
}

.jk-network-visual::before,
.jk-network-visual::after,
.jk-network-visual span {
  position: absolute;
  display: block;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(111, 210, 226, 0.3), var(--wp--preset--color--water-light), rgba(139, 86, 166, 0.9));
  content: "";
  transform-origin: left center;
}

.jk-network-visual::before {
  top: 50%;
  left: 8%;
  width: 84%;
  transform: rotate(-8deg);
}

.jk-network-visual::after {
  top: 46%;
  left: 36%;
  width: 45%;
  transform: rotate(31deg);
}

.jk-network-visual span:nth-child(1) { top: 58%; left: 20%; width: 38%; transform: rotate(24deg); }
.jk-network-visual span:nth-child(2) { top: 43%; left: 48%; width: 37%; transform: rotate(-38deg); }
.jk-network-visual span:nth-child(3) { top: 64%; left: 56%; width: 30%; transform: rotate(17deg); }
.jk-network-visual span:nth-child(4) { top: 36%; left: 22%; width: 24%; transform: rotate(-42deg); }
.jk-network-visual span:nth-child(5) { top: 26%; left: 67%; width: 20%; transform: rotate(54deg); }

.jk-question-box {
  padding: var(--wp--preset--spacing--40);
  border-top: 2px solid var(--wp--preset--color--water);
  background: var(--wp--preset--color--mineral-50);
}

.jk-question-box ul {
  padding-left: 1.2rem;
}

.jk-question-box li + li {
  margin-top: 0.8rem;
}

.jk-dark-callout {
  padding: clamp(2rem, 5vw, 5rem);
  border-radius: var(--jk-radius-card);
  color: var(--wp--preset--color--mineral-100);
  background: var(--wp--preset--color--ink);
}

.jk-dark-callout h2,
.jk-dark-callout .wp-block-heading {
  max-width: 15ch;
  color: var(--wp--preset--color--chalk);
}

.jk-dark-callout p {
  max-width: 48rem;
  color: color-mix(in srgb, var(--wp--preset--color--mineral-100) 82%, transparent);
}

.jk-dark-callout--compact {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.jk-dark-callout--compact h2 {
  max-width: none;
}

.jk-method-index {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--wp--preset--color--line);
  list-style: none;
}

.jk-method-index li {
  display: grid;
  grid-template-columns: minmax(7rem, 0.55fr) minmax(0, 1.45fr);
  gap: 1.25rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.jk-method-index strong {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: var(--wp--preset--font-size--small);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.jk-software-feature,
.jk-contact-band {
  color: var(--wp--preset--color--mineral-100);
}

.jk-software-feature p,
.jk-contact-band p {
  color: var(--wp--preset--color--mineral-100);
}

.jk-capability-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.jk-capability-card {
  min-height: 21rem;
  padding: var(--wp--preset--spacing--40);
}

.jk-publication-item--expanded {
  padding-top: var(--wp--preset--spacing--50);
  padding-bottom: var(--wp--preset--spacing--50);
}

.jk-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--wp--preset--spacing--50);
  border: 1px solid var(--wp--preset--color--line);
  background: var(--wp--preset--color--line);
}

.jk-stat {
  min-height: 12rem;
  padding: var(--wp--preset--spacing--40);
  background: var(--wp--preset--color--mineral-50);
}

.jk-stat strong {
  display: block;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
}

.jk-stat span {
  display: block;
  margin-top: 0.75rem;
  color: var(--wp--preset--color--ink-soft);
  font-size: var(--wp--preset--font-size--small);
}

.jk-content-placeholder p {
  margin-bottom: 0;
}

.jk-preview-only {
  display: none;
}

.jk-preview-page .jk-preview-only {
  display: block;
}

.jk-contact-links {
  gap: 1rem 2rem !important;
  margin-top: var(--wp--preset--spacing--40);
}

.jk-contact-links a {
  color: var(--wp--preset--color--water-light);
}

.jk-record-list {
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-record-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(14rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.jk-record-row h3,
.jk-record-row p {
  margin: 0;
}

.jk-record-row h3 {
  font-family: var(--wp--preset--font-family--display);
  font-size: var(--wp--preset--font-size--h-3);
  font-weight: 400;
  line-height: 1.15;
}

.jk-compact-section {
  max-width: var(--wp--style--global--wide-size);
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-simple-record-list {
  margin: var(--wp--preset--spacing--40) 0;
  padding: 0;
  border-top: 1px solid var(--wp--preset--color--line);
  list-style: none;
}

.jk-simple-record-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--wp--preset--color--line);
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: var(--wp--preset--font-size--h-3);
}

.jk-simple-record-list--compact {
  margin-top: var(--wp--preset--spacing--30);
}

.jk-simple-record-list--compact li {
  padding: 0.7rem 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.jk-topic-list {
  columns: 2;
  column-gap: 2rem;
  padding-left: 1.25rem;
}

.jk-topic-list li {
  break-inside: avoid;
  margin-bottom: 0.7rem;
}

.jk-cv-contact {
  display: flex;
  max-width: 54rem;
  gap: 1rem 4rem;
  flex-wrap: wrap;
  margin-top: var(--wp--preset--spacing--40);
}

.jk-cv-contact p {
  margin: 0;
}

.jk-profile-record-header {
  max-width: 70rem;
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: 0;
  scroll-margin-top: calc(var(--jk-header-height) + 1.5rem);
}

.jk-profile-record-header .jk-page-lead {
  max-width: 54rem;
}

.jk-profile-record-layout {
  max-width: 70rem;
  padding-top: 2.5rem;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.jk-profile-record-layout .jk-cv-section + .jk-cv-section {
  margin-top: clamp(4rem, 7vw, 5.6rem);
  padding-top: 2.5rem;
  border-top: 0;
}

.jk-profile-record-layout .jk-cv-section > .jk-card-label {
  margin: 0 0 0.75rem !important;
  font-size: 0.8rem;
}

.jk-profile-record-layout .jk-cv-section > h3 {
  margin: 0 0 clamp(1.5rem, 2.5vw, 2rem) !important;
  font-size: clamp(1.55rem, 2.3vw, 1.9rem) !important;
  line-height: 1.15;
}

.jk-profile-record-layout .jk-cv-section > .jk-timeline {
  margin-top: 0;
}

.jk-profile-record-layout .jk-timeline-row {
  grid-template-columns: 10.5rem minmax(0, 1fr);
}

.jk-download-placeholder {
  display: grid;
  max-width: 34rem;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1.5rem;
  align-items: center;
  margin-top: var(--wp--preset--spacing--50);
  padding: 1.25rem 1.5rem;
  border: 1px dashed var(--wp--preset--color--water);
  border-radius: var(--jk-radius-card);
  background: color-mix(in srgb, var(--wp--preset--color--water) 5%, transparent);
}

.jk-download-placeholder strong {
  grid-row: 1 / 3;
  grid-column: 2;
  font-family: var(--wp--preset--font-family--display);
  font-size: var(--wp--preset--font-size--h-3);
  font-weight: 400;
}

.jk-download-placeholder small {
  color: var(--wp--preset--color--ink-soft);
}

.jk-cv-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 0.65fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.jk-cv-section + .jk-cv-section {
  margin-top: var(--wp--preset--spacing--70);
  padding-top: var(--wp--preset--spacing--60);
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-timeline {
  margin-top: var(--wp--preset--spacing--40);
  border-top: 0;
}

.jk-timeline-row {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 0;
}

.jk-timeline-row:not(:last-child) {
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.jk-timeline-row:first-child {
  padding-top: 0.35rem;
}

.jk-timeline-row:last-child {
  padding-bottom: 0;
}

.jk-timeline-row > span,
.jk-project-list article > span {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: var(--wp--preset--font-size--xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.jk-timeline-row p {
  margin: 0.25rem 0 0;
}

.jk-project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--wp--preset--spacing--40);
  border: 1px solid var(--wp--preset--color--line);
  background: var(--wp--preset--color--line);
}

.jk-project-list article {
  padding: var(--wp--preset--spacing--40);
  background: var(--wp--preset--color--chalk);
}

.jk-project-list h3,
.jk-project-list h4 {
  margin: 0.8rem 0;
  font-size: var(--wp--preset--font-size--h-3);
}

.jk-cv-sidebar {
  position: sticky;
  top: calc(var(--jk-header-height) + 2rem);
}

.jk-cv-sidebar-card {
  padding: 1.5rem 0;
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-cv-sidebar-card:first-child {
  border-top: 2px solid var(--wp--preset--color--water);
}

.jk-cv-review {
  margin-bottom: var(--wp--preset--spacing--70);
}

.jk-update-archive-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.jk-update-archive-grid .jk-update-card {
  min-height: 22rem;
  padding: var(--wp--preset--spacing--40);
}

.jk-archive-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding: 1.5rem 0;
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-complete-bibliography {
  margin-top: 0;
}

.jk-complete-bibliography > h2,
.jk-complete-bibliography > h3 {
  margin-top: var(--wp--preset--spacing--60);
}

.jk-complete-bibliography > h2:first-child,
.jk-complete-bibliography > h3:first-child {
  margin-top: 0;
}

.jk-complete-bibliography > h2 small,
.jk-complete-bibliography > h3 small {
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: var(--wp--preset--font-size--small);
}

.jk-bibliography-list {
  margin: var(--wp--preset--spacing--40) 0 0;
  padding: 0;
  list-style: none;
}

.jk-bibliography-list > li {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) 4.5rem;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding: 0.95rem 0;
}

.jk-bibliography-list > li:not(.jk-bib-year-continuation) {
  padding-top: 1.35rem;
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-bib-year,
.jk-bib-source,
.jk-bib-review {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.jk-bib-year {
  color: var(--wp--preset--color--water);
  font-size: 0.75rem;
  font-weight: 600;
}

.jk-bibliography-list > li.jk-bib-year-continuation .jk-bib-entry {
  grid-column: 2;
}

.jk-bib-entry p,
.jk-bib-citation {
  margin: 0;
}

.jk-bib-title {
  color: var(--wp--preset--color--ink);
  font-size: clamp(0.98rem, 1.08vw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
}

.jk-bib-meta {
  margin-top: 0.35rem !important;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.jk-bib-venue {
  color: var(--wp--preset--color--ink);
  font-style: italic;
}

.jk-bib-venue-details {
  font-style: normal;
}

.jk-doi-link {
  display: inline-flex;
  min-width: 1.5rem;
  min-height: 1.5rem;
  align-items: center;
  grid-column: 3;
  justify-content: center;
  justify-self: end;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.jk-bib-source,
.jk-bib-review {
  display: block;
  margin-top: 0.65rem;
  color: var(--wp--preset--color--ink-soft);
}

.jk-bib-review {
  padding-left: 0.65rem;
  border-left: 2px solid var(--wp--preset--color--transport);
}

.jk-bibliography-details {
  margin-top: var(--wp--preset--spacing--40);
  border-top: 1px solid var(--wp--preset--color--line);
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.jk-bibliography-details > summary {
  padding: 1.25rem 0;
  color: var(--wp--preset--color--water);
  cursor: pointer;
  font-weight: 600;
}

.jk-supervision-showcase {
  position: relative;
  overflow: clip;
}

.jk-supervision-showcase::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--wp--preset--color--water-light) 18%, transparent) 0, transparent 24rem),
    linear-gradient(118deg, transparent 0 69%, color-mix(in srgb, var(--wp--preset--color--line) 44%, transparent) 69.08%, transparent 69.16%);
  content: "";
  pointer-events: none;
}

.jk-supervision-showcase__inner {
  position: relative;
}

.jk-supervision-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.jk-supervision-heading > :first-child,
.jk-supervision-heading > :nth-child(2) {
  grid-column: 1;
}

.jk-supervision-heading > :last-child {
  grid-row: 1 / span 2;
  grid-column: 2;
  max-width: 38rem;
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.jk-current-student {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
  min-height: 34rem;
  margin-top: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
  border-radius: var(--jk-radius-card);
  color: var(--wp--preset--color--chalk);
  background:
    radial-gradient(circle at 92% 10%, rgba(120, 215, 229, 0.18), transparent 18rem),
    linear-gradient(135deg, #102b30, var(--wp--preset--color--ink) 72%);
  box-shadow: var(--jk-shadow-soft);
}

.jk-current-student__portrait {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #1c2224;
}

.jk-current-student__portrait::after {
  position: absolute;
  inset: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, transparent 55%, rgba(11, 13, 14, 0.42));
  content: "";
  pointer-events: none;
}

.jk-current-student__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04);
}

.jk-current-student__portrait figcaption {
  position: absolute;
  z-index: 1;
  right: 1.4rem;
  bottom: 1.25rem;
  left: 1.4rem;
  color: var(--wp--preset--color--chalk);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-current-student__content {
  align-self: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.jk-current-student__content .jk-card-label {
  margin: 0 0 1rem;
  color: var(--wp--preset--color--water-light);
}

.jk-current-student__meta {
  margin: 0 0 1.25rem;
  color: color-mix(in srgb, var(--wp--preset--color--chalk) 66%, transparent);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jk-current-student h3 {
  max-width: 12ch;
  margin: 0;
  color: var(--wp--preset--color--chalk);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.jk-current-student__lead {
  max-width: 32rem;
  margin-top: 1.5rem;
  color: var(--wp--preset--color--water-light);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.18;
}

.jk-current-student__content > p:not([class]) {
  max-width: 42rem;
  color: color-mix(in srgb, var(--wp--preset--color--chalk) 78%, transparent);
}

.jk-current-student__topics {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.jk-current-student__topics li {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(120, 215, 229, 0.34);
  border-radius: 999px;
  color: var(--wp--preset--color--chalk);
  font-size: 0.78rem;
}

.jk-student-history {
  margin-top: clamp(5rem, 9vw, 9rem);
}

.jk-student-history__heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.jk-student-history__heading .jk-card-label {
  margin: 0 0 0.8rem;
  color: var(--wp--preset--color--water);
}

.jk-student-history__heading h3 {
  max-width: 12ch;
  margin: 0;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.jk-student-history__heading > p {
  max-width: 34rem;
  margin: 0 0 0.25rem;
  color: var(--wp--preset--color--ink-soft);
}

.jk-degree-legend {
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
  margin-top: var(--wp--preset--spacing--40);
}

.jk-degree-legend span,
.jk-student-degree {
  display: inline-flex;
  min-height: 1.45rem;
  align-items: center;
  padding: 0.24rem 0.46rem;
  border-radius: 999px;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.jk-degree-legend .jk-degree-legend__phd,
.jk-student-tile--phd > .jk-student-degree,
.jk-student-degree--phd {
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--ink);
}

.jk-degree-legend .jk-degree-legend__msc,
.jk-student-tile--msc > .jk-student-degree,
.jk-student-degree--msc {
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--water);
}

.jk-degree-legend .jk-degree-legend__bsc,
.jk-student-tile--bsc > .jk-student-degree,
.jk-student-degree--bsc {
  border: 1px solid var(--wp--preset--color--ink);
  color: var(--wp--preset--color--ink);
  background: color-mix(in srgb, var(--wp--preset--color--chalk) 92%, transparent);
}

.jk-student-mosaic {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: clamp(7.4rem, 10.8vw, 9.5rem);
  gap: 0.55rem;
  margin-top: 1rem;
}

.jk-student-tile,
.jk-mosaic-stat,
.jk-mosaic-topic {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--jk-radius-card);
}

.jk-student-tile {
  background: #d9ddde;
}

.jk-student-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.025);
  transition: filter 400ms var(--jk-ease), transform 600ms var(--jk-ease);
}

.jk-student-tile::after {
  position: absolute;
  inset: 36% 0 0;
  background: linear-gradient(180deg, transparent, rgba(11, 13, 14, 0.78));
  content: "";
  pointer-events: none;
}

.jk-student-tile:hover img {
  filter: grayscale(20%) contrast(1.025);
  transform: scale(1.035);
}

.jk-student-degree,
.jk-student-degrees {
  position: absolute;
  z-index: 2;
  top: 0.55rem;
  left: 0.55rem;
}

.jk-student-degree {
  box-shadow: 0 2px 10px rgba(11, 13, 14, 0.13);
}

.jk-student-degrees {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  max-width: calc(100% - 1.1rem);
}

.jk-student-degrees .jk-student-degree {
  position: static;
}

.jk-student-tile figcaption {
  position: absolute;
  z-index: 2;
  right: 0.65rem;
  bottom: 0.6rem;
  left: 0.65rem;
  color: var(--wp--preset--color--chalk);
  line-height: 1.08;
}

.jk-student-tile figcaption strong,
.jk-student-tile figcaption span {
  display: block;
}

.jk-student-tile figcaption strong {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(0.78rem, 1.05vw, 1rem);
  font-weight: 500;
}

.jk-student-tile figcaption span {
  margin-top: 0.23rem;
  color: color-mix(in srgb, var(--wp--preset--color--chalk) 72%, transparent);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.58rem;
  letter-spacing: 0.045em;
}

.jk-mosaic-stat,
.jk-mosaic-topic {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(0.75rem, 1.5vw, 1.35rem);
}

.jk-mosaic-stat--total {
  grid-row: span 2;
  grid-column: span 2;
  color: var(--wp--preset--color--chalk);
  background:
    radial-gradient(circle at 82% 14%, rgba(120, 215, 229, 0.25), transparent 38%),
    linear-gradient(145deg, #13353a, var(--wp--preset--color--ink) 74%);
}

.jk-mosaic-stat--total::before {
  position: absolute;
  top: 12%;
  right: -20%;
  width: 80%;
  height: 70%;
  border: 1px solid rgba(120, 215, 229, 0.22);
  border-radius: 50%;
  content: "";
  transform: rotate(-22deg);
}

.jk-mosaic-stat--total > * {
  position: relative;
  z-index: 1;
}

.jk-mosaic-stat__number {
  color: var(--wp--preset--color--water-light);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(5rem, 10vw, 8.5rem);
  font-weight: 400;
  line-height: 0.74;
  letter-spacing: -0.06em;
}

.jk-mosaic-stat--total strong {
  max-width: 13rem;
  margin-top: 1.25rem;
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.08;
}

.jk-mosaic-stat--total small {
  max-width: 15rem;
  margin-top: 0.8rem;
  color: color-mix(in srgb, var(--wp--preset--color--chalk) 62%, transparent);
  font-size: 0.67rem;
  line-height: 1.35;
}

.jk-mosaic-stat:not(.jk-mosaic-stat--total) span {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 0.82;
}

.jk-mosaic-stat:not(.jk-mosaic-stat--total) strong {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.15;
}

.jk-mosaic-stat--phd {
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--ink);
}

.jk-mosaic-stat--msc {
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--water);
}

.jk-mosaic-stat--bsc {
  border: 1px solid var(--wp--preset--color--ink);
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--chalk);
}

.jk-mosaic-topic {
  grid-column: span 2;
  border: 1px solid var(--wp--preset--color--line);
  color: var(--wp--preset--color--ink);
  background:
    linear-gradient(130deg, color-mix(in srgb, var(--wp--preset--color--water-light) 16%, transparent), transparent 60%),
    var(--wp--preset--color--chalk);
}

.jk-mosaic-topic span {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jk-mosaic-topic strong {
  max-width: 18rem;
  margin-top: 0.55rem;
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  font-weight: 400;
  line-height: 1.08;
}

.jk-student-mosaic__note {
  max-width: 58rem;
  margin: 1.1rem 0 0 auto;
  color: var(--wp--preset--color--ink-soft);
  font-size: var(--wp--preset--font-size--small);
  text-align: right;
}

.jk-record-disclosure--supervision {
  margin-top: clamp(3rem, 6vw, 5rem);
}

@media (max-width: 1050px) {
  .jk-supervision-heading {
    grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
    gap: 3rem;
  }

  .jk-current-student {
    grid-template-columns: minmax(17rem, 0.9fr) minmax(0, 1.1fr);
  }

  .jk-student-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(7.4rem, 15.5vw, 9.5rem);
  }
}

@media (max-width: 760px) {
  .jk-supervision-heading,
  .jk-student-history__heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .jk-supervision-heading > :last-child {
    grid-row: auto;
    grid-column: 1;
    max-width: 42rem;
  }

  .jk-current-student {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .jk-current-student__portrait {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }

  .jk-current-student__portrait::after {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .jk-current-student__content {
    padding: clamp(2rem, 8vw, 3.5rem);
  }

  .jk-degree-legend {
    justify-content: flex-start;
  }

  .jk-student-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(7rem, 29vw, 9rem);
  }

  .jk-student-tile figcaption strong {
    font-size: 0.78rem;
  }

  .jk-student-mosaic__note {
    margin-right: auto;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .jk-student-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: min(43vw, 10rem);
  }

  .jk-mosaic-stat--total {
    grid-row: span 1;
    grid-column: span 2;
  }

  .jk-mosaic-stat__number {
    font-size: 4.5rem;
  }

  .jk-mosaic-stat--total strong {
    max-width: none;
    margin-top: 0.7rem;
  }

  .jk-mosaic-stat--total small {
    display: none;
  }

  .jk-student-history__heading h3 {
    font-size: clamp(2.5rem, 12vw, 3.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jk-student-tile img {
    transition: none;
  }
}

/* Light editorial treatment for the supervision showcase. */
.jk-supervision-showcase {
  background:
    radial-gradient(circle at 93% 7%, color-mix(in srgb, var(--wp--preset--color--water-light) 12%, transparent), transparent 22rem),
    var(--wp--preset--color--mineral-50) !important;
}

.jk-current-student {
  position: relative;
  grid-template-columns: minmax(15rem, 0.58fr) minmax(0, 1.42fr);
  min-height: 27rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border: 1px solid var(--wp--preset--color--line);
  color: var(--wp--preset--color--ink);
  background:
    radial-gradient(circle at 94% 5%, color-mix(in srgb, var(--wp--preset--color--water-light) 13%, transparent), transparent 17rem),
    radial-gradient(circle at 78% 108%, color-mix(in srgb, var(--jk-magenta) 5%, transparent), transparent 16rem),
    var(--wp--preset--color--chalk);
  box-shadow: 0 16px 42px rgba(11, 13, 14, 0.04);
}

.jk-current-student::before {
  position: absolute;
  z-index: 3;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--wp--preset--color--water), var(--wp--preset--color--water-light) 58%, var(--jk-magenta));
  content: "";
}

.jk-current-student__portrait {
  background: var(--wp--preset--color--mineral-100);
}

.jk-current-student__portrait::after {
  border-right: 1px solid var(--wp--preset--color--line);
  background: linear-gradient(180deg, transparent 72%, rgba(255, 255, 255, 0.62));
}

.jk-current-student__portrait img {
  filter: grayscale(100%) contrast(0.98);
  opacity: 0.94;
}

.jk-current-student__portrait figcaption {
  right: auto;
  bottom: 1rem;
  left: 1rem;
  width: fit-content;
  padding: 0.38rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 74%, transparent);
  border-radius: 999px;
  color: var(--wp--preset--color--ink-soft);
  background: color-mix(in srgb, var(--wp--preset--color--chalk) 88%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.jk-current-student__content {
  padding: clamp(2rem, 4.5vw, 4rem);
}

.jk-current-student__content .jk-card-label {
  color: var(--wp--preset--color--water);
}

.jk-current-student__meta {
  margin-bottom: 1rem;
  color: var(--wp--preset--color--ink-soft);
}

.jk-current-student h3 {
  color: var(--wp--preset--color--ink);
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.jk-current-student__lead {
  max-width: 35rem;
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid color-mix(in srgb, var(--jk-magenta) 72%, var(--wp--preset--color--water));
  color: var(--wp--preset--color--ink);
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
}

.jk-current-student__content > p:not([class]) {
  max-width: 44rem;
  color: var(--wp--preset--color--ink-soft);
}

.jk-current-student__topics {
  margin-top: 1.4rem;
}

.jk-current-student__topics li {
  padding: 0.46rem 0.68rem;
  border-color: var(--wp--preset--color--line);
  color: var(--wp--preset--color--water);
  background: color-mix(in srgb, var(--wp--preset--color--chalk) 82%, transparent);
}

.jk-student-history {
  margin-top: clamp(4.5rem, 7vw, 7rem);
}

.jk-student-history__heading h3 {
  max-width: 16ch;
  font-size: clamp(2.35rem, 4.4vw, 4rem);
}

.jk-supervision-ledger {
  position: relative;
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--wp--preset--color--line);
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.jk-supervision-ledger::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: min(18rem, 42%);
  height: 1px;
  background: linear-gradient(90deg, var(--wp--preset--color--water), var(--wp--preset--color--water-light), var(--jk-magenta));
  content: "";
}

.jk-supervision-ledger__total {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.15rem 1.1rem;
  align-items: center;
}

.jk-supervision-ledger__total strong {
  grid-row: 1 / span 2;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(4.2rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.055em;
}

.jk-supervision-ledger__total span {
  max-width: 13rem;
  align-self: end;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.08;
}

.jk-supervision-ledger__total small {
  max-width: 16rem;
  align-self: start;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.68rem;
  line-height: 1.35;
}

.jk-supervision-ledger__breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.jk-supervision-ledger__breakdown > div {
  min-width: 0;
  padding: 0 clamp(0.9rem, 2.5vw, 2.2rem);
  border-left: 1px solid var(--wp--preset--color--line);
}

.jk-supervision-ledger__breakdown dd,
.jk-supervision-ledger__breakdown dt {
  margin: 0;
}

.jk-supervision-ledger__breakdown dd {
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 0.9;
}

.jk-supervision-ledger__breakdown dt {
  margin-top: 0.55rem;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.72rem;
  line-height: 1.2;
}

.jk-degree-legend {
  justify-content: flex-start;
  margin-top: 1.4rem;
}

.jk-degree-legend span,
.jk-student-degree,
.jk-degree-legend__phd,
.jk-degree-legend__msc,
.jk-degree-legend__bsc,
.jk-student-tile--phd > .jk-student-degree,
.jk-student-tile--msc > .jk-student-degree,
.jk-student-tile--bsc > .jk-student-degree {
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 88%, transparent);
  color: var(--wp--preset--color--ink-soft);
  background: color-mix(in srgb, var(--wp--preset--color--chalk) 90%, transparent);
  box-shadow: none;
  scroll-margin-top: calc(var(--jk-header-compact-height) + 1.5rem);
}

.jk-student-mosaic {
  grid-template-columns: repeat(9, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-rows: auto;
  gap: clamp(0.5rem, 0.9vw, 0.75rem);
  margin-top: 0.8rem;
}

.jk-student-tile {
  aspect-ratio: 1;
  border: 1px solid var(--wp--preset--color--line);
  background: var(--wp--preset--color--mineral-100);
  transition: border-color 220ms ease, opacity 220ms ease;
}

.jk-student-tile img {
  filter: grayscale(100%) contrast(0.96);
  opacity: 0.88;
  transition: filter 400ms var(--jk-ease), opacity 300ms ease, transform 600ms var(--jk-ease);
}

.jk-student-tile::after {
  inset: 48% 0 0;
  background: linear-gradient(180deg, transparent, rgba(11, 13, 14, 0.62));
}

.jk-student-tile:hover {
  border-color: color-mix(in srgb, var(--wp--preset--color--water) 45%, var(--wp--preset--color--line));
}

.jk-student-tile:hover img {
  filter: grayscale(55%) contrast(0.98);
  opacity: 1;
  transform: scale(1.02);
}

.jk-student-degree {
  top: 0.45rem;
  left: 0.45rem;
  min-height: 1.2rem;
  padding: 0.18rem 0.36rem;
  font-size: 0.52rem;
}

.jk-student-tile figcaption {
  right: 0.55rem;
  bottom: 0.5rem;
  left: 0.55rem;
}

.jk-student-tile figcaption strong {
  font-size: clamp(0.7rem, 0.9vw, 0.88rem);
}

.jk-student-mosaic__note {
  max-width: 54rem;
  margin: 1.1rem 0 0;
  text-align: left;
}

@media (max-width: 1050px) {
  .jk-current-student {
    grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  }

  .jk-student-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .jk-current-student {
    grid-template-columns: 1fr;
  }

  .jk-current-student__portrait {
    aspect-ratio: 16 / 10;
  }

  .jk-current-student__portrait::after {
    border-right: 0;
    border-bottom: 1px solid var(--wp--preset--color--line);
  }

  .jk-current-student__content {
    padding: clamp(1.65rem, 7vw, 2.5rem);
  }

  .jk-supervision-ledger {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .jk-supervision-ledger__breakdown {
    padding-top: 1.5rem;
    border-top: 1px solid var(--wp--preset--color--line);
  }

  .jk-supervision-ledger__breakdown > div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .jk-student-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 359px) {
  .jk-supervision-ledger__breakdown {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .jk-supervision-ledger__breakdown > div {
    padding: 0;
    border-left: 0;
  }

  .jk-student-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.jk-supervision-record {
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-supervision-record > h3 {
  margin-top: var(--wp--preset--spacing--60);
}

.jk-supervision-record > h3 small {
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: var(--wp--preset--font-size--small);
}

.jk-supervision-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--wp--preset--spacing--50);
  border: 1px solid var(--wp--preset--color--line);
  background: var(--wp--preset--color--line);
}

.jk-supervision-stats > div {
  padding: var(--wp--preset--spacing--40);
  background: var(--wp--preset--color--chalk);
}

.jk-supervision-stats strong {
  display: block;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
}

.jk-supervision-stats span {
  display: block;
  margin-top: 0.6rem;
  color: var(--wp--preset--color--ink-soft);
  font-size: var(--wp--preset--font-size--small);
}

.jk-supervision-stats--compact {
  margin-top: 0;
}

.jk-supervision-stats--compact > div {
  padding: var(--wp--preset--spacing--30);
}

.jk-supervision-stats--compact strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.jk-record-disclosure {
  margin-top: var(--wp--preset--spacing--50);
  border-top: 1px solid var(--wp--preset--color--line);
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.jk-record-disclosure > summary {
  position: relative;
  padding: 1.25rem 2.5rem 1.25rem 0;
  color: var(--wp--preset--color--water);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.jk-record-disclosure > summary::-webkit-details-marker {
  display: none;
}

.jk-record-disclosure > summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  content: "+";
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.6rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.jk-record-disclosure[open] > summary::after {
  content: "−";
}

.jk-record-disclosure[open] > .jk-supervision-record,
.jk-record-disclosure[open] > .jk-complete-bibliography {
  padding-top: var(--wp--preset--spacing--40);
  padding-bottom: var(--wp--preset--spacing--50);
}

.jk-supervision-list {
  margin: var(--wp--preset--spacing--40) 0 0;
  padding: 0;
  border-top: 0;
  list-style: none;
}

.jk-supervision-list > li {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding: 0.95rem 0;
  scroll-margin-top: calc(var(--jk-header-height) + 1.5rem);
}

.jk-supervision-list > li:not(.jk-supervision-year-continuation) {
  padding-top: 1.35rem;
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-supervision-list > li:first-child {
  border-top: 0;
}

.jk-supervision-list > li.jk-supervision-year-continuation .jk-supervision-entry {
  grid-column: 2;
}

.jk-supervision-date,
.jk-supervision-entry small {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.jk-supervision-date {
  color: var(--wp--preset--color--water);
  font-size: 0.75rem;
  font-weight: 600;
}

.jk-supervision-entry strong {
  display: block;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(0.98rem, 1.08vw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
}

.jk-supervision-entry p {
  margin: 0.35rem 0 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.jk-supervision-entry small {
  color: var(--wp--preset--color--ink-soft);
}

.jk-supervision-details {
  margin-top: var(--wp--preset--spacing--40);
  border-top: 1px solid var(--wp--preset--color--line);
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.jk-supervision-details > summary {
  padding: 1.25rem 0;
  color: var(--wp--preset--color--water);
  cursor: pointer;
  font-weight: 600;
}

/* Teaching metrics, editorial supervision, and shared expandable records. */
.jk-teaching-intro {
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.jk-teaching-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 2rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-teaching-metrics > div {
  min-width: 0;
  padding: 0 1rem;
  border-left: 1px solid var(--wp--preset--color--line);
}

.jk-teaching-metrics > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.jk-teaching-metrics dt,
.jk-teaching-metrics dd {
  margin: 0;
}

.jk-teaching-metrics dt {
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.jk-teaching-metrics dd {
  margin-top: 0.4rem;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.35rem, 2.25vw, 1.8rem);
  line-height: 1;
}

.jk-supervision-showcase {
  overflow: visible;
  background: var(--wp--preset--color--chalk) !important;
}

.jk-supervision-showcase__inner {
  padding-top: clamp(2.5rem, 4vw, 4rem);
}

.jk-supervision-showcase::before,
.jk-current-student::before {
  display: none;
  content: none;
}

.jk-supervision-heading {
  display: block;
  max-width: 44rem;
}

.jk-current-student {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.75rem, 7vw, 7rem);
  min-height: 0;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  overflow: visible;
  align-items: center;
  border: 0;
  border-radius: 0;
  color: var(--wp--preset--color--ink);
  background: transparent;
  box-shadow: none;
}

.jk-current-student__portrait {
  min-height: 0;
  margin: 0;
  overflow: visible;
  background: transparent;
}

.jk-current-student__portrait::after {
  display: none;
  content: none;
}

.jk-current-student__portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(22%) saturate(0.82) contrast(0.98);
  opacity: 1;
}

.jk-current-student__portrait figcaption {
  position: static;
  display: block;
  width: auto;
  margin: 0;
  padding: 0.65rem 0 0;
  border: 0;
  border-radius: 0;
  color: var(--wp--preset--color--ink-soft);
  background: transparent;
  font-size: 0.7rem;
  letter-spacing: 0.065em;
  line-height: 1.4;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.jk-current-student__content {
  padding: 0;
}

.jk-current-student__content .jk-card-label {
  margin: 0 0 0.85rem;
  color: var(--wp--preset--color--water);
}

.jk-current-student__meta {
  margin: 1.25rem 0 0;
  color: var(--wp--preset--color--ink-soft);
}

.jk-current-student h3 {
  max-width: 13ch;
  color: var(--wp--preset--color--ink);
  font-size: clamp(2.45rem, 4vw, 3.75rem);
  line-height: 0.98;
}

.jk-current-student__lead {
  max-width: 39rem;
  margin-top: 1.35rem;
  padding: 0;
  border: 0;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.55;
}

.jk-current-student__content > p:not([class]) {
  max-width: 43rem;
  color: var(--wp--preset--color--ink-soft);
}

.jk-current-student__topics {
  gap: 0.35rem 0;
  margin-top: 1.5rem;
}

.jk-current-student__topics li {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--wp--preset--color--water);
  background: transparent;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jk-current-student__topics li + li::before {
  margin: 0 0.7rem;
  color: var(--jk-magenta);
  content: "·";
}

.jk-student-history {
  margin-top: clamp(4.25rem, 7vw, 6.5rem);
  scroll-margin-top: calc(var(--jk-header-compact-height) + 1.5rem);
}

.jk-student-history__heading h3 {
  max-width: 16ch;
  font-size: var(--wp--preset--font-size--h-3);
  line-height: 1.22;
}

.jk-supervision-ledger {
  display: grid;
  grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  margin-top: clamp(2rem, 3.5vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border: 0;
  border-radius: var(--jk-radius-card);
  background: var(--wp--preset--color--mineral-100);
}

.jk-supervision-ledger::before {
  display: none;
  content: none;
}

.jk-supervision-ledger__total {
  gap: 0.2rem 1.15rem;
}

.jk-supervision-ledger__total strong {
  color: var(--wp--preset--color--ink);
  font-size: clamp(4rem, 6.5vw, 6.25rem);
}

.jk-supervision-ledger__breakdown {
  gap: clamp(1.15rem, 3vw, 2.75rem);
}

.jk-supervision-ledger__breakdown > div {
  padding: 0;
  border: 0;
}

.jk-supervision-ledger__breakdown > div:nth-child(1) dd {
  color: var(--wp--preset--color--ink);
}

.jk-supervision-ledger__breakdown > div:nth-child(2) dd {
  color: var(--wp--preset--color--water);
}

.jk-supervision-ledger__breakdown > div:nth-child(3) dd {
  color: var(--jk-magenta);
}

.jk-supervision-ledger__breakdown dd {
  font-size: clamp(2.25rem, 3.6vw, 3.45rem);
}

.jk-degree-legend {
  gap: 0.45rem;
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.jk-degree-legend span,
.jk-student-degree {
  border: 0;
  color: var(--wp--preset--color--chalk);
  box-shadow: none;
}

.jk-degree-legend .jk-degree-legend__phd,
.jk-student-tile--phd > .jk-student-degree,
.jk-student-degree--phd {
  border: 0;
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--ink);
}

.jk-degree-legend .jk-degree-legend__msc,
.jk-student-tile--msc > .jk-student-degree,
.jk-student-degree--msc {
  border: 0;
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--water);
}

.jk-degree-legend .jk-degree-legend__bsc,
.jk-student-tile--bsc > .jk-student-degree,
.jk-student-degree--bsc {
  border: 0;
  color: var(--wp--preset--color--ink);
  background: var(--jk-magenta);
}

.jk-student-mosaic {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-rows: auto;
  gap: clamp(0.5rem, 0.85vw, 0.72rem);
  margin-top: 0.85rem;
}

.jk-student-tile {
  aspect-ratio: 1;
  border: 0;
  border-radius: calc(var(--jk-radius-card) * 0.7);
  background: var(--wp--preset--color--mineral-100);
  box-shadow: none;
}

.jk-student-tile img {
  filter: grayscale(86%) saturate(0.55) contrast(0.98);
  opacity: 0.96;
}

.jk-student-tile::after {
  inset: 46% 0 0;
  background: linear-gradient(180deg, transparent, rgba(11, 13, 14, 0.7));
}

.jk-student-tile:hover {
  border-color: transparent;
}

.jk-student-tile:hover img {
  filter: grayscale(28%) saturate(0.78) contrast(0.98);
  opacity: 1;
  transform: scale(1.025);
}

.jk-student-degree {
  top: 0.5rem;
  left: 0.5rem;
  min-height: 1.35rem;
  padding: 0.22rem 0.43rem;
  font-size: 0.58rem;
}

.jk-student-tile figcaption {
  right: 0.6rem;
  bottom: 0.55rem;
  left: 0.6rem;
}

.jk-student-tile figcaption strong {
  font-size: clamp(0.8rem, 1vw, 0.96rem);
}

.jk-student-tile figcaption span {
  font-size: 0.65rem;
}

.jk-student-mosaic__note {
  max-width: 54rem;
  margin: 1.15rem 0 0;
  text-align: left;
}

.jk-supervision-record {
  border-top: 0;
}

.jk-supervision-record > h3 {
  margin: clamp(2.5rem, 4vw, 3.75rem) 0 0;
  font-size: clamp(1.5rem, 2.1vw, 1.8rem) !important;
  line-height: 1.15;
}

.jk-supervision-record > h3:first-child {
  margin-top: 0;
}

.jk-supervision-record > h3 small {
  margin-left: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.jk-disclosure,
.jk-record-disclosure,
.jk-supervision-details,
.jk-bibliography-details {
  margin-top: var(--wp--preset--spacing--40);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.jk-disclosure--primary,
.jk-record-disclosure--supervision {
  margin-top: clamp(2.5rem, 4.5vw, 4rem);
}

.jk-disclosure > summary,
.jk-record-disclosure > summary,
.jk-supervision-details > summary,
.jk-bibliography-details > summary {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 46rem;
  min-height: 4.6rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  align-items: center;
  padding: 0.9rem 0;
  border: 0;
  border-radius: 0;
  color: var(--wp--preset--color--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 400;
  list-style: none;
  transition: color 180ms ease;
}

.jk-disclosure > summary::-webkit-details-marker,
.jk-record-disclosure > summary::-webkit-details-marker,
.jk-supervision-details > summary::-webkit-details-marker,
.jk-bibliography-details > summary::-webkit-details-marker {
  display: none;
}

.jk-disclosure > summary::after,
.jk-record-disclosure > summary::after,
.jk-supervision-details > summary::after,
.jk-bibliography-details > summary::after {
  display: none;
  content: none;
}

.jk-disclosure[open] > summary,
.jk-record-disclosure[open] > summary,
.jk-supervision-details[open] > summary,
.jk-bibliography-details[open] > summary {
  color: var(--wp--preset--color--ink);
  background: transparent;
}

.jk-disclosure > summary:hover {
  background: transparent;
}

.jk-disclosure > summary:focus-visible {
  outline: 0;
  box-shadow: none;
}

.jk-disclosure > summary:focus-visible .jk-disclosure__toggle {
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--wp--preset--color--water) 28%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--line) 82%, transparent);
}

.jk-disclosure__copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.jk-disclosure__eyebrow {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.25;
  text-transform: uppercase;
}

.jk-disclosure__title {
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.1;
  transition: color 180ms ease;
}

.jk-disclosure > summary:hover .jk-disclosure__title {
  color: var(--wp--preset--color--water);
}

.jk-disclosure__meta {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.jk-disclosure__meta::before {
  display: block;
  width: 0.32rem;
  height: 0.32rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--jk-magenta);
  content: "";
}

.jk-disclosure__toggle {
  position: relative;
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wp--preset--color--water) 7%, var(--wp--preset--color--mineral-50));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--water) 20%, transparent);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.jk-disclosure__toggle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.46rem;
  height: 0.46rem;
  border-right: 1.5px solid var(--wp--preset--color--water);
  border-bottom: 1.5px solid var(--wp--preset--color--water);
  content: "";
  transform: translate(-50%, -68%) rotate(45deg);
  transition: transform 220ms var(--jk-ease);
}

.jk-disclosure[open] > summary .jk-disclosure__toggle::before {
  border-color: var(--wp--preset--color--chalk);
  transform: translate(-50%, -30%) rotate(225deg);
}

.jk-disclosure[open] > summary .jk-disclosure__toggle,
.jk-disclosure > summary:hover .jk-disclosure__toggle {
  background: var(--wp--preset--color--water);
  box-shadow: none;
}

.jk-disclosure > summary:hover .jk-disclosure__toggle::before {
  border-color: var(--wp--preset--color--chalk);
}

.jk-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.jk-typographic-disclosure {
  margin-top: var(--wp--preset--spacing--60);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.jk-typographic-disclosure--primary {
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
}

.jk-typographic-disclosure > summary {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-height: 0;
  gap: clamp(0.58rem, 1.2vw, 0.78rem);
  align-items: center;
  padding: 0.48rem 0 0.62rem;
  border: 0;
  border-radius: 0;
  color: var(--wp--preset--color--ink);
  background: transparent;
  cursor: pointer;
  list-style: none;
}

.jk-typographic-disclosure > summary::-webkit-details-marker {
  display: none;
}

.jk-typographic-disclosure > summary::after {
  display: none;
  content: none;
}

.jk-typographic-disclosure__title {
  min-width: 0;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  transition: color 180ms ease;
}

.jk-typographic-disclosure--h2 .jk-typographic-disclosure__title {
  font-size: var(--wp--preset--font-size--h-2);
  line-height: 1.1;
}

.jk-typographic-disclosure--h3 .jk-typographic-disclosure__title {
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}

.jk-typographic-disclosure__count {
  flex: 0 0 auto;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1;
}

.jk-typographic-disclosure__chevron {
  display: block;
  width: 0.56rem;
  height: 0.56rem;
  flex: 0 0 auto;
  margin-top: -0.18rem;
  border-right: 1.6px solid var(--wp--preset--color--water);
  border-bottom: 1.6px solid var(--wp--preset--color--water);
  transform: rotate(45deg);
  transition: margin-top 220ms var(--jk-ease), transform 220ms var(--jk-ease);
}

.jk-typographic-disclosure[open] .jk-typographic-disclosure__chevron {
  margin-top: 0.18rem;
  transform: rotate(225deg);
}

.jk-typographic-disclosure > summary:hover .jk-typographic-disclosure__title {
  color: var(--wp--preset--color--water);
}

.jk-typographic-disclosure > summary:focus-visible {
  outline: 0;
  box-shadow: none;
}

.jk-typographic-disclosure > summary:focus-visible .jk-typographic-disclosure__title {
  color: var(--wp--preset--color--water);
}

.jk-typographic-disclosure > summary:focus-visible .jk-typographic-disclosure__chevron {
  filter: drop-shadow(0 0 0.22rem color-mix(in srgb, var(--wp--preset--color--water) 42%, transparent));
}

.jk-typographic-disclosure__label--open {
  display: none;
}

.jk-typographic-disclosure[open] .jk-typographic-disclosure__label--closed {
  display: none;
}

.jk-typographic-disclosure[open] .jk-typographic-disclosure__label--open {
  display: block;
}

.jk-typographic-disclosure > .jk-bibliography-list {
  margin-top: var(--wp--preset--spacing--40);
  padding: 0;
  border-top: 0;
}

.jk-typographic-disclosure > .jk-bibliography-list > li:first-child {
  border-top: 0;
}

.jk-typographic-disclosure[open] > .jk-supervision-record {
  padding: clamp(2.25rem, 4vw, 3.5rem) 0 0;
}

.jk-disclosure--nested > .jk-supervision-list,
.jk-disclosure--nested > .jk-bibliography-list {
  margin-top: var(--wp--preset--spacing--30);
  padding: 0;
  border-top: 0;
}

.jk-disclosure--nested > .jk-bibliography-list > li:first-child {
  border-top: 0;
}

.jk-record-disclosure[open] > .jk-supervision-record,
.jk-record-disclosure[open] > .jk-complete-bibliography {
  padding: clamp(2.25rem, 4vw, 3.5rem) 0 0;
}

.jk-record-disclosure[open] .jk-supervision-list {
  border-top: 0;
}

@media (max-width: 1050px) {
  .jk-current-student {
    grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .jk-student-mosaic {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .jk-supervision-heading,
  .jk-student-history__heading,
  .jk-current-student,
  .jk-supervision-ledger {
    grid-template-columns: 1fr;
  }

  .jk-current-student {
    gap: 2rem;
    margin-top: 2.25rem;
  }

  .jk-current-student__portrait {
    max-width: 30rem;
    aspect-ratio: auto;
  }

  .jk-current-student__portrait::after {
    border: 0;
  }

  .jk-current-student__portrait img {
    aspect-ratio: 5 / 4;
    object-position: 50% 35%;
  }

  .jk-current-student__content {
    padding: 0;
    margin-top: 0.75rem;
  }

  .jk-supervision-ledger {
    gap: 1.75rem;
  }

  .jk-supervision-ledger__breakdown {
    padding-top: 0;
    border-top: 0;
  }

  .jk-supervision-ledger__breakdown > div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .jk-student-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jk-student-history {
    margin-top: 3.75rem;
  }
}

@media (max-width: 480px) {
  .jk-current-student__topics li + li::before {
    margin-right: 0.45rem;
    margin-left: 0.45rem;
  }

  .jk-supervision-ledger {
    padding: 1.5rem;
  }

  .jk-teaching-metrics {
    gap: 0.7rem;
    margin-top: 1.6rem;
    padding-top: 1.1rem;
  }

  .jk-teaching-metrics > div {
    padding: 0 0.65rem;
  }

  .jk-teaching-metrics dt {
    font-size: 0.56rem;
  }

  .jk-teaching-metrics dd {
    font-size: 1.25rem;
  }

  .jk-supervision-ledger__breakdown {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .jk-supervision-ledger__breakdown dd {
    font-size: 2.1rem;
  }

  .jk-student-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .jk-disclosure > summary,
  .jk-record-disclosure > summary,
  .jk-supervision-details > summary,
  .jk-bibliography-details > summary {
    max-width: none;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    padding: 0.85rem 0;
  }

  .jk-disclosure__meta {
    display: none;
  }

  .jk-typographic-disclosure > summary {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    min-height: 0;
    grid-template-columns: none;
    gap: 0.55rem;
    padding: 0.45rem 0 0.58rem;
  }

  .jk-typographic-disclosure--h2 .jk-typographic-disclosure__title {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .jk-record-disclosure[open] > .jk-supervision-record,
  .jk-record-disclosure[open] > .jk-complete-bibliography {
    padding-top: 2rem;
  }
}

.jk-site-footer {
  position: relative;
  margin-top: 0;
  color: var(--wp--preset--color--mineral-100);
  background: linear-gradient(135deg, #102326 0%, var(--wp--preset--color--ink) 68%);
}

.jk-site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 8%, color-mix(in srgb, var(--wp--preset--color--water-light) 75%, transparent) 38%, color-mix(in srgb, var(--jk-magenta) 70%, transparent) 62%, transparent 92%);
  content: "";
}

.jk-site-footer a {
  color: var(--wp--preset--color--mineral-100);
}

.jk-site-footer .wp-block-site-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--wp--preset--color--mineral-100);
}

.jk-site-footer .wp-block-site-title::before {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  background: transparent url("assets/brand/jannes-kordilla-mark.svg") center / contain no-repeat;
  content: "";
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.jk-footer-grid {
  display: grid !important;
  grid-template-columns: minmax(16rem, 1.35fr) minmax(16rem, 0.9fr) minmax(9rem, 0.55fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.jk-footer-links {
  display: grid;
  gap: 0.42rem;
  margin: 0.8rem 0 0;
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.jk-footer-links li + li {
  margin-top: 0;
}

.jk-footer-links--nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
}

.jk-site-footer .jk-card-label {
  margin-bottom: 0;
}

.jk-site-footer .jk-text-link {
  margin-top: 0.65rem;
  font-size: 0.9rem;
}

.jk-affiliation-strip {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--wp--preset--color--line);
  border-bottom: 1px solid var(--wp--preset--color--line);
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--mineral-100);
}

.jk-affiliation-strip-inner {
  display: grid !important;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}

.jk-affiliation-strip .jk-card-label {
  margin: 0;
}

.jk-affiliation-logos {
  display: flex;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  justify-content: flex-start;
}

.jk-affiliation-link {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--jk-radius-card) / 2);
  line-height: 0;
  transition: box-shadow 160ms ease;
}

.jk-affiliation-link:hover {
  box-shadow: 0 0 0 0.28rem color-mix(in srgb, var(--wp--preset--color--water) 12%, transparent);
}

.jk-affiliation-link--idaea {
  width: min(17rem, 62vw);
  aspect-ratio: 1680 / 312;
  background: transparent url("assets/brand/idaea-full-logo-colour-eng.png") center / contain no-repeat;
}

.jk-affiliation-link--csic {
  width: min(10.25rem, 40vw);
  aspect-ratio: 1600 / 393;
  background: transparent url("assets/brand/csic-logo-transparent.png") center / contain no-repeat;
}

@media (max-width: 760px) {
  .jk-affiliation-strip-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.jk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.16);
}

.jk-footer-bottom p {
  margin-top: 0;
  margin-bottom: 0;
  opacity: 0.78;
}

.jk-page-hero {
  padding-top: var(--wp--preset--spacing--70);
  padding-bottom: var(--wp--preset--spacing--60);
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.jk-entry-content > * {
  margin-block-start: 1.5rem;
}

.jk-entry-content > :is(h2, h3, h4) {
  margin-block-start: 2.25em;
}

.jk-pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: var(--wp--preset--spacing--60);
}

.jk-pagination .wp-block-query-pagination-numbers {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}

.jk-pagination :is(
  .wp-block-query-pagination-previous,
  .wp-block-query-pagination-next,
  .page-numbers
) {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 999px;
  text-decoration: none;
}

.jk-pagination :is(
  .wp-block-query-pagination-previous,
  .wp-block-query-pagination-next,
  a.page-numbers
):hover {
  border-color: var(--wp--preset--color--water);
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--mineral-100);
}

.jk-pagination .page-numbers.current {
  border-color: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--chalk);
  background: var(--wp--preset--color--ink);
}

.jk-search-form {
  max-width: 42rem;
  margin-top: var(--wp--preset--spacing--40);
  margin-bottom: var(--wp--preset--spacing--50);
}

.jk-search-form--centered {
  margin-right: auto;
  margin-left: auto;
}

.jk-search-form .wp-block-search__inside-wrapper {
  gap: 0.5rem;
}

.jk-search-form .wp-block-search__input {
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: var(--jk-radius-card);
  color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--chalk);
  font: inherit;
}

.jk-search-form .wp-block-search__button {
  min-height: 2.75rem;
  margin-left: 0;
  border-radius: 999px;
}

.jk-empty-state {
  max-width: 42rem;
  margin-top: var(--wp--preset--spacing--50);
  padding: var(--wp--preset--spacing--40);
  border-left: 3px solid var(--wp--preset--color--water);
  background: var(--wp--preset--color--mineral-100);
}

@media (max-width: 620px) {
  .jk-pagination {
    justify-content: center;
  }

  .jk-pagination .wp-block-query-pagination-numbers {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .jk-pagination :is(
    .wp-block-query-pagination-previous,
    .wp-block-query-pagination-next
  ) {
    flex: 1 1 8rem;
  }

  .jk-search-form .wp-block-search__inside-wrapper {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .jk-search-form .wp-block-search__input,
  .jk-search-form .wp-block-search__button {
    width: 100%;
    flex-basis: 100%;
  }
}

.jk-404-code {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

@media (max-width: 1080px) {
  .jk-site-header .wp-block-navigation {
    font-size: 0.82rem;
  }

  .jk-feature-card.is-featured,
  .jk-feature-card.is-featured + .jk-feature-card,
  .jk-feature-grid > * {
    grid-column: span 6;
  }
}

@media (max-width: 900px) {
  :root {
    --jk-header-height: 4.5rem;
  }

  .jk-site-header .wp-block-navigation {
    margin-left: auto;
  }

  .jk-visual-section {
    min-height: auto;
  }

  .jk-visual-sticky {
    position: relative;
    top: auto;
    min-height: auto;
    padding-top: var(--wp--preset--spacing--70);
    padding-bottom: var(--wp--preset--spacing--70);
  }

  .jk-visual-layout,
  .jk-profile-layout,
  .jk-profile-hero-grid {
    grid-template-columns: 1fr;
  }

  .jk-profile-hero-copy {
    max-width: 44rem;
  }

  .jk-profile-hero-portrait {
    width: min(100%, 27rem);
    justify-self: start;
  }

  .jk-profile-trajectory::before {
    background-position: 58% center;
    opacity: 0.34;
  }

  .jk-hero-integrated,
  .jk-hero-inner {
    min-height: auto;
  }

  .jk-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--wp--preset--spacing--60);
    padding-top: var(--wp--preset--spacing--60);
    padding-bottom: var(--wp--preset--spacing--60);
  }

  .jk-hero-media {
    inset: 10% -42% -8% 4%;
    opacity: 0.62;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  }

  .jk-hero-integrated::before {
    background: linear-gradient(90deg, #0b0d0e 0%, rgba(11, 13, 14, 0.95) 65%, rgba(11, 13, 14, 0.54) 100%);
  }

  .jk-hero-context {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
  }

  .jk-hero-context .jk-hero-progress,
  .jk-hero-context .jk-visual-state {
    grid-column: 1 / -1;
  }

  .jk-opening-visual-inner {
    opacity: 1;
  }

  .jk-opening-timeline-inner {
    width: min(100% - 2.5rem, 48rem);
  }

  .jk-opening-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--wp--preset--spacing--50);
  }

  .jk-opening-sequence .jk-hero-copy {
    width: min(100%, 42rem);
  }

  .jk-opening-panel {
    min-height: 64svh;
  }

  .jk-opening-hero {
    min-height: calc(100svh - var(--jk-header-height));
  }

  .jk-opening-step-inner,
  .jk-opening-step.is-offset .jk-opening-step-inner {
    width: min(100% - 2.5rem, 42rem);
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .jk-opening-panel-final {
    min-height: 108svh;
  }

  .jk-opening-synthesis-inner {
    width: min(100% - 2.5rem, 42rem);
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .jk-opening-synthesis-inner h2 {
    font-size: clamp(3rem, 8vw, 4.8rem) !important;
  }

  .jk-relevance-inner {
    grid-template-columns: 1fr;
    gap: var(--wp--preset--spacing--50);
  }

  .jk-relevance-copy {
    padding-top: 0;
  }

  .jk-section-header {
    grid-template-columns: 7rem minmax(0, 1fr);
  }

  .jk-section-header > :last-child {
    grid-column: 2;
    justify-self: start;
  }

  .jk-selected-layout {
    grid-template-columns: 1fr;
    gap: var(--wp--preset--spacing--60);
  }

  .jk-selected-companions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
  }

  .jk-scale-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-scale-step:nth-child(2)::after {
    display: none;
  }

  .jk-activity-list {
    width: 100%;
  }

  .jk-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .jk-footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .jk-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-cv-layout {
    grid-template-columns: 1fr;
  }

  .jk-cv-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .jk-cv-sidebar-card,
  .jk-cv-sidebar-card:first-child {
    padding: var(--wp--preset--spacing--40);
    border: 1px solid var(--wp--preset--color--line);
  }
}

@media (max-width: 782px) {
  .admin-bar .wp-site-blocks > header.wp-block-template-part {
    top: 46px;
  }

  .admin-bar .jk-site-header {
    top: 46px;
  }

  /*
   * Include WordPress's default-overlay conditions so this rule outranks the
   * core white-overlay defaults instead of losing on selector specificity.
   */
  .jk-site-header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
    padding: 1.5rem;
    color: var(--wp--preset--color--mineral-50);
    background: var(--wp--preset--color--ink);
  }

  .jk-site-header .wp-block-navigation:not(.has-text-color) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
    color: var(--wp--preset--color--mineral-50);
  }

  .admin-bar .jk-site-header .wp-block-navigation__responsive-container.is-menu-open {
    height: calc(100dvh - 46px);
    max-height: calc(100dvh - 46px);
  }

  .jk-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    color: inherit;
    font-family: var(--wp--preset--font-family--body);
    font-size: clamp(1.35rem, 5vw, 1.65rem);
    font-weight: 600;
    line-height: 1.15;
  }

  .jk-site-header .wp-block-navigation__responsive-container.is-menu-open .jk-nav-external .wp-block-navigation-item__content {
    border-color: currentColor;
    font-family: var(--wp--preset--font-family--body);
    font-size: 0;
  }

  .jk-site-header .wp-block-navigation__responsive-container.is-menu-open .jk-nav-external .wp-block-navigation-item__content::before {
    background-image: var(--jk-openkarst-logo-white);
  }

  .jk-feature-grid {
    grid-template-columns: 1fr;
  }

  .jk-feature-card.is-featured,
  .jk-feature-card.is-featured + .jk-feature-card,
  .jk-feature-grid > * {
    grid-column: 1;
  }
}

@supports not (height: 100dvh) {
  @media (max-width: 782px) {
    .jk-site-header .wp-block-navigation__responsive-container.is-menu-open {
      height: 100vh;
      max-height: 100vh;
    }

    .admin-bar .jk-site-header .wp-block-navigation__responsive-container.is-menu-open {
      height: calc(100vh - 46px);
      max-height: calc(100vh - 46px);
    }
  }
}

@media (max-width: 782px) and (max-height: 600px) {
  .jk-site-header .wp-block-navigation__responsive-container.is-menu-open {
    padding: 0.75rem 1.25rem;
  }

  .jk-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 3rem;
  }

  .jk-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    gap: 0.35rem;
  }

  .jk-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    font-size: 1.25rem;
    line-height: 1.1;
  }
}

/*
 * Portrait tablets retain the continuous video, but art-direct its 16:9 frame
 * into a taller visual band. Stage-specific horizontal positions keep each
 * scientific focal area clear of the alternating narrative copy.
 */
@media (min-width: 621px) and (max-width: 1100px) and (orientation: portrait) {
  .jk-opening-visual-inner {
    left: 38%;
    width: auto;
    height: 70%;
    transition: left 520ms var(--jk-ease);
  }

  .jk-opening-sequence[data-jk-stage="surface"] .jk-opening-visual-inner {
    left: 28%;
  }

  .jk-opening-sequence[data-jk-stage="vadose"] .jk-opening-visual-inner {
    left: 60%;
  }

  .jk-opening-sequence[data-jk-stage="groundwater"] .jk-opening-visual-inner {
    left: 22%;
  }

  .jk-opening-sequence[data-jk-stage="synthesis"] .jk-opening-visual-inner {
    left: 35%;
  }

  .jk-opening-panel {
    min-height: 68svh;
  }

  .jk-opening-step-inner,
  .jk-opening-step.is-offset .jk-opening-step-inner {
    width: min(34rem, calc(100% - 2.5rem));
    max-width: 34rem;
  }

  .jk-opening-step-inner {
    margin-right: auto !important;
    margin-left: clamp(1.25rem, 4vw, 4rem) !important;
  }

  .jk-opening-step.is-offset .jk-opening-step-inner {
    margin-right: clamp(1.25rem, 4vw, 4rem) !important;
    margin-left: auto !important;
  }
}

@media (max-width: 620px) {
  .jk-trajectory-stage {
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .jk-scale-bridge {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .jk-scale-bridge-label,
  .jk-scale-bridge-items span {
    font-size: 0.65rem;
    letter-spacing: 0.045em;
  }

  .jk-hero-title {
    max-width: none;
  }

  .jk-hero-integrated .jk-hero-title {
    font-size: clamp(3.4rem, 20vw, 5.3rem) !important;
  }

  .jk-opening-sequence .jk-hero-title {
    font-size: clamp(3.4rem, 20vw, 5.3rem) !important;
  }

  .jk-opening-sequence .jk-hero-title-statement {
    max-width: 11ch;
    font-size: clamp(2.85rem, 13vw, 3.7rem) !important;
  }

  .jk-opening-visual-inner {
    inset: 0;
    width: auto;
    height: auto;
    aspect-ratio: auto;
    opacity: 1;
    background-position: 80% 100%;
    background-size: auto 60%;
    transform: none;
  }

  .jk-opening-visual-inner::before {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(180deg, #fff 0%, #fff 38%, rgba(255, 255, 255, 0.96) 57%, rgba(255, 255, 255, 0.78) 70%, transparent 82%);
    content: "";
    pointer-events: none;
  }

  .jk-opening-visual-inner::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 91%, #fff 100%),
      linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.94) 2.5%, rgba(255, 255, 255, 0.48) 6.5%, rgba(255, 255, 255, 0) 12%, rgba(255, 255, 255, 0) 88%, rgba(255, 255, 255, 0.48) 93.5%, rgba(255, 255, 255, 0.94) 97.5%, #fff 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 4.5%, rgba(255, 255, 255, 0) 96%, rgba(255, 255, 255, 0.72) 100%);
  }

  .jk-opening-mobile-stages {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    pointer-events: none;
  }

  .jk-opening-mobile-stages [data-jk-mobile-stage] {
    position: absolute;
    inset: 0;
    background-position: var(--jk-mobile-stage-x, 80%) var(--jk-mobile-stage-y, 100%);
    background-repeat: no-repeat;
    background-size: auto var(--jk-mobile-stage-size, 60%);
    opacity: 0;
    transition: opacity 420ms ease;
  }

  .jk-opening-mobile-stages [data-jk-mobile-stage="surface"] {
    --jk-mobile-stage-x: 85%;
    --jk-mobile-stage-y: 160%;
    --jk-mobile-stage-size: 68%;
  }

  .jk-opening-mobile-stages [data-jk-mobile-stage="vadose"] {
    --jk-mobile-stage-x: 20%;
    --jk-mobile-stage-size: 68%;
  }

  .jk-opening-mobile-stages [data-jk-mobile-stage="groundwater"] {
    --jk-mobile-stage-x: 80%;
    --jk-mobile-stage-size: 68%;
  }

  .jk-opening-mobile-stages [data-jk-mobile-stage="synthesis"] {
    --jk-mobile-stage-x: 68%;
    --jk-mobile-stage-y: 115%;
    --jk-mobile-stage-size: 58%;
  }

  .jk-opening-sequence.has-mobile-stage-sequence[data-jk-stage="integrated"] [data-jk-mobile-stage="integrated"],
  .jk-opening-sequence.has-mobile-stage-sequence[data-jk-stage="surface"] [data-jk-mobile-stage="surface"],
  .jk-opening-sequence.has-mobile-stage-sequence[data-jk-stage="vadose"] [data-jk-mobile-stage="vadose"],
  .jk-opening-sequence.has-mobile-stage-sequence[data-jk-stage="groundwater"] [data-jk-mobile-stage="groundwater"],
  .jk-opening-sequence.has-mobile-stage-sequence[data-jk-stage="synthesis"] [data-jk-mobile-stage="synthesis"] {
    opacity: 1;
  }

  .jk-opening-panel {
    min-height: 62svh;
    padding-top: var(--wp--preset--spacing--50);
    padding-bottom: var(--wp--preset--spacing--50);
  }

  .jk-opening-hero {
    min-height: calc(100svh - var(--jk-header-height));
  }

  .jk-opening-timeline {
    display: none;
  }

  .jk-opening-synthesis {
    min-height: auto;
    padding-top: clamp(3rem, 8vh, 5rem);
    padding-bottom: clamp(4rem, 10vh, 6rem);
    background: #fff;
  }

  .jk-opening-sequence:not(.is-sequence-ready) .jk-opening-synthesis-fallback,
  .jk-opening-synthesis-fallback {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: min(100% - 1.5rem, 46rem);
    margin: 0 auto clamp(2rem, 6vh, 4rem);
    transform: none;
  }

  .jk-opening-synthesis-inner {
    --jk-synthesis-reveal: 1;
    position: relative;
    top: auto;
    opacity: 1;
    transform: none;
  }

  .jk-opening-synthesis-inner h2 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 12vw, 4rem) !important;
  }

  .jk-opening-sequence.has-mobile-stage-sequence .jk-opening-synthesis {
    min-height: 72svh;
    background: transparent;
  }

  .jk-opening-sequence.has-mobile-stage-sequence .jk-opening-synthesis-fallback {
    display: none;
  }

  .jk-opening-hero-grid {
    padding-bottom: clamp(5.5rem, 11vh, 6.5rem);
  }

  .jk-opening-sequence .jk-hero-note {
    max-width: 20rem;
  }

  .jk-opening-sequence .jk-hero-copy .is-style-text .wp-block-button__link {
    padding-right: 0.95rem;
    padding-left: 0.95rem;
    border: 1px solid var(--wp--preset--color--line);
    background: var(--wp--preset--color--chalk);
  }

  .jk-opening-sequence .jk-hero-copy .is-style-text .wp-block-button__link:hover {
    background: var(--wp--preset--color--mineral-100);
  }

  .jk-hero-media {
    inset: 24% -82% -5% 0;
    opacity: 0.48;
  }

  .jk-hero-context {
    display: none;
  }

  .jk-section-header {
    grid-template-columns: 1fr;
  }

  .jk-section-header > :last-child {
    grid-column: 1;
  }

  .jk-relevance-outcomes,
  .jk-selected-companions,
  .jk-scale-path {
    grid-template-columns: 1fr;
  }

  .jk-concept-chain--horizontal {
    grid-template-columns: 1fr;
  }

  .jk-selected-network-visual {
    min-height: 15rem;
  }

  .jk-selected-image {
    height: clamp(10rem, 52vw, 15rem);
  }

  .jk-scale-step {
    min-height: auto;
  }

  .jk-scale-step:not(:last-child)::after,
  .jk-scale-step:nth-child(2)::after {
    top: auto;
    right: 1.25rem;
    bottom: -0.55rem;
    display: grid;
    content: "↓";
    transform: none;
  }

  .jk-activity-item,
  .jk-publication-item--compact,
  .jk-method-index li {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .jk-activity-item {
    padding-bottom: 0.85rem;
  }

  .jk-activity-meta {
    display: flex;
    gap: 0.8rem;
    align-items: baseline;
  }

  .jk-publication-item--compact .jk-text-link {
    margin-top: 0.35rem;
  }

  .jk-internal-hero--compact h1 {
    font-size: clamp(2.65rem, 11.5vw, 3.2rem) !important;
  }

  .jk-publication-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .jk-publication-item .jk-text-link {
    margin-top: 0.5rem;
  }

  .jk-footer-grid {
    grid-template-columns: 1fr;
  }

  .jk-footer-grid > :first-child {
    grid-column: auto;
  }

  .jk-capability-grid,
  .jk-stat-grid,
  .jk-supervision-stats,
  .jk-project-list,
  .jk-update-archive-grid,
  .jk-cv-sidebar {
    grid-template-columns: 1fr;
  }

  .jk-stat {
    min-height: auto;
  }

  .jk-record-row,
  .jk-archive-row,
  .jk-bibliography-list > li,
  .jk-supervision-list > li,
  .jk-timeline-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .jk-bibliography-list > li.jk-bib-year-continuation .jk-bib-entry,
  .jk-supervision-list > li.jk-supervision-year-continuation .jk-supervision-entry {
    grid-column: 1;
  }

  .jk-bibliography-list > li > .jk-doi-link {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    grid-column: 1;
    justify-self: start;
  }

  .jk-topic-list {
    columns: 1;
  }

  .jk-download-placeholder {
    grid-template-columns: 1fr;
  }

  .jk-download-placeholder strong {
    grid-row: auto;
    grid-column: auto;
  }

  .jk-profile-record-layout .jk-timeline-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

@media (max-width: 620px) and (min-height: 760px) {
  .jk-opening-hero-grid {
    padding-bottom: clamp(10.5rem, 22vh, 11.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .jk-visual-section {
    --jk-visual-progress: 1 !important;
    min-height: auto;
  }

  .jk-visual-sticky {
    position: relative;
    top: auto;
    min-height: auto;
    padding-top: var(--wp--preset--spacing--70);
    padding-bottom: var(--wp--preset--spacing--70);
  }

  .jk-hero-integrated {
    --jk-visual-progress: 0.72 !important;
  }

  .jk-hero-media {
    transform: none;
  }

  .jk-opening-sequence {
    --jk-visual-progress: 0 !important;
  }

  .jk-opening-synthesis-inner {
    --jk-synthesis-reveal: 1;
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .jk-card,
  .jk-nav-external .wp-block-navigation-item__content,
  .jk-card-index {
    border: 1px solid CanvasText;
  }

  .jk-nav-external .wp-block-navigation-item__content,
  .jk-preview-header-nav .jk-nav-external,
  .jk-openkarst-cta .wp-block-button__link,
  .jk-research-application[data-jk-application-state="openkarst"] [data-jk-lens-current] {
    width: auto;
    height: auto;
    background: none;
    font-size: inherit;
  }

  .jk-nav-external .wp-block-navigation-item__content::before,
  .jk-preview-header-nav .jk-nav-external::before,
  .jk-openkarst-cta .wp-block-button__link::before,
  .jk-openkarst-cta .wp-block-button__link::after {
    display: none;
  }
}

/* Shared paths: a lighter, chronological alumni constellation. */
.jk-supervision-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  align-items: baseline;
  margin-top: clamp(1.4rem, 2.6vw, 2.15rem);
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.035em;
}

.jk-supervision-summary > span {
  display: inline-flex;
  gap: 0.3rem;
  align-items: baseline;
}

.jk-supervision-summary strong {
  color: var(--wp--preset--color--ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.jk-supervision-summary__total {
  margin-right: 0.15rem;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0;
}

.jk-supervision-summary__total strong {
  margin-right: 0.18rem;
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.8;
}

.jk-supervision-summary__separator {
  color: color-mix(in srgb, var(--wp--preset--color--ink-soft) 45%, transparent);
}

.jk-student-history .jk-degree-legend {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.3rem;
}

.jk-student-history .jk-degree-legend span {
  display: inline-flex;
  min-height: 0;
  gap: 0.38rem;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--wp--preset--color--ink-soft);
  background: transparent;
  box-shadow: none;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.jk-student-history .jk-degree-legend span::before {
  display: block;
  width: 0.62rem;
  height: 0.62rem;
  border: 1.35px solid currentColor;
  border-radius: 50%;
  content: "";
}

.jk-student-history .jk-degree-legend__phd {
  color: color-mix(in srgb, var(--wp--preset--color--ink) 54%, transparent);
}

.jk-student-history .jk-degree-legend__msc {
  color: color-mix(in srgb, var(--wp--preset--color--water) 64%, transparent);
}

.jk-student-history .jk-degree-legend__bsc {
  color: color-mix(in srgb, var(--jk-magenta) 44%, transparent);
}

.jk-student-history .jk-student-mosaic {
  position: relative;
  display: grid;
  isolation: isolate;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-rows: auto;
  gap: clamp(3.25rem, 5vw, 5.25rem) clamp(1rem, 2.4vw, 2.35rem);
  margin-top: clamp(1.9rem, 3.8vw, 3.3rem);
  padding: clamp(2rem, 3.8vw, 3.4rem) clamp(0.25rem, 1vw, 1rem) clamp(1rem, 2vw, 2rem);
}

.jk-student-mosaic__path {
  position: absolute;
  z-index: 0;
  inset: 0 0 1.5rem;
  width: 100%;
  height: calc(100% - 1.5rem);
  overflow: visible;
  color: var(--wp--preset--color--water);
  opacity: 0.11;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.jk-student-mosaic__path path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.jk-student-history .jk-student-mosaic:has(.jk-student-tile:hover) .jk-student-mosaic__path {
  opacity: 0.2;
}

.jk-student-history .jk-student-tile {
  --jk-path-offset: 0rem;
  --jk-node-ring: color-mix(in srgb, var(--wp--preset--color--ink-soft) 28%, transparent);
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  aspect-ratio: auto;
  justify-items: center;
  align-content: start;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: translateY(var(--jk-path-offset));
  transition: opacity 450ms ease, transform 650ms var(--jk-ease);
  transition-delay: var(--jk-node-delay, 0ms);
}

.jk-student-history .jk-student-tile:nth-of-type(6n + 2),
.jk-student-history .jk-student-tile:nth-of-type(6n + 4),
.jk-student-history .jk-student-tile:nth-of-type(6n + 6) {
  --jk-path-offset: 1.25rem;
}

.jk-student-history .jk-student-tile--phd {
  --jk-node-ring: color-mix(in srgb, var(--wp--preset--color--ink) 30%, transparent);
}

.jk-student-history .jk-student-tile--msc {
  --jk-node-ring: color-mix(in srgb, var(--wp--preset--color--water) 42%, transparent);
}

.jk-student-history .jk-student-tile--bsc {
  --jk-node-ring: color-mix(in srgb, var(--jk-magenta) 30%, transparent);
}

.jk-student-history .jk-student-tile::after {
  display: none;
  content: none;
}

.jk-student-history .jk-student-tile img {
  display: block;
  width: min(7.35rem, 78%);
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(82%) saturate(0.55) contrast(0.98);
  opacity: 0.92;
  box-shadow:
    0 0 0 0.27rem var(--wp--preset--color--chalk),
    0 0 0 0.36rem var(--jk-node-ring);
  transform: none;
  transition:
    filter 480ms var(--jk-ease),
    opacity 300ms ease,
    box-shadow 300ms ease,
    transform 650ms var(--jk-ease);
}

.jk-student-history .jk-student-tile--phd:has(.jk-student-degree--msc) img {
  box-shadow:
    0 0 0 0.22rem var(--wp--preset--color--chalk),
    0 0 0 0.31rem color-mix(in srgb, var(--wp--preset--color--ink) 30%, transparent),
    0 0 0 0.53rem var(--wp--preset--color--chalk),
    0 0 0 0.62rem color-mix(in srgb, var(--wp--preset--color--water) 42%, transparent);
}

.jk-student-history .jk-student-tile--msc:has(.jk-student-degree--bsc) img {
  box-shadow:
    0 0 0 0.22rem var(--wp--preset--color--chalk),
    0 0 0 0.31rem color-mix(in srgb, var(--wp--preset--color--water) 42%, transparent),
    0 0 0 0.53rem var(--wp--preset--color--chalk),
    0 0 0 0.62rem color-mix(in srgb, var(--jk-magenta) 30%, transparent);
}

.jk-student-history .jk-student-tile:hover {
  z-index: 2;
  border-color: transparent;
}

.jk-student-history .jk-student-tile:hover img {
  filter: grayscale(18%) saturate(0.8) contrast(0.99);
  opacity: 1;
  transform: scale(1.045) translateY(-0.18rem);
}

.jk-student-history .jk-student-degree,
.jk-student-history .jk-student-degrees {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.jk-student-history .jk-student-tile figcaption {
  position: static;
  display: grid;
  gap: 0.16rem;
  justify-items: center;
  margin-top: 0.85rem;
  color: var(--wp--preset--color--ink);
  text-align: center;
  text-shadow: none;
  opacity: 0.72;
  transform: translateY(0.1rem);
  transition: opacity 250ms ease, transform 400ms var(--jk-ease);
}

.jk-student-history .jk-student-tile figcaption strong {
  max-width: 15ch;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
  font-weight: 500;
  line-height: 1.24;
}

.jk-student-history .jk-student-tile figcaption span {
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.045em;
}

.jk-student-history .jk-student-tile:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.jk-student-history .jk-student-mosaic:has(.jk-student-tile:hover) .jk-student-tile:not(:hover) {
  opacity: 0.76;
}

.jk-student-history.is-motion-ready:not(.is-visible) .jk-student-tile {
  opacity: 0;
  transform: translateY(calc(var(--jk-path-offset) + 0.7rem));
}

.jk-student-history.is-settled .jk-student-tile {
  transition-delay: 0ms;
}

@media (max-width: 1050px) {
  .jk-student-history .jk-student-mosaic {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3.8rem clamp(0.9rem, 2vw, 1.8rem);
  }

  .jk-student-history .jk-student-tile:nth-of-type(n) {
    --jk-path-offset: 0rem;
  }

  .jk-student-history .jk-student-tile:nth-of-type(5n + 2),
  .jk-student-history .jk-student-tile:nth-of-type(5n + 4) {
    --jk-path-offset: 1rem;
  }
}

@media (max-width: 760px) {
  .jk-student-history .jk-student-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.2rem clamp(0.75rem, 3vw, 1.35rem);
    padding-top: 1.5rem;
  }

  .jk-student-mosaic__path {
    opacity: 0.065;
  }

  .jk-student-history .jk-student-tile:nth-of-type(n) {
    --jk-path-offset: 0rem;
  }

  .jk-student-history .jk-student-tile:nth-of-type(3n + 2) {
    --jk-path-offset: 0.8rem;
  }

  .jk-student-history .jk-student-tile img {
    width: min(7rem, 76%);
  }

  .jk-student-history .jk-student-tile figcaption {
    opacity: 0.82;
  }
}

@media (max-width: 480px) {
  .jk-supervision-summary__total {
    flex-basis: 100%;
    margin-bottom: 0.15rem;
  }

  .jk-supervision-summary__separator {
    display: none !important;
  }

  .jk-student-history .jk-degree-legend {
    margin-top: 1.1rem;
  }

  .jk-student-history .jk-student-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 0.8rem;
    padding: 1.25rem 0 0.75rem;
  }

  .jk-student-mosaic__path {
    display: none;
  }

  .jk-student-history .jk-student-tile:nth-of-type(n) {
    --jk-path-offset: 0rem;
  }

  .jk-student-history .jk-student-tile:nth-of-type(even) {
    --jk-path-offset: 0.75rem;
  }

  .jk-student-history .jk-student-tile img {
    width: min(6.4rem, 72%);
  }

  .jk-student-history .jk-student-tile figcaption strong {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jk-student-history .jk-student-tile,
  .jk-student-history .jk-student-tile img,
  .jk-student-history .jk-student-tile figcaption,
  .jk-student-mosaic__path {
    transition: none;
  }
}

/* Alumni timeline: finishing years are the structure; degree colours are quiet markers. */
.jk-student-history .jk-supervision-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
  align-items: center;
  margin-top: clamp(1.25rem, 2.4vw, 1.9rem);
  color: var(--wp--preset--color--ink-soft);
}

.jk-student-history .jk-supervision-meta > span {
  display: inline-flex;
  gap: 0.32rem;
  align-items: center;
}

.jk-student-history .jk-supervision-meta__total {
  margin-right: 0.2rem;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(0.83rem, 1vw, 0.93rem);
  font-weight: 450;
}

.jk-student-history .jk-supervision-meta__total strong {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.05em;
  font-weight: 550;
}

.jk-student-history .jk-supervision-meta__degree {
  --jk-degree-dot: color-mix(in srgb, var(--wp--preset--color--ink) 78%, transparent);
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.jk-student-history .jk-supervision-meta__degree::before {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--jk-degree-dot);
  content: "";
}

.jk-student-history .jk-supervision-meta__degree strong {
  color: var(--wp--preset--color--ink);
  font-weight: 700;
}

.jk-student-history .jk-supervision-meta__degree--phd {
  --jk-degree-dot: color-mix(in srgb, var(--wp--preset--color--ink) 78%, transparent);
}

.jk-student-history .jk-supervision-meta__degree--msc {
  --jk-degree-dot: color-mix(in srgb, var(--wp--preset--color--water) 90%, transparent);
}

.jk-student-history .jk-supervision-meta__degree--bsc {
  --jk-degree-dot: color-mix(in srgb, var(--jk-magenta) 78%, transparent);
}

.jk-student-history .jk-student-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2.8rem, 4.4vw, 4.15rem) clamp(2rem, 3.5vw, 3.25rem);
  align-items: start;
  margin-top: clamp(2.75rem, 5.5vw, 4.8rem);
}

.jk-student-history .jk-student-year {
  flex: 0 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.05rem;
  inline-size: max-content;
  max-inline-size: 100%;
  min-width: 0;
  margin: 0;
}

.jk-student-history .jk-student-year--wide {
  flex-basis: auto;
}

.jk-student-history .jk-student-year h4 {
  margin: 0;
  color: color-mix(in srgb, var(--wp--preset--color--ink-soft) 76%, transparent);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.2;
}

.jk-student-history .jk-student-year__students {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.8rem clamp(0.7rem, 1.3vw, 1.15rem);
  align-items: start;
  min-width: 0;
}

.jk-student-history .jk-student-timeline .jk-student-tile {
  --jk-path-offset: 0rem;
  display: grid;
  width: clamp(5.8rem, 7.4vw, 6.8rem);
  min-width: 0;
  justify-items: center;
  align-content: start;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 600ms var(--jk-ease);
  transition-delay: var(--jk-node-delay, 0ms);
}

.jk-student-history .jk-student-timeline .jk-student-tile::after {
  display: none;
  content: none;
}

.jk-student-history .jk-student-timeline .jk-student-tile img {
  display: block;
  width: clamp(4.7rem, 5.8vw, 5.55rem);
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent);
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(72%) saturate(0.62) contrast(0.98);
  opacity: 0.9;
  box-shadow: 0 0.65rem 1.8rem color-mix(in srgb, var(--wp--preset--color--ink) 7%, transparent);
  transform: none;
  transition:
    filter 480ms var(--jk-ease),
    opacity 300ms ease,
    border-color 300ms ease,
    box-shadow 450ms var(--jk-ease),
    transform 550ms var(--jk-ease);
}

.jk-student-history .jk-student-timeline .jk-student-tile:hover img {
  border-color: color-mix(in srgb, var(--wp--preset--color--water) 20%, transparent);
  filter: grayscale(12%) saturate(0.82) contrast(0.99);
  opacity: 1;
  box-shadow: 0 0.85rem 2rem color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent);
  transform: translateY(-0.16rem) scale(1.025);
}

.jk-student-history .jk-student-timeline .jk-student-tile figcaption {
  position: static;
  display: grid;
  gap: 0.42rem;
  justify-items: center;
  margin-top: 0.72rem;
  color: var(--wp--preset--color--ink);
  text-align: center;
  text-shadow: none;
  opacity: 1;
  transform: none;
  transition: opacity 250ms ease;
}

.jk-student-history .jk-student-timeline .jk-student-tile figcaption strong {
  max-width: 14ch;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(0.69rem, 0.82vw, 0.77rem);
  font-weight: 500;
  line-height: 1.25;
  opacity: 0.76;
  transition: opacity 250ms ease;
}

.jk-student-history .jk-student-timeline .jk-student-tile:hover figcaption {
  opacity: 1;
}

.jk-student-history .jk-student-timeline .jk-student-tile:hover figcaption strong {
  opacity: 1;
}

.jk-student-history .jk-student-timeline .jk-student-degrees {
  position: static !important;
  display: flex !important;
  width: auto !important;
  height: auto !important;
  gap: 0.28rem;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  border: 0 !important;
}

.jk-student-history .jk-student-timeline .jk-student-degree {
  --jk-degree-dot: color-mix(in srgb, var(--wp--preset--color--ink) 78%, transparent);
  position: static !important;
  display: block !important;
  width: 0.34rem !important;
  height: 0.34rem !important;
  min-width: 0 !important;
  min-height: 0 !important;
  flex: 0 0 0.34rem;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  border: 0 !important;
  border-radius: 50%;
  background: var(--jk-degree-dot);
  box-shadow: none;
  font-size: 0;
  line-height: 0;
}

.jk-student-history .jk-student-timeline .jk-student-degree--phd {
  --jk-degree-dot: color-mix(in srgb, var(--wp--preset--color--ink) 78%, transparent);
}

.jk-student-history .jk-student-timeline .jk-student-degree--msc {
  --jk-degree-dot: color-mix(in srgb, var(--wp--preset--color--water) 90%, transparent);
}

.jk-student-history .jk-student-timeline .jk-student-degree--bsc {
  --jk-degree-dot: color-mix(in srgb, var(--jk-magenta) 78%, transparent);
}

.jk-student-history.is-motion-ready:not(.is-visible) .jk-student-timeline .jk-student-tile {
  opacity: 0;
  transform: translateY(0.55rem);
}

.jk-student-history.is-settled .jk-student-timeline .jk-student-tile {
  transition-delay: 0ms;
}

@media (max-width: 900px) {
  .jk-student-history .jk-student-timeline {
    gap: 3.25rem clamp(1.75rem, 5vw, 2.6rem);
  }

  .jk-student-history .jk-student-year--wide {
    flex-basis: 100%;
    inline-size: 100%;
  }

  .jk-student-history .jk-student-year--wide .jk-student-year__students {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .jk-student-history .jk-supervision-meta {
    gap: 0.65rem 0.95rem;
  }

  .jk-student-history .jk-supervision-meta__total {
    flex-basis: 100%;
    margin-bottom: 0.1rem;
  }

  .jk-student-history .jk-student-timeline {
    gap: 2.9rem;
    margin-top: 2.8rem;
  }

  .jk-student-history .jk-student-year {
    flex-basis: 100%;
    inline-size: 100%;
    gap: 1.2rem;
  }

  .jk-student-history .jk-student-year h4 {
    margin: 0;
  }

  .jk-student-history .jk-student-year__students {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.9rem 0.75rem;
  }

  .jk-student-history .jk-student-timeline .jk-student-tile {
    width: auto;
  }

  .jk-student-history .jk-student-timeline .jk-student-tile img {
    width: min(5.25rem, 72%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jk-student-history .jk-student-timeline .jk-student-tile,
  .jk-student-history .jk-student-timeline .jk-student-tile img,
  .jk-student-history .jk-student-timeline .jk-student-tile figcaption {
    transition: none;
  }
}

/* Current supervision: more detail than the alumni record without a second hero. */
.jk-supervision-showcase .jk-current-student {
  display: grid;
  grid-template-columns: clamp(8.5rem, 11vw, 9.75rem) minmax(0, 1fr);
  gap: clamp(1.8rem, 3.6vw, 3.1rem);
  align-items: center;
  max-width: 58rem;
  min-height: 0;
  margin-top: clamp(2rem, 3.5vw, 3rem);
}

.jk-supervision-showcase .jk-current-student__portrait {
  width: 100%;
  max-width: none;
  margin: 0;
}

.jk-supervision-showcase .jk-current-student__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: grayscale(58%) saturate(0.68) contrast(0.98);
  box-shadow: 0 0.75rem 2rem color-mix(in srgb, var(--wp--preset--color--ink) 7%, transparent);
}

.jk-supervision-showcase .jk-current-student__content {
  min-width: 0;
  padding: 0;
  margin: 0;
}

.jk-supervision-showcase .jk-current-student__content .jk-card-label {
  margin: 0 0 0.48rem;
}

.jk-supervision-showcase .jk-current-student h3 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.jk-supervision-showcase .jk-current-student__lead {
  max-width: 43rem;
  margin-top: 0.72rem;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.5;
}

.jk-supervision-showcase .jk-current-student__meta {
  margin: 0.78rem 0 0;
  font-size: 0.63rem;
  line-height: 1.35;
}

@media (max-width: 620px) {
  .jk-supervision-showcase .jk-current-student {
    grid-template-columns: clamp(5.9rem, 25vw, 7.25rem) minmax(0, 1fr);
    gap: clamp(1.1rem, 4.5vw, 1.5rem);
    align-items: start;
    margin-top: 2rem;
  }

  .jk-supervision-showcase .jk-current-student h3 {
    font-size: clamp(1.42rem, 6vw, 1.75rem);
  }

  .jk-supervision-showcase .jk-current-student__lead {
    margin-top: 0.58rem;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .jk-supervision-showcase .jk-current-student__meta {
    margin-top: 0.62rem;
    font-size: 0.58rem;
  }
}

/* Section 03 non-process lenses.
   These scenes use the same restrained grammar as the process foundation:
   hairline structure, thin explanatory links, one clean bend per route, and
   a single stronger accent only where rapid or decision-critical behaviour
   is being explained. Data curves retain their natural shape. */
.jk-research-application--system {
  --jk-lens-line-hairline: 1.1;
  --jk-lens-line-context: 1.85;
  --jk-lens-line-primary: 2.4;
  --jk-lens-line-emphasis: 3.25;
}

.jk-research-application--system :is(
  .jk-research-application-scene--resources,
  .jk-research-application-scene--vulnerability,
  .jk-research-application-scene--response
) .jk-system-annotation-wash {
  fill: rgba(255, 255, 255, 0.6);
}

.jk-research-application--system :is(
  .jk-research-application-scene--resources,
  .jk-research-application-scene--vulnerability,
  .jk-research-application-scene--response
) .jk-system-chart-backdrop {
  fill: rgba(255, 255, 255, 0.8);
  stroke: color-mix(in srgb, var(--jk-science-water) 11%, transparent);
  stroke-width: var(--jk-lens-line-hairline);
}

.jk-research-application--system :is(
  .jk-research-application-scene--resources,
  .jk-research-application-scene--vulnerability,
  .jk-research-application-scene--response
) text {
  stroke-width: 2.7px;
}

.jk-research-application--system :is(
  .jk-system-chart-axis,
  .jk-system-observation-event,
  .jk-system-management-line
) {
  stroke-width: var(--jk-lens-line-hairline);
}

.jk-research-application--system :is(
  .jk-system-storage-release,
  .jk-system-causal-link,
  .jk-system-observation-link,
  .jk-system-joint-link,
  .jk-system-source-infiltration,
  .jk-system-vulnerability-link,
  .jk-system-monitor-link
) {
  stroke-width: var(--jk-lens-line-context);
}

.jk-research-application--system :is(
  .jk-system-event-response,
  .jk-system-head-scenario,
  .jk-system-discharge-scenario,
  .jk-system-observation-line,
  .jk-system-forecast-line,
  .jk-system-travel-line
) {
  stroke-width: var(--jk-lens-line-primary);
}

.jk-research-application--system :is(
  .jk-system-fast-transfer,
  .jk-system-preferential-path,
  .jk-system-event-conduit-transfer,
  .jk-system-event-response--multidomain,
  .jk-system-confidence-arrow,
  .jk-system-source-infiltration.is-high,
  .jk-system-vulnerability-link.is-high,
  .jk-system-protection-link
) {
  stroke-width: var(--jk-lens-line-emphasis);
}

.jk-research-application--system .jk-system-event-conduit-transfer {
  fill: none;
  stroke: var(--jk-science-rapid);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 1.25px rgba(255, 255, 255, 0.96));
}

.jk-research-application--system .jk-system-event-rain line {
  stroke-width: 1.7;
}

.jk-research-application--system .jk-system-diffuse-paths path {
  stroke-width: 1.65;
}

.jk-research-application--system .jk-system-vadose-store-field,
.jk-research-application--system .jk-system-phreatic-store-field {
  stroke-width: 1.15;
}

.jk-research-application--system .jk-system-fast-transfer {
  stroke-width: 3.1;
}

.jk-research-application--system .jk-system-event-response--effective {
  stroke-width: 1.8;
}

.jk-research-application--system :is(
  .jk-system-head-scenario,
  .jk-system-discharge-scenario
) {
  stroke-width: 2.05;
}

.jk-research-application--system .jk-system-discharge-scenario.is-baseline {
  stroke-width: 1.8;
}

.jk-research-application--system :is(
  .jk-system-observation-link,
  .jk-system-joint-link
) {
  stroke-width: 1.8;
}

.jk-research-application--system .jk-system-joint-link.is-magenta {
  stroke-width: 2.2;
}

.jk-research-application--system :is(
  .jk-system-joint-inputs circle,
  .jk-system-joint-core,
  .jk-system-property-halo
) {
  stroke-width: 1.65;
}

.jk-research-application--system .jk-system-confidence-arrow {
  stroke-width: 2.65;
}

.jk-research-application--system :is(
  .jk-system-observation-node,
  .jk-system-monitor-node,
  .jk-system-source-marker,
  .jk-system-event-anchor
) {
  stroke-width: 1.85;
}

.jk-research-application--system .jk-system-vulnerability-zones path,
.jk-research-application--system .jk-system-protection-zone.is-control {
  stroke-width: 1.05;
}

.jk-research-application--system .jk-system-source-infiltration {
  stroke-width: 1.7;
}

.jk-research-application--system .jk-system-source-infiltration.is-high {
  stroke-width: 2.85;
}

.jk-research-application--system .jk-system-vulnerability-link.is-medium {
  stroke-width: 1.8;
}

.jk-research-application--system .jk-system-vulnerability-link.is-low {
  stroke-width: 1.5;
  stroke-dasharray: 0.055 0.045;
}

.jk-research-application--system .jk-system-vulnerability-link.is-high {
  stroke-width: 2.9;
}

.jk-research-application--system .jk-system-travel-line--rapid {
  stroke-width: 2.35;
}

.jk-research-application--system .jk-system-travel-line--medium {
  stroke-width: 1.95;
}

.jk-research-application--system .jk-system-travel-line--slow {
  stroke-width: 1.65;
}

.jk-research-application--system .jk-system-protection-link {
  stroke-width: 2.85;
}

.jk-research-application--system .jk-system-monitor-link {
  stroke-width: 1.25;
  stroke-dasharray: 5 7;
}

/* Each selected lens resolves in one compact pass and then stays still. */
.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] :is(
  .jk-system-vadose-store-field,
  .jk-system-phreatic-store-field
) {
  animation-duration: 420ms;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-phreatic-store-field {
  animation-delay: 160ms;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-storage-release {
  animation: jk-system-draw 620ms var(--jk-ease) 300ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-fast-transfer {
  animation: jk-system-draw 620ms var(--jk-ease) 460ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-event-rain line {
  animation: jk-system-draw 400ms var(--jk-ease) 40ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-diffuse-paths path {
  animation: jk-system-draw 520ms var(--jk-ease) 180ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-preferential-path {
  animation: jk-system-draw 520ms var(--jk-ease) 300ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-event-conduit-transfer {
  animation: jk-system-draw 460ms var(--jk-ease) 620ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-event-response {
  animation: jk-system-line-emphasis 540ms var(--jk-ease) 480ms both;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="event"] .jk-system-event-ripple {
  animation-duration: 560ms;
  animation-delay: 720ms;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="management"] :is(
  .jk-system-head-scenario,
  .jk-system-discharge-scenario
) {
  animation: jk-system-line-emphasis 620ms var(--jk-ease) 180ms both;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="management"] .jk-system-causal-link {
  animation: jk-system-draw 520ms var(--jk-ease) 300ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-link {
  animation: jk-system-draw 480ms var(--jk-ease) 120ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-node {
  animation: jk-system-node-in 320ms var(--jk-ease) 320ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-line {
  animation: jk-system-line-emphasis 620ms var(--jk-ease) 380ms both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-line--temperature {
  animation-delay: 470ms;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-line--solute {
  animation-delay: 560ms;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-joint-link {
  animation: jk-system-draw 520ms var(--jk-ease) 140ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="properties"] :is(
  .jk-system-joint-inputs circle,
  .jk-system-joint-core
) {
  animation: jk-system-node-in 360ms var(--jk-ease) 300ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-property-halo {
  animation: jk-system-field-in 400ms var(--jk-ease) 580ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="forecast"] :is(
  .jk-system-uncertainty-band--wide,
  .jk-system-uncertainty-band--narrow
) {
  animation-duration: 420ms;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="forecast"] .jk-system-confidence-arrow {
  animation: jk-system-draw 420ms var(--jk-ease) 360ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="forecast"] .jk-system-forecast-line {
  animation: jk-system-line-emphasis 560ms var(--jk-ease) 480ms both;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="sources"] .jk-system-vulnerability-zones path {
  animation-duration: 420ms;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="sources"] .jk-system-source-marker {
  animation: jk-system-node-in 320ms var(--jk-ease) 260ms forwards;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="sources"] .jk-system-source-infiltration {
  animation: jk-system-draw 500ms var(--jk-ease) 400ms forwards;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link {
  animation: jk-system-draw 620ms var(--jk-ease) 80ms forwards;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-line {
  animation: jk-system-line-emphasis 580ms var(--jk-ease) 420ms both;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="protection"] .jk-system-protection-zone {
  animation: jk-system-field-in 420ms var(--jk-ease) 60ms forwards;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="protection"] .jk-system-protection-link {
  animation: jk-system-draw 600ms var(--jk-ease) 260ms forwards;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="protection"] .jk-system-monitor-node {
  animation: jk-system-node-in 320ms var(--jk-ease) 520ms forwards;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="protection"] .jk-system-monitor-link {
  animation: jk-system-draw 460ms var(--jk-ease) 620ms forwards;
}

.jk-research-application.is-motion-disabled .jk-system-event-conduit-transfer {
  stroke-dashoffset: 0;
}

@media (max-width: 620px) {
  .jk-research-system-overlays .jk-system-event-conduit-transfer {
    display: none;
  }
}

/* openKARST keeps the measured network geometry, but adopts the same line
   hierarchy and restrained annotations as the explanatory SVG scenes. */
.jk-openkarst-demo-surface-domain {
  stroke-width: 0.7;
}

.jk-openkarst-demo-surface-outline {
  stroke-width: 1;
}

.jk-openkarst-demo-recharge-link {
  stroke-linejoin: round;
}

.jk-openkarst-demo-reservoir-link {
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.jk-openkarst-demo-reservoir-field {
  stroke-width: 0.85;
}

.jk-openkarst-demo-waterline {
  stroke-width: 1.15;
}

.jk-openkarst-demo-waterline.is-near-crown,
.jk-openkarst-demo-depth-stem.is-near-crown {
  stroke-width: 1.55;
}

.jk-openkarst-demo-waterline.is-pressurized,
.jk-openkarst-demo-depth-stem.is-pressurized {
  stroke-width: 1.75;
}

.jk-openkarst-demo-depth-stem {
  stroke-width: 1.05;
}

.jk-openkarst-demo-edge.is-constriction {
  stroke-dasharray: 5 4;
}

.jk-openkarst-demo-axis {
  stroke-width: 1;
}

.jk-openkarst-demo-hydro-line {
  stroke-width: 2;
}

.jk-openkarst-demo-phase {
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.jk-openkarst-demo-cursor {
  stroke-width: 1.4;
}

.jk-openkarst-demo-spring-link {
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.jk-openkarst-demo-legend line {
  stroke-width: 3.2;
}

.jk-openkarst-demo-legend line.is-input {
  stroke-width: 1.8;
  stroke-dasharray: 4 5;
}

.jk-openkarst-demo-legend line.is-exchange {
  stroke-width: 1.5;
}

.jk-openkarst-demo-legend line.is-depth,
.jk-openkarst-demo-metric-legend line.is-depth {
  stroke-width: 1.8;
}

.jk-openkarst-demo-metric-legend line.is-pressure {
  stroke-width: 3.2;
}

.jk-openkarst-demo :is(
  .jk-openkarst-demo-kicker,
  .jk-openkarst-demo-network-label,
  .jk-openkarst-demo-axis-title,
  .jk-openkarst-demo-surface-label
) {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.jk-openkarst-demo :is(
  .jk-openkarst-demo-note,
  .jk-openkarst-demo-axis-unit,
  .jk-openkarst-demo-phase-label,
  .jk-openkarst-demo-surface-key text,
  .jk-openkarst-demo-metric-legend text
) {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.012em;
}

/* Section 03 data graphics: keep measurements visually precise rather than
   illustrative. Temperature and heat use a neutral graphite, while all data
   curves sit below the explanatory-arrow hierarchy in stroke weight. */
.jk-research-application--system {
  --jk-science-signal: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-research-system-overlays :is(
  .jk-system-storage-memory-line,
  .jk-system-event-response,
  .jk-system-scenario-line,
  .jk-system-process-response,
  .jk-system-observation-line,
  .jk-system-forecast-line,
  .jk-system-travel-line,
  .jk-system-head-scenario,
  .jk-system-discharge-scenario,
  .jk-system-arrival-curve
) {
  stroke-width: 1.5;
  filter: drop-shadow(0 0 0.65px rgba(255, 255, 255, 0.92));
}

.jk-research-application--system .jk-research-system-overlays :is(
  .jk-system-process-response,
  .jk-system-event-response--multidomain
) {
  stroke-width: 1.85;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-event-response--effective {
  stroke-width: 1.35;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-discharge-scenario.is-baseline {
  stroke-width: 1.25;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-travel-line--rapid {
  stroke-width: 1.75;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-travel-line--medium {
  stroke-width: 1.5;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-travel-line--slow {
  stroke-width: 1.3;
}

.jk-openkarst-demo-hydro-line {
  stroke-width: 1.6;
}

/* Observed responses: three co-located spring records share one event. */

.jk-research-application--system .jk-system-observation-line--discharge {
  stroke: var(--jk-science-water);
}

.jk-research-application--system .jk-system-observation-line--temperature,
.jk-research-application--system .jk-system-signal-label.is-temperature {
  stroke: var(--wp--preset--color--ink-soft);
  fill: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-observation-line {
  fill: none;
}

.jk-research-application--system .jk-system-observation-line--solute {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-research-system-overlays .jk-system-observation-link {
  stroke-width: 1.5;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-line--discharge {
  animation-delay: 440ms;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-line--temperature {
  animation-delay: 520ms;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-line--solute {
  animation-delay: 600ms;
}

/* Section 03: visible System understanding → Groundwater decisions →
   Spatial simulation narrative.
   The stable whole-system image establishes a common physical canvas, while
   only the final openKARST result retains exploratory controls. */
.jk-research-system-arc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(3rem, 6vw, 5.5rem) 0 0;
  border-top: 1px solid var(--wp--preset--color--line);
  border-bottom: 1px solid var(--wp--preset--color--line);
}

.jk-research-system-arc a {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.18rem 0.68rem;
  min-width: 0;
  padding: clamp(1rem, 1.8vw, 1.35rem) clamp(0.8rem, 1.8vw, 1.35rem);
  color: var(--wp--preset--color--ink);
  text-decoration: none;
}

.jk-research-system-arc a + a {
  border-left: 1px solid var(--wp--preset--color--line);
}

.jk-research-system-arc a::after {
  position: absolute;
  right: 1rem;
  bottom: -1px;
  left: 1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--wp--preset--color--water), var(--jk-magenta));
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 180ms var(--jk-ease), transform 180ms var(--jk-ease);
}

.jk-research-system-arc a:hover::after,
.jk-research-system-arc a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.jk-research-system-arc small {
  grid-row: 1 / span 2;
  padding-top: 0.12rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.jk-research-system-arc strong {
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  font-weight: 650;
}

.jk-research-system-arc span {
  color: var(--wp--preset--color--ink-soft);
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  line-height: 1.42;
}

.jk-research-system-phase {
  scroll-margin-top: calc(var(--jk-header-compact-height) + 5.25rem);
  margin-top: clamp(4.5rem, 8vw, 8rem);
}

.jk-research-system-phase-header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.4rem, 4vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(1.7rem, 3vw, 2.8rem);
}

.jk-research-system-phase-header > div {
  display: grid;
  gap: 0.55rem;
}

.jk-research-system-phase-header h3 {
  max-width: 21ch;
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.05;
}

.jk-research-system-phase-header > p {
  max-width: 45rem;
  margin: 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: clamp(0.98rem, 1.45vw, 1.18rem);
  line-height: 1.62;
}

.jk-research-system-overview,
.jk-research-decision-card,
.jk-research-decision-card figure {
  margin: 0;
}

.jk-research-system-overview {
  overflow: hidden;
  border-top: 1px solid var(--wp--preset--color--line);
  border-bottom: 1px solid var(--wp--preset--color--line);
  background: #fff;
}

.jk-research-system-overview-image {
  overflow: hidden;
  aspect-ratio: 16 / 8.2;
  background: #fff;
}

.jk-research-system-overview-image img,
.jk-research-decision-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.jk-research-system-chain {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--wp--preset--color--line);
  list-style: none;
}

.jk-research-system-chain li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.18rem 0.55rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.45rem);
}

.jk-research-system-chain li + li {
  border-left: 1px solid var(--wp--preset--color--line);
}

.jk-research-system-chain li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  top: 1.42rem;
  right: -0.3rem;
  width: 0.58rem;
  height: 0.58rem;
  border-top: 1px solid var(--wp--preset--color--water);
  border-right: 1px solid var(--wp--preset--color--water);
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.jk-research-system-chain small,
.jk-research-decision-card ol small {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.jk-research-system-chain strong {
  font-size: 0.86rem;
  font-weight: 650;
}

.jk-research-system-chain span {
  grid-column: 2;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.76rem;
  line-height: 1.5;
}

.jk-research-system-overview figcaption {
  padding: 0.75rem 1rem;
  border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 70%, transparent);
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
}

.jk-research-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.6vw, 2rem);
}

.jk-research-decision-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--wp--preset--color--line);
  background: #fff;
}

.jk-research-decision-card > header {
  display: grid;
  gap: 0.55rem;
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
}

.jk-research-decision-card h4 {
  max-width: 24ch;
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.35rem, 2.25vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.08;
}

.jk-research-decision-card > header p {
  max-width: 42rem;
  margin: 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.86rem;
  line-height: 1.58;
}

.jk-research-decision-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-top: 1px solid var(--wp--preset--color--line);
  border-bottom: 1px solid var(--wp--preset--color--line);
  background: #fff;
}

.jk-research-decision-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(255, 255, 255, 0.15));
  content: "";
  pointer-events: none;
}

.jk-research-map-marker {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--wp--preset--color--water);
  box-shadow: 0 0.25rem 0.7rem rgba(31, 56, 62, 0.18);
  color: #fff;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.62rem;
  font-weight: 700;
}

.jk-research-decision-card--availability .jk-research-map-marker {
  background: #527f70;
}

.jk-research-decision-card--availability .jk-research-map-marker.is-one {
  top: 58%;
  left: 28%;
}

.jk-research-decision-card--availability .jk-research-map-marker.is-two {
  top: 28%;
  left: 61%;
}

.jk-research-decision-card--availability .jk-research-map-marker.is-three {
  top: 72%;
  left: 84%;
}

.jk-research-decision-card--vulnerability .jk-research-map-marker {
  background: var(--jk-magenta);
}

.jk-research-decision-card--vulnerability .jk-research-map-marker.is-one {
  top: 20%;
  left: 27%;
}

.jk-research-decision-card--vulnerability .jk-research-map-marker.is-two {
  top: 48%;
  left: 61%;
}

.jk-research-decision-card--vulnerability .jk-research-map-marker.is-three {
  top: 72%;
  left: 88%;
}

.jk-research-decision-card ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jk-research-decision-card ol li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.72rem;
  padding: clamp(0.9rem, 1.8vw, 1.25rem) clamp(1rem, 2.3vw, 1.55rem);
}

.jk-research-decision-card ol li + li {
  border-top: 1px solid var(--wp--preset--color--line);
}

.jk-research-decision-card ol small {
  padding-top: 0.14rem;
}

.jk-research-decision-card ol div {
  display: grid;
  gap: 0.18rem;
}

.jk-research-decision-card ol strong {
  font-size: 0.82rem;
  font-weight: 650;
}

.jk-research-decision-card ol span {
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.74rem;
  line-height: 1.48;
}

.jk-research-refinement-key {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 clamp(1.6rem, 3vw, 2.6rem);
  padding: 0;
  border-top: 1px solid var(--wp--preset--color--line);
  border-bottom: 1px solid var(--wp--preset--color--line);
  list-style: none;
}

.jk-research-refinement-key li {
  display: grid;
  gap: 0.18rem;
  padding: clamp(0.85rem, 1.8vw, 1.2rem);
}

.jk-research-refinement-key li + li {
  border-left: 1px solid var(--wp--preset--color--line);
}

.jk-research-refinement-key strong {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jk-research-refinement-key span {
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.jk-research-media-stack--system {
  margin-top: 0;
}

.jk-research-refine-demo .jk-research-lens-dock,
.jk-research-refine-demo .jk-research-application-phases,
.jk-research-refine-demo .jk-research-subscene-controls {
  display: none !important;
}

.jk-research-refine-demo .jk-research-application-meta {
  max-width: 52rem;
}

.jk-research-system-evidence {
  margin-top: clamp(3.2rem, 6vw, 5.5rem);
}

@media (max-width: 980px) {
  .jk-research-system-phase-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }

  .jk-research-system-phase-header h3 {
    max-width: 25ch;
  }

  .jk-research-decision-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .jk-research-decision-card {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .jk-research-decision-card > header {
    align-content: center;
    border-right: 1px solid var(--wp--preset--color--line);
  }
}

@media (max-width: 720px) {
  .jk-research-system-arc {
    grid-template-columns: minmax(0, 1fr);
  }

  .jk-research-system-arc a {
    min-height: 44px;
  }

  .jk-research-system-arc a + a {
    border-top: 1px solid var(--wp--preset--color--line);
    border-left: 0;
  }

  .jk-research-system-overview-image {
    aspect-ratio: 16 / 10;
  }

  .jk-research-system-chain {
    grid-template-columns: minmax(0, 1fr);
  }

  .jk-research-system-chain li + li {
    border-top: 1px solid var(--wp--preset--color--line);
    border-left: 0;
  }

  .jk-research-system-chain li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -0.3rem;
    left: 1.35rem;
    transform: rotate(135deg);
  }

  .jk-research-decision-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .jk-research-decision-card > header {
    border-right: 0;
  }

  .jk-research-refinement-key {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-research-refinement-key li + li {
    border-left: 0;
  }

  .jk-research-refinement-key li:nth-child(even) {
    border-left: 1px solid var(--wp--preset--color--line);
  }

  .jk-research-refinement-key li:nth-child(n + 3) {
    border-top: 1px solid var(--wp--preset--color--line);
  }
}

@media (max-width: 620px) {
  .jk-research-system-phase {
    margin-top: clamp(3.8rem, 15vw, 5.4rem);
  }

  .jk-research-system-phase-header {
    margin-bottom: 1.5rem;
  }

  .jk-research-system-phase-header h3 {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
  }

  .jk-research-system-phase-header > p {
    font-size: 0.98rem;
  }

  .jk-research-system-overview-image {
    aspect-ratio: 16 / 11;
  }

  .jk-research-system-chain span {
    font-size: 0.8rem;
  }

  .jk-research-decision-card > header {
    padding: 1.2rem;
  }

  .jk-research-decision-card h4 {
    font-size: 1.5rem;
  }

  .jk-research-decision-image {
    aspect-ratio: 16 / 10;
  }

  .jk-research-map-marker {
    width: 1.8rem;
    height: 1.8rem;
  }

  .jk-research-decision-card ol li {
    padding: 0.9rem 1rem;
  }

  .jk-research-decision-card ol strong {
    font-size: 0.86rem;
  }

  .jk-research-decision-card ol span {
    font-size: 0.79rem;
  }

  .jk-research-refine-demo .jk-research-application-visual--system {
    aspect-ratio: 16 / 10;
    overflow: visible;
  }

  .jk-research-refine-demo .jk-openkarst-demo {
    overflow: visible;
  }

  .jk-research-refine-demo .jk-openkarst-demo-controls {
    top: calc(100% + 0.65rem);
    right: 0;
    bottom: auto;
    left: 0;
    box-sizing: border-box;
  }

  .jk-research-refine-demo .jk-openkarst-demo-controls button,
  .jk-research-refine-demo .jk-openkarst-demo-metric select {
    min-height: 44px;
  }

  .jk-research-refine-demo .jk-research-application-meta {
    margin-top: 8.8rem;
    padding-inline: 0.15rem;
  }
}

/* Section 03: restored interactive system graphic with a shallower
   three-lens navigation and consolidated secondary choices. */
.jk-research-application--simplified .jk-research-lens-dock--simplified {
  position: relative;
  top: auto;
  left: auto;
  order: 1;
  width: var(--jk-system-stage-width);
  margin: clamp(1.4rem, 3vw, 2.25rem) auto clamp(0.7rem, 1.4vw, 1rem);
  transform: none;
  pointer-events: auto;
}

.jk-research-application--simplified .jk-research-lens-dock--simplified .jk-research-application-controls {
  position: relative;
  top: auto;
  left: auto;
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--wp--preset--color--line);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.65rem 1.8rem rgba(31, 56, 62, 0.09);
  backdrop-filter: blur(16px) saturate(112%);
}

.jk-research-application--simplified .jk-research-lens-dock--simplified .jk-research-application-controls button {
  position: relative;
  display: grid;
  gap: 0.18rem;
  justify-items: start;
  min-width: 0;
  min-height: 4.25rem;
  padding: 0.78rem clamp(0.75rem, 1.5vw, 1.1rem) 0.82rem;
  border-radius: 0;
}

.jk-research-application--simplified .jk-research-lens-dock--simplified .jk-research-application-controls button + button {
  border-left: 1px solid var(--wp--preset--color--line);
}

.jk-research-application--simplified .jk-research-lens-dock--simplified .jk-research-application-controls button::after {
  top: auto;
  right: 0.75rem;
  bottom: 0;
  left: 0.75rem;
  width: auto;
  height: 2px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--wp--preset--color--water), var(--jk-magenta));
  transform: scaleX(0);
  transform-origin: left;
}

.jk-research-application--simplified .jk-research-lens-dock--simplified .jk-research-application-controls button[aria-pressed="true"]::after {
  transform: scaleX(1);
}

.jk-research-application--simplified .jk-research-lens-dock--simplified .jk-research-application-controls small {
  display: block;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.jk-research-application--simplified .jk-research-lens-dock--simplified .jk-research-application-controls strong {
  overflow: hidden;
  width: 100%;
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-research-application--simplified[data-jk-application-state="foundation"] [data-jk-subscene-controls="understand"],
.jk-research-application--simplified[data-jk-application-state="response"] [data-jk-subscene-controls="understand"],
.jk-research-application--simplified[data-jk-application-state="resources"] [data-jk-subscene-controls="decisions"],
.jk-research-application--simplified[data-jk-application-state="vulnerability"] [data-jk-subscene-controls="decisions"] {
  display: grid;
}

.jk-research-application--simplified [data-jk-subscene-controls="understand"] > div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-research-application--simplified [data-jk-subscene-controls="decisions"] > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-research-application--simplified .jk-research-application-meta {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.jk-research-application--simplified .jk-research-application-meta p {
  max-width: 68rem;
  margin: 0;
  color: var(--wp--preset--color--ink-soft);
  font-size: clamp(0.78rem, 1.05vw, 0.9rem);
  line-height: 1.55;
}

.jk-research-application--simplified .jk-research-application-meta strong {
  color: var(--wp--preset--color--ink);
}

@media (max-width: 720px) {
  .jk-research-application--simplified .jk-research-lens-dock--simplified {
    width: 100%;
    margin-top: 1.1rem;
  }

  .jk-research-application--simplified .jk-research-lens-dock--simplified .jk-research-application-controls button {
    min-height: 4.6rem;
    padding-inline: 0.68rem;
  }

  .jk-research-application--simplified .jk-research-lens-dock--simplified .jk-research-application-controls strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .jk-research-application--simplified .jk-research-subscene-controls {
    position: absolute;
    bottom: clamp(0.75rem, 1.6vw, 1.2rem);
    left: 50%;
    width: calc(var(--jk-system-stage-width) - 1rem);
    max-width: calc(var(--jk-system-stage-width) - 1rem);
    box-sizing: border-box;
    margin: 0;
    overflow: hidden;
    border-radius: 999px;
    transform: translateX(-50%);
  }

  .jk-research-application--simplified .jk-research-subscene-controls > div {
    display: flex;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .jk-research-application--simplified .jk-research-subscene-controls > div::-webkit-scrollbar {
    display: none;
  }

  .jk-research-application--simplified .jk-research-subscene-controls button {
    flex: 0 0 auto;
    min-height: 44px;
    padding-inline: 0.75rem;
    scroll-snap-align: center;
  }

  .jk-research-application--simplified [data-jk-subscene-controls="decisions"] button {
    flex: 1 0 8.5rem;
  }

  .jk-research-application--simplified .jk-research-subscene-controls button strong {
    font-size: 0.68rem;
  }

  .jk-research-application--simplified .jk-research-application-meta {
    width: 1px;
  }
}

@media (max-width: 620px) {
  .jk-research-application--simplified .jk-research-application-visual--system {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: visible;
  }

  .jk-research-application--simplified .jk-openkarst-demo {
    overflow: visible;
  }

  .jk-research-application--simplified .jk-openkarst-demo-controls {
    top: calc(100% + 0.65rem);
    right: 0;
    bottom: auto;
    left: 0;
    box-sizing: border-box;
  }

  .jk-research-application--simplified .jk-openkarst-demo-controls button,
  .jk-research-application--simplified .jk-openkarst-demo-metric select {
    min-height: 44px;
  }

  .jk-research-application--simplified[data-jk-application-state="openkarst"] .jk-research-application-meta {
    margin-top: 0;
  }

  .jk-research-application--simplified[data-jk-application-state="openkarst"] {
    padding-bottom: 8.8rem;
  }
}

/* Section 03: a compact top rail replaces the lens dropdown and separate
   submenus. It stays within the interactive while persistent page navigation
   recedes, creating one clear control layer. */
.jk-research-application--simplified .jk-research-mode-bar {
  position: sticky;
  z-index: 10;
  top: 0.45rem;
  bottom: auto;
  left: auto;
  display: block;
  order: 0;
  width: var(--jk-system-stage-width);
  max-width: var(--jk-system-stage-width);
  box-sizing: border-box;
  margin: 0 auto -1px;
  padding: 0.2rem 0.24rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 86%, #fff);
  border-radius: 0.78rem 0.78rem 0 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.45rem 1.2rem rgba(31, 56, 62, 0.07);
  transform: none;
  -webkit-backdrop-filter: blur(16px) saturate(112%);
  backdrop-filter: blur(16px) saturate(112%);
}

.jk-research-application--simplified .jk-research-mode-bar > span {
  display: none;
}

.jk-research-application--simplified .jk-research-mode-bar-groups {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(8.25rem, 1fr);
  gap: 0;
}

.jk-research-application--simplified .jk-research-mode-group {
  display: flex;
  min-width: 0;
  gap: 0.24rem;
  align-items: center;
  padding: 0.2rem 0.3rem;
}

.jk-research-application--simplified .jk-research-mode-group + .jk-research-mode-group {
  border-left: 1px solid var(--wp--preset--color--line);
}

.jk-research-application--simplified .jk-research-mode-group > span {
  flex: 0 0 auto;
  max-width: 4.9rem;
  padding-left: 0.22rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.47rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.08;
  text-transform: uppercase;
}

.jk-research-application--simplified .jk-research-mode-options {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.08rem;
}

.jk-research-application--simplified .jk-research-mode-group:nth-child(1) .jk-research-mode-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jk-research-application--simplified .jk-research-mode-group:nth-child(2) .jk-research-mode-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-research-application--simplified .jk-research-mode-group:nth-child(3) .jk-research-mode-options {
  grid-template-columns: minmax(0, 1fr);
}

.jk-research-application--simplified .jk-research-mode-bar button {
  display: flex;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0.34rem clamp(0.38rem, 0.72vw, 0.62rem) 0.37rem;
  border-radius: 0.44rem;
  line-height: 1.2;
  text-align: center;
}

.jk-research-application--simplified .jk-research-mode-bar button strong {
  overflow: hidden;
  font-size: clamp(0.56rem, 0.7vw, 0.65rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jk-research-application--simplified .jk-research-mode-bar button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 30%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--water) 28%, transparent);
  color: var(--wp--preset--color--ink);
}

@media (max-width: 980px) {
  .jk-research-application--simplified .jk-research-mode-bar {
    width: 100%;
    max-width: 100%;
  }

  .jk-research-application--simplified .jk-research-mode-bar-groups {
    display: flex;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .jk-research-application--simplified .jk-research-mode-bar-groups::-webkit-scrollbar {
    display: none;
  }

  .jk-research-application--simplified .jk-research-mode-group {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .jk-research-application--simplified .jk-research-mode-options {
    display: flex;
  }

  .jk-research-application--simplified .jk-research-mode-bar button {
    flex: 0 0 auto;
    min-height: 40px;
    padding-inline: 0.78rem;
  }

  .jk-research-application--simplified .jk-research-mode-bar button strong {
    overflow: visible;
    font-size: 0.68rem;
    text-overflow: clip;
  }
}

@media (max-width: 620px) {
  .jk-research-application--simplified .jk-research-mode-bar {
    top: 0.25rem;
    margin-top: 0;
    border-radius: 0.72rem 0.72rem 0 0;
  }

  .jk-research-application--simplified[data-jk-application-state="openkarst"] {
    padding-bottom: 0;
  }

}

/* Immersive handoff for Section 03. The global and chapter navigation remain
   available to keyboard users, but visually recede while the system graphic
   occupies the reading focus. */
.jk-site-header {
  transition:
    min-height 220ms var(--jk-ease),
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    opacity 220ms ease,
    transform 240ms var(--jk-ease);
}

.jk-research-chapter-nav {
  transition:
    padding 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    opacity 220ms ease,
    transform 240ms var(--jk-ease);
}

.jk-site-header.is-research-focus-muted,
.jk-research-chapter-nav.is-research-focus-muted {
  opacity: 0.06;
  pointer-events: none;
  transform: translateY(calc(-100% - 0.5rem));
}

.jk-site-header.is-research-focus-muted:focus-within,
.jk-site-header.is-research-focus-muted.is-preview-menu-open,
.jk-research-chapter-nav.is-research-focus-muted:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .jk-site-header,
  .jk-research-chapter-nav {
    transition: none;
  }
}

/* Section 03: compact category tabs over the graphic with one contextual
   subitem row below. Long editorial names live in the caption instead of
   competing for space inside the primary controls. */
.jk-research-application--simplified .jk-research-category-tabs {
  position: absolute;
  z-index: 9;
  top: clamp(0.58rem, 1.2vw, 0.9rem);
  left: clamp(0.58rem, 1.2vw, 0.9rem);
  display: flex;
  max-width: calc(100% - 1.16rem);
  gap: 0.12rem;
  box-sizing: border-box;
  padding: 0.24rem;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 82%, #fff);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.45rem 1.2rem rgba(31, 56, 62, 0.09);
  -webkit-backdrop-filter: blur(16px) saturate(112%);
  backdrop-filter: blur(16px) saturate(112%);
}

.jk-research-application--simplified .jk-research-category-tabs button {
  position: relative;
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0.46rem clamp(0.62rem, 1.15vw, 0.9rem) 0.49rem;
  border: 0;
  border-radius: 0.5rem;
  color: var(--wp--preset--color--ink-soft);
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.jk-research-application--simplified .jk-research-category-tabs button strong {
  font-size: clamp(0.64rem, 0.82vw, 0.74rem);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.jk-research-application--simplified .jk-research-category-tabs button:hover,
.jk-research-application--simplified .jk-research-category-tabs button:focus-visible {
  color: var(--wp--preset--color--ink);
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 14%, #fff);
}

.jk-research-application--simplified .jk-research-category-tabs button[aria-pressed="true"] {
  color: var(--wp--preset--color--ink);
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 28%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--water) 25%, transparent);
}

.jk-research-application--simplified .jk-research-context-controls {
  position: static;
  z-index: auto;
  display: none;
  order: 2;
  align-self: center;
  width: var(--jk-system-stage-width);
  max-width: var(--jk-system-stage-width);
  box-sizing: border-box;
  margin: 0.58rem auto 0;
  padding: 0.24rem;
  overflow: visible;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 82%, #fff);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.35rem 0.95rem rgba(31, 56, 62, 0.055);
  transform: none;
}

.jk-research-application--simplified[data-jk-application-state="foundation"] [data-jk-subscene-controls="understand"],
.jk-research-application--simplified[data-jk-application-state="response"] [data-jk-subscene-controls="understand"],
.jk-research-application--simplified[data-jk-application-state="resources"] [data-jk-subscene-controls="decisions"],
.jk-research-application--simplified[data-jk-application-state="vulnerability"] [data-jk-subscene-controls="decisions"] {
  display: grid;
}

.jk-research-application--simplified .jk-research-context-controls > div {
  display: grid;
  width: 100%;
  gap: 0.12rem;
}

.jk-research-application--simplified [data-jk-subscene-controls="understand"] > div {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jk-research-application--simplified [data-jk-subscene-controls="decisions"] > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jk-research-application--simplified .jk-research-context-controls button {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.48rem clamp(0.55rem, 1vw, 0.82rem) 0.52rem;
  border: 0;
  border-radius: 0.5rem;
  color: var(--wp--preset--color--ink-soft);
  background: transparent;
  text-align: center;
}

.jk-research-application--simplified .jk-research-context-controls button strong {
  overflow: visible;
  font-size: clamp(0.64rem, 0.8vw, 0.72rem);
  line-height: 1.22;
  text-overflow: clip;
  white-space: normal;
}

.jk-research-application--simplified .jk-research-context-controls button[aria-pressed="true"] {
  color: var(--wp--preset--color--ink);
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 22%, #fff);
  box-shadow: none;
}

.jk-research-application--simplified .jk-research-context-controls button::after {
  position: absolute;
  right: 28%;
  bottom: 0.2rem;
  left: 28%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wp--preset--color--water), var(--jk-magenta));
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 160ms var(--jk-ease), transform 180ms var(--jk-ease);
}

.jk-research-application--simplified .jk-research-context-controls button[aria-pressed="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.jk-research-application--simplified .jk-research-application-meta {
  position: static;
  order: 3;
  width: min(100%, 54rem);
  height: auto;
  box-sizing: border-box;
  margin: clamp(0.7rem, 1.4vw, 1rem) auto 0;
  padding: 0 0.2rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  color: var(--wp--preset--color--ink-soft);
  text-align: left;
  white-space: normal;
}

.jk-research-application--simplified .jk-research-application-category {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.jk-research-application--simplified .jk-research-application-meta p {
  max-width: 54rem;
  margin: 0;
  font-size: clamp(0.84rem, 1.02vw, 0.94rem);
  line-height: 1.52;
}

.jk-site-header.is-research-focus-muted,
.jk-research-chapter-nav.is-research-focus-muted {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

@media (max-width: 720px) {
  .jk-research-application--simplified .jk-research-category-tabs {
    top: 0.5rem;
    left: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .jk-research-application--simplified .jk-research-category-tabs button {
    min-height: 40px;
    padding-inline: clamp(0.56rem, 2.6vw, 0.78rem);
  }

  .jk-research-application--simplified .jk-research-context-controls {
    position: static;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
    border-radius: 0.68rem;
    transform: none;
  }

  .jk-research-application--simplified .jk-research-context-controls > div {
    display: grid;
    overflow: visible;
  }

  .jk-research-application--simplified .jk-research-context-controls button {
    min-height: 44px;
    padding-inline: 0.58rem;
  }
}

@media (max-width: 620px) {
  .jk-research-application--simplified [data-jk-subscene-controls="understand"] > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jk-research-application--simplified [data-jk-subscene-controls="decisions"] > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jk-research-application--simplified .jk-research-context-controls button {
    min-height: 48px;
  }

  .jk-research-application--simplified .jk-research-application-meta {
    padding-inline: 0.15rem;
  }

  .jk-research-application--simplified[data-jk-application-state="openkarst"] .jk-research-application-meta {
    margin-top: 9.2rem;
  }
}

/* Align openKARST manipulation with the contextual controls used by the other
   Section 03 categories. The panel remains functionally richer, but begins at
   the same below-graphic baseline and participates in normal document flow. */
.jk-research-application--simplified .jk-research-openkarst-controls {
  position: static;
  z-index: auto;
  right: auto;
  bottom: auto;
  left: auto;
  display: none;
  order: 2;
  width: var(--jk-system-stage-width);
  max-width: var(--jk-system-stage-width);
  grid-template-columns: auto auto minmax(8rem, 1fr) auto;
  gap: 0.58rem;
  box-sizing: border-box;
  margin: 0.58rem auto 0;
  padding: 0.4rem 0.5rem;
  border-radius: 0.7rem;
}

.jk-research-application--simplified[data-jk-application-state="openkarst"] .jk-research-openkarst-controls {
  display: grid;
}

.jk-research-application--simplified .jk-research-openkarst-controls button {
  min-height: 42px;
}

.jk-research-application--simplified[data-jk-application-state="openkarst"] .jk-research-application-meta {
  margin-top: clamp(0.7rem, 1.4vw, 1rem);
}

@media (max-width: 780px) {
  .jk-research-application--simplified .jk-research-openkarst-controls {
    width: 100%;
    max-width: 100%;
    grid-template-columns: auto auto minmax(8rem, 1fr);
  }

  .jk-research-application--simplified .jk-research-openkarst-controls output {
    grid-column: 1 / -1;
    min-width: 0;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .jk-research-application--simplified .jk-research-openkarst-controls {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: auto minmax(0, 1fr);
    margin-top: 0.5rem;
  }

  .jk-research-application--simplified .jk-research-openkarst-controls label:not(.jk-openkarst-demo-metric),
  .jk-research-application--simplified .jk-research-openkarst-controls output {
    grid-column: 1 / -1;
  }

  .jk-research-application--simplified[data-jk-application-state="openkarst"] .jk-research-application-meta {
    margin-top: clamp(0.7rem, 1.4vw, 1rem);
  }
}

/* Storage and coupling is one continuous vadose-to-phreatic sequence. Reuse
   the authored vadose exchange layer in the selected activation state, then
   delay the saturated-zone coupling reveal so the causal order stays clear. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange {
  opacity: 1;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange :is(
  .jk-system-focus-veil,
  .jk-system-annotation-wash
) {
  display: none;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-vadose-label--arrival,
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-label--rapid {
  display: none;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-storage-field {
  animation: jk-system-field-in 400ms var(--jk-ease) 40ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-diffuse-paths path {
  animation: jk-system-draw 620ms var(--jk-ease) 200ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-diffuse-paths path:nth-child(2n) {
  animation-delay: 270ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-diffuse-paths path:nth-child(3n) {
  animation-delay: 330ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-vadose-label--distributed {
  animation: jk-system-recharge-label-in 260ms var(--jk-ease) 520ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-matrix-store {
  animation: jk-system-node-in 300ms var(--jk-ease) 560ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-matrix-store:nth-child(2) {
  animation-delay: 640ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-matrix-store:nth-child(3) {
  animation-delay: 720ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-bidirectional-exchange {
  animation: jk-system-draw 380ms var(--jk-ease) 820ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-bidirectional-exchange + .jk-system-bidirectional-exchange {
  animation-delay: 890ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-bidirectional-exchange + .jk-system-bidirectional-exchange + .jk-system-bidirectional-exchange {
  animation-delay: 960ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-vadose-label--storage {
  animation: jk-system-recharge-label-in 260ms var(--jk-ease) 920ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-vadose-path {
  animation: jk-system-draw 500ms var(--jk-ease) 1.02s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-vadose-path.is-secondary {
  animation-delay: 940ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-vadose-label--preferential {
  animation: jk-system-recharge-label-in 280ms var(--jk-ease) 1.38s forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-field {
  animation-delay: 1.42s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-boundary {
  animation-delay: 1.58s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-label--water-table {
  animation-delay: 1.78s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-conduit {
  animation-delay: 1.82s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-exchange {
  animation-delay: 2.14s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-exchange + .jk-system-phreatic-exchange {
  animation-delay: 2.2s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-exchange + .jk-system-phreatic-exchange + .jk-system-phreatic-exchange {
  animation-delay: 2.26s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-label--exchange {
  animation-delay: 2.4s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-pulse {
  animation-delay: 2.44s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-anchor {
  animation-delay: 2.96s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-label--spring {
  animation-delay: 3.06s;
}

/* Section 03 visibility refinement: the affected states use localized
   diagram contrast instead of a full-canvas white wash. This keeps the
   geological structure visible and prevents later SVG layers from covering
   earlier paths and labels. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-lens-step--exchange,
  .jk-system-lens-step--activation
) > :is(
  .jk-system-focus-veil,
  .jk-system-annotation-wash
),
.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-lens-step--properties > :is(
  .jk-system-focus-veil,
  .jk-system-annotation-wash
),
.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-lens-step--storage > :is(
  .jk-system-focus-veil,
  .jk-system-annotation-wash
),
.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-lens-step--travel > :is(
  .jk-system-focus-veil,
  .jk-system-annotation-wash
) {
  display: none;
}

/* Storage and coupling: retain one heading, keep all vadose annotations above
   the water table, and reinforce the complete storage-to-spring sequence. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange > :is(
  .jk-system-step-index,
  .jk-system-step-number,
  .jk-system-kicker
) {
  display: none;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-storage-field {
  fill: color-mix(in srgb, var(--jk-science-storage) 17%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-storage) 68%, transparent);
  stroke-width: 2.2;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-diffuse-paths path {
  stroke: color-mix(in srgb, var(--jk-science-water) 82%, var(--jk-science-storage));
  stroke-width: 2.5;
  filter: drop-shadow(0 0 2.4px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-matrix-store {
  fill: color-mix(in srgb, var(--jk-science-storage) 24%, rgba(255, 255, 255, 0.52));
  stroke: color-mix(in srgb, var(--jk-science-storage) 78%, transparent);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.98));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-bidirectional-exchange {
  stroke-width: 2.8;
  filter: drop-shadow(0 0 2.6px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-vadose-path.is-primary {
  stroke-width: 4.4;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-vadose-label,
  .jk-system-phreatic-label
) {
  stroke: rgba(255, 255, 255, 0.98);
  stroke-width: 5.4px;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 16%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 46%, transparent);
  stroke-width: 1.4;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-conduit {
  stroke-width: 3.9;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-exchange {
  stroke-width: 2.5;
  filter: drop-shadow(0 0 2.5px rgba(255, 255, 255, 1));
}

/* System inference: a clean left-to-right signal → model → property diagram,
   with high-contrast local nodes rather than a broad pale cloud. */
.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="properties"] :is(
  .jk-system-joint-inputs circle,
  .jk-system-joint-core,
  .jk-system-property-halo
) {
  fill: rgba(255, 255, 255, 0.91);
  stroke-width: 2.6;
  filter: drop-shadow(0 2px 6px rgba(11, 13, 14, 0.12));
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-joint-core {
  fill: color-mix(in srgb, #fff 92%, var(--jk-science-water-soft));
  stroke: var(--jk-science-rapid);
  stroke-width: 3;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-property-halo:nth-of-type(1) {
  fill: color-mix(in srgb, #fff 82%, var(--jk-science-storage));
  stroke: color-mix(in srgb, var(--jk-science-storage) 78%, transparent);
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-property-halo:nth-of-type(2) {
  fill: color-mix(in srgb, #fff 84%, var(--jk-science-water-soft));
  stroke: color-mix(in srgb, var(--jk-science-water) 72%, transparent);
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-property-halo.is-magenta {
  fill: color-mix(in srgb, #fff 88%, var(--jk-science-rapid));
  stroke: color-mix(in srgb, var(--jk-science-rapid) 76%, transparent);
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-joint-link {
  stroke-width: 2.8;
  filter: drop-shadow(0 0 2.6px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="properties"] .jk-system-lens-step--properties text {
  stroke: rgba(255, 255, 255, 0.98);
  stroke-width: 5px;
}

.jk-research-application--system .jk-system-inference-heading {
  fill: var(--wp--preset--color--ink);
}

.jk-research-application--system .jk-system-inference-caption {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 74%, transparent);
  font-weight: 600;
}

/* Decisions · Water availability: distinguish stored volume from transfer
   timing while keeping the geological context visible. */
.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] :is(
  .jk-system-vadose-store-field,
  .jk-system-phreatic-store-field
) {
  stroke-width: 2.3;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.96));
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-vadose-store-field {
  fill: color-mix(in srgb, var(--jk-science-storage) 21%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-storage) 72%, transparent);
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-phreatic-store-field {
  fill: color-mix(in srgb, var(--jk-science-water) 17%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 64%, transparent);
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-storage-release {
  stroke: color-mix(in srgb, var(--jk-science-storage) 92%, var(--jk-science-water));
  stroke-width: 3.8;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-fast-transfer {
  stroke-width: 4.7;
  filter: drop-shadow(0 0 3.2px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-lens-step--storage text {
  stroke: rgba(255, 255, 255, 0.98);
  stroke-width: 5px;
}

.jk-research-application--system .jk-system-storage-label--release {
  fill: var(--jk-science-storage);
}

.jk-research-application--system .jk-system-storage-note {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 72%, transparent);
}

.jk-research-application--system .jk-system-decision-thesis {
  fill: var(--wp--preset--color--ink);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.065em;
}

/* Decisions · Groundwater vulnerability: make all three origins, their
   connected routes, arrival distributions, and the receptor visible at once. */
.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-chart-backdrop {
  fill: rgba(255, 255, 255, 0.86);
  stroke: color-mix(in srgb, var(--jk-science-water) 32%, transparent);
  stroke-width: 1.4;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link {
  stroke: color-mix(in srgb, var(--jk-science-water) 86%, transparent);
  stroke-width: 3.3;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 3.2px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link.is-high {
  stroke: var(--jk-science-rapid);
  stroke-width: 4.6;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link.is-low {
  stroke: color-mix(in srgb, var(--jk-science-storage) 78%, transparent);
  stroke-width: 2.6;
  stroke-dasharray: 7 7;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-source {
  animation: jk-system-node-in 420ms var(--jk-ease) 70ms forwards;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-source.is-high {
  animation-delay: 150ms;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-source.is-low {
  animation-delay: 230ms;
  stroke: var(--jk-science-storage);
}

.jk-research-application--system .jk-system-travel-receptor {
  fill: rgba(255, 255, 255, 0.96);
  stroke: var(--jk-science-rapid);
  stroke-width: 3;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-line {
  stroke-width: 3.2;
  filter: drop-shadow(0 0 2.2px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-line--rapid {
  stroke-width: 4.4;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-lens-step--travel text {
  stroke: rgba(255, 255, 255, 0.98);
  stroke-width: 5px;
}

.jk-research-application--system .jk-system-route-label.is-high {
  fill: var(--jk-science-rapid);
  font-weight: 650;
}

.jk-research-application--system .jk-system-route-label.is-medium {
  fill: var(--jk-science-water);
}

.jk-research-application--system .jk-system-route-label.is-low {
  fill: var(--jk-science-storage);
}

/* Section 03 shared visual grammar.
   The focus veil reduces irrelevant geological detail outside the active
   process. The annotation wash provides local contrast behind plotted marks.
   Both must be painted before the marks they support. */
.jk-research-application--system {
  --jk-section03-line-context: 2.15;
  --jk-section03-line-primary: 2.6;
  --jk-section03-line-emphasis: 3.4;
  --jk-section03-line-exchange: 1.55;
  --jk-section03-text-halo: 4.2px;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-lens-step--forcing > .jk-system-focus-veil,
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange > .jk-system-focus-veil,
.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals > .jk-system-focus-veil,
.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="forecast"] .jk-system-lens-step--forecast > .jk-system-focus-veil,
.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-lens-step--storage > .jk-system-focus-veil,
.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-lens-step--travel > .jk-system-focus-veil {
  display: inline;
  fill: #fff;
  opacity: 0.2;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-lens-step--forcing > .jk-system-annotation-wash,
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange > .jk-system-annotation-wash,
.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals > .jk-system-annotation-wash,
.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="forecast"] .jk-system-lens-step--forecast > .jk-system-annotation-wash,
.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-lens-step--storage > .jk-system-annotation-wash,
.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-lens-step--travel > .jk-system-annotation-wash {
  display: inline;
  fill: rgba(255, 255, 255, 0.38);
}

/* The phreatic group is painted after the vadose group. Its wash therefore
   remains disabled in the merged view so it cannot cover vadose annotations. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation > :is(
  .jk-system-focus-veil,
  .jk-system-annotation-wash
) {
  display: none;
}

.jk-research-application--system :is(
  .jk-system-lens-step--signals,
  .jk-system-lens-step--forecast,
  .jk-system-lens-step--travel
) > .jk-system-chart-backdrop {
  fill: rgba(255, 255, 255, 0.82);
  stroke: color-mix(in srgb, var(--jk-science-water) 22%, transparent);
  stroke-width: 1.2;
}

.jk-research-application--system :is(
  .jk-system-lens-step--forcing,
  .jk-system-lens-step--exchange,
  .jk-system-lens-step--activation,
  .jk-system-lens-step--signals,
  .jk-system-lens-step--forecast,
  .jk-system-lens-step--storage,
  .jk-system-lens-step--travel
) text {
  stroke: rgba(255, 255, 255, 0.97);
  stroke-width: var(--jk-section03-text-halo);
}

/* All explanatory arrows share one cap, join, white keyline, and absolute-size
   arrowhead. Line weight alone communicates context, primary flow, or rapid
   emphasis. */
.jk-research-application--system .jk-research-system-overlays :is(
  path[marker-start],
  path[marker-end]
) {
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 1.8px rgba(255, 255, 255, 1));
}

/* Input and infiltration */
.jk-research-application--system .jk-system-lens-step--forcing .jk-system-process-rain line {
  stroke: color-mix(in srgb, var(--jk-science-water) 78%, transparent);
  stroke-width: 2;
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-diffuse-infiltration-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 16%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 38%, transparent);
  stroke-width: 1.35;
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-infiltration-arrow {
  stroke-width: var(--jk-section03-line-context);
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-surface-routing {
  stroke-width: var(--jk-section03-line-primary);
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-infiltration-arrow.is-focused {
  stroke-width: var(--jk-section03-line-emphasis);
}

/* Storage and coupling */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-storage-field {
  fill: color-mix(in srgb, var(--jk-science-storage) 14%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-storage) 58%, transparent);
  stroke-width: 1.55;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-diffuse-paths path {
  stroke: color-mix(in srgb, var(--jk-science-water) 76%, var(--jk-science-storage));
  stroke-width: var(--jk-section03-line-context);
  filter: drop-shadow(0 0 1.8px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-matrix-store {
  fill: color-mix(in srgb, #fff 84%, var(--jk-science-storage));
  stroke: color-mix(in srgb, var(--jk-science-storage) 66%, transparent);
  stroke-width: 1.8;
  filter: drop-shadow(0 0 1.8px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-bidirectional-exchange,
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation .jk-system-phreatic-exchange {
  stroke-width: var(--jk-section03-line-exchange);
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-vadose-path.is-primary,
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation .jk-system-phreatic-pulse {
  stroke-width: var(--jk-section03-line-emphasis);
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation .jk-system-phreatic-conduit {
  stroke-width: 3;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation .jk-system-phreatic-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 14%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 42%, transparent);
  stroke-width: 1.2;
}

/* Observed signals and joint-model inference */
.jk-research-application--system .jk-system-lens-step--signals .jk-system-observation-link {
  stroke-width: var(--jk-section03-line-context);
}

.jk-research-application--system .jk-system-lens-step--signals .jk-system-observation-line,
.jk-research-application--system .jk-system-lens-step--forecast .jk-system-forecast-line {
  stroke-width: var(--jk-section03-line-primary);
}

.jk-research-application--system .jk-system-lens-step--forecast .jk-system-confidence-arrow {
  stroke-width: 3;
}

.jk-research-application--system .jk-system-lens-step--forecast .jk-system-uncertainty-band--wide {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 18%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 36%, transparent);
}

.jk-research-application--system .jk-system-lens-step--forecast .jk-system-uncertainty-band--narrow {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 34%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 58%, transparent);
}

/* Decisions */
.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] :is(
  .jk-system-vadose-store-field,
  .jk-system-phreatic-store-field
) {
  stroke-width: 1.6;
  filter: drop-shadow(0 0 1.6px rgba(255, 255, 255, 0.98));
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-vadose-store-field {
  fill: color-mix(in srgb, var(--jk-science-storage) 16%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-storage) 60%, transparent);
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-phreatic-store-field {
  fill: color-mix(in srgb, var(--jk-science-water) 13%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 54%, transparent);
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-storage-release {
  stroke-width: 2.4;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-fast-transfer {
  stroke-width: var(--jk-section03-line-emphasis);
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link {
  stroke-width: var(--jk-section03-line-primary);
  filter: drop-shadow(0 0 1.8px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link.is-high {
  stroke-width: var(--jk-section03-line-emphasis);
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link.is-low {
  stroke-width: 2;
  stroke-dasharray: 7 7;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-line {
  stroke-width: 2.4;
  filter: drop-shadow(0 0 1.6px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-line--rapid {
  stroke-width: 3.2;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-line--slow {
  stroke-width: 2;
}

/* Water availability combines the spatial storage diagram with two compact
   spring-discharge scenarios. Each small multiple compares pathway-informed
   and effective-continuum representations under the same forcing. */
.jk-research-application--system .jk-system-lens-step--storage > .jk-system-resource-scenario-backdrop {
  fill: rgba(255, 255, 255, 0.84);
  stroke: color-mix(in srgb, var(--jk-science-water) 22%, transparent);
  stroke-width: 1.2;
}

.jk-research-application--system .jk-system-resource-scenario-title {
  fill: var(--wp--preset--color--ink);
  font-size: 15px;
  letter-spacing: 0.045em;
}

.jk-research-application--system :is(
  .jk-system-resource-legend-line,
  .jk-system-resource-panel-divider,
  .jk-system-resource-threshold,
  .jk-system-resource-scenario-line
) {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-resource-panel-title {
  fill: var(--jk-science-water);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.jk-research-application--system .jk-system-resource-panel-title.is-stress {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-resource-panel-divider {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink-soft) 20%, transparent);
  stroke-width: 1;
}

.jk-research-application--system .jk-system-resource-legend-line {
  stroke-width: 2.4;
}

.jk-research-application--system .jk-system-resource-legend-line.is-pathway {
  stroke: var(--jk-science-rapid);
  stroke-width: 3;
}

.jk-research-application--system .jk-system-resource-legend-line.is-diffuse {
  stroke: color-mix(in srgb, var(--jk-science-water) 72%, var(--jk-science-storage));
  stroke-dasharray: 6 5;
}

.jk-research-application--system .jk-system-resource-threshold {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink-soft) 48%, transparent);
  stroke-width: 1.25;
  stroke-dasharray: 6 7;
}

.jk-research-application--system .jk-system-resource-threshold-label {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 66%, transparent);
  font-size: 15px;
}

.jk-research-application--system .jk-system-resource-scenario-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 1.7px rgba(255, 255, 255, 1));
}

.jk-research-application--system .jk-system-resource-scenario-line.is-diffuse {
  stroke: color-mix(in srgb, var(--jk-science-water) 72%, var(--jk-science-storage));
  stroke-width: 2.25;
  stroke-dasharray: 7 6;
  stroke-dashoffset: 0;
}

.jk-research-application--system .jk-system-resource-scenario-line.is-pathway {
  stroke: var(--jk-science-rapid);
  stroke-width: 3.15;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.jk-research-application--system .jk-system-resource-scenario-note {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 68%, transparent);
  font-size: 15px;
  font-weight: 600;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-scenario-line.is-diffuse {
  animation: jk-system-resource-effective-in 420ms var(--jk-ease) 500ms both;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-scenario-line.is-pathway {
  animation: jk-system-draw 760ms var(--jk-ease) 660ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-scenario-line.scenario-b.is-diffuse {
  animation-delay: 620ms;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-scenario-line.scenario-b.is-pathway {
  animation-delay: 800ms;
}

@keyframes jk-system-resource-effective-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.jk-research-application--system.is-motion-disabled .jk-system-resource-scenario-line.is-diffuse {
  opacity: 1;
  stroke-dasharray: 7 6;
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system .jk-system-resource-scenario-line.is-diffuse {
    opacity: 1;
    stroke-dasharray: 7 6;
    stroke-dashoffset: 0;
  }
}

/* Water availability reuses the same phreatic matrix–conduit graphic as
   Storage and coupling. Only the surrounding decision labels and scenario
   chart differ. */
.jk-research-application--system .jk-system-resource-phreatic .jk-system-phreatic-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 14%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 42%, transparent);
  stroke-width: 1.2;
}

.jk-research-application--system .jk-system-resource-phreatic .jk-system-phreatic-boundary {
  stroke: color-mix(in srgb, var(--jk-science-water) 54%, transparent);
  stroke-width: 1.4;
  stroke-dasharray: 0.035 0.025;
}

.jk-research-application--system .jk-system-resource-phreatic .jk-system-phreatic-conduit {
  stroke: var(--jk-science-water);
  stroke-width: 3;
}

.jk-research-application--system .jk-system-resource-phreatic .jk-system-phreatic-exchange {
  stroke: color-mix(in srgb, var(--jk-science-water) 76%, transparent);
  stroke-width: var(--jk-section03-line-exchange);
}

.jk-research-application--system .jk-system-resource-phreatic .jk-system-phreatic-pulse {
  stroke: var(--jk-science-rapid);
  stroke-width: var(--jk-section03-line-emphasis);
  stroke-dasharray: 0.14 0.86;
  stroke-dashoffset: 0.86;
  opacity: 0;
}

.jk-research-application--system .jk-system-resource-phreatic .jk-system-phreatic-anchor {
  fill: rgba(255, 255, 255, 0.94);
  stroke: var(--jk-science-rapid);
  stroke-width: 2.4;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-phreatic .jk-system-phreatic-field {
  animation: jk-system-field-in 380ms var(--jk-ease) 160ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-phreatic .jk-system-phreatic-boundary {
  animation: jk-system-draw 420ms var(--jk-ease) 280ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-phreatic .jk-system-phreatic-conduit {
  animation: jk-system-draw 520ms var(--jk-ease) 400ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-phreatic .jk-system-phreatic-exchange {
  animation: jk-system-draw 360ms var(--jk-ease) 640ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-phreatic .jk-system-phreatic-exchange + .jk-system-phreatic-exchange {
  animation-delay: 700ms;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-phreatic .jk-system-phreatic-exchange + .jk-system-phreatic-exchange + .jk-system-phreatic-exchange {
  animation-delay: 760ms;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-phreatic .jk-system-phreatic-pulse {
  animation: jk-system-phreatic-wave 720ms linear 900ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-phreatic .jk-system-phreatic-anchor {
  animation: jk-system-node-in 260ms var(--jk-ease) 1.5s forwards;
}

/* Signals and inference is one evidence-to-prediction view. Three
   complementary spring traces feed one joint model, followed by a direct
   comparison of the broad single-signal and narrower multi-signal ranges. */
.jk-research-application--system .jk-system-lens-step--signals-inference > .jk-system-inference-backdrop {
  fill: rgba(255, 255, 255, 0.86);
  stroke: color-mix(in srgb, var(--jk-science-water) 24%, transparent);
  stroke-width: 1.2;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-heading,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-range-heading {
  fill: var(--wp--preset--color--ink);
  font-size: 15px;
  font-weight: 680;
  letter-spacing: 0.055em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-source-key .jk-system-chart-label {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 72%, transparent);
  font-weight: 650;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-node {
  fill: rgba(255, 255, 255, 0.96);
  stroke: var(--jk-science-water);
  stroke-width: 2.2;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-line,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line {
  stroke-width: var(--jk-section03-line-primary);
  filter: drop-shadow(0 0 1.8px rgba(255, 255, 255, 1));
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-convergence {
  fill: none;
  stroke: color-mix(in srgb, var(--jk-science-water) 46%, transparent);
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-merge {
  fill: var(--jk-science-water);
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-joint-link {
  stroke-width: var(--jk-section03-line-context);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-transfer {
  stroke-width: var(--jk-section03-line-emphasis);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-joint-core {
  fill: color-mix(in srgb, #fff 91%, var(--jk-science-water-soft));
  stroke: var(--jk-science-rapid);
  stroke-width: 2.8;
  filter: drop-shadow(0 2px 6px rgba(11, 13, 14, 0.12));
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-core-label {
  fill: var(--wp--preset--color--ink);
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.07em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-range-title {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 72%, transparent);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-range-title.is-joint {
  fill: var(--jk-science-water);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--wide {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 18%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 36%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--narrow {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 36%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 62%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-caption {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 72%, transparent);
  font-weight: 620;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-observation-node {
  animation: jk-system-node-in 300ms var(--jk-ease) 100ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-observation-line {
  animation: jk-system-line-emphasis 540ms var(--jk-ease) 220ms both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-observation-line--temperature {
  animation-delay: 310ms;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-observation-line--solute {
  animation-delay: 400ms;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-signal-convergence {
  animation: jk-system-draw 420ms var(--jk-ease) 540ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-inference-input {
  animation: jk-system-draw 360ms var(--jk-ease) 700ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-joint-core {
  animation: jk-system-node-in 360ms var(--jk-ease) 820ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-inference-transfer {
  animation: jk-system-draw 440ms var(--jk-ease) 1.02s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--wide {
  animation: jk-system-field-in 400ms var(--jk-ease) 820ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--narrow {
  animation: jk-system-field-in 400ms var(--jk-ease) 1.18s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-density.is-wide {
  animation: jk-system-field-in 420ms var(--jk-ease) 860ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-density.is-joint {
  animation: jk-system-field-in 420ms var(--jk-ease) 1.22s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-forecast-line.is-wide {
  animation: jk-system-line-emphasis 520ms var(--jk-ease) 980ms both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-forecast-line:not(.is-wide) {
  animation: jk-system-line-emphasis 520ms var(--jk-ease) 1.34s both;
}

/* Section 03 graph refinement. Plotted evidence uses a fine analytical
   hierarchy; explanatory arrows retain the stronger process-line system. */
.jk-research-application--system .jk-research-system-overlays :is(
  .jk-system-chart-line,
  .jk-system-storage-memory-line,
  .jk-system-event-response,
  .jk-system-scenario-line,
  .jk-system-process-response,
  .jk-system-observation-line,
  .jk-system-forecast-line,
  .jk-system-travel-line,
  .jk-system-head-scenario,
  .jk-system-discharge-scenario,
  .jk-system-arrival-curve,
  .jk-system-resource-scenario-line
) {
  stroke-width: 1.2;
  filter: none;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-research-system-overlays :is(
  .jk-system-chart-axis,
  .jk-system-observation-event,
  .jk-system-resource-panel-divider
) {
  stroke-width: 0.72;
  opacity: 0.68;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-research-system-overlays :is(
  .jk-system-process-response,
  .jk-system-event-response--multidomain
) {
  stroke-width: 1.58;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-event-response--effective {
  stroke-width: 1.02;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-discharge-scenario.is-baseline {
  stroke-width: 1;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-travel-line--rapid {
  stroke-width: 1.5;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-travel-line--medium {
  stroke-width: 1.2;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-travel-line--slow {
  stroke-width: 0.98;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-resource-scenario-line {
  filter: none;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-resource-scenario-line.is-diffuse {
  stroke-width: 1.02;
  stroke-dasharray: 5 4;
}

.jk-research-application--system .jk-research-system-overlays .jk-system-resource-scenario-line.is-pathway {
  stroke-width: 1.58;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-line {
  stroke-width: 1.18;
  filter: none;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-line--discharge {
  stroke-width: 1.48;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-line--temperature {
  stroke-width: 1.05;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-line--solute {
  stroke-width: 1.32;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-density {
  fill: none;
  stroke: var(--jk-science-water-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  pointer-events: none;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-density.is-wide {
  stroke-width: 72;
  stroke-opacity: 0.34;
  filter: url("#jk-system-uncertainty-wide-soften");
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-density.is-joint {
  stroke: var(--jk-science-water);
  stroke-width: 42;
  stroke-opacity: 0.4;
  filter: url("#jk-system-uncertainty-joint-soften");
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band {
  stroke-width: 0.92;
  filter: none;
  paint-order: fill stroke;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--wide {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 4%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 54%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--narrow {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 6%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 72%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line {
  stroke-width: 1.58;
  filter: none;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line.is-wide {
  stroke-width: 1.12;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line:not(.is-wide) {
  stroke: var(--jk-science-rapid);
}

.jk-openkarst-demo-hydro-area {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 22%, transparent);
}

.jk-openkarst-demo-axis {
  stroke-width: 0.72;
  opacity: 0.68;
}

.jk-openkarst-demo-hydro-line {
  stroke-width: 1.28;
}

.jk-openkarst-demo-phase {
  stroke-width: 0.72;
}

.jk-openkarst-demo-cursor {
  stroke-width: 1.05;
}

.jk-openkarst-demo-cursor-dot {
  r: 3.4px;
}

.jk-research-application.is-motion-disabled .jk-system-uncertainty-density {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application .jk-system-uncertainty-density {
    opacity: 1;
  }
}

@media (max-width: 620px) {
  .jk-research-application--simplified [data-jk-subscene-controls="understand"] > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jk-research-application--simplified [data-jk-subscene-controls="understand"] button {
    min-height: 58px;
    padding-inline: 0.34rem;
  }
}

/* Section 03 consolidation: one navigation hierarchy, one spatial-process
   grammar, and one analytical-panel grammar. These final rules intentionally
   supersede the exploratory Section 03 variants retained above. */
.jk-research-application--system {
  --jk-section03-line-context: 1.7;
  --jk-section03-line-primary: 2.2;
  --jk-section03-line-emphasis: 3;
  --jk-section03-line-exchange: 1.35;
  --jk-section03-text-halo: 2.4px;
}

.jk-research-application--system .jk-system-availability-heading,
.jk-research-application--system .jk-system-step-index,
.jk-research-application--system .jk-system-step-number,
.jk-research-application--system .jk-system-lens-step > .jk-system-kicker,
.jk-research-application--system .jk-research-application-category,
.jk-research-application--system .jk-research-application-phases {
  display: none;
}

.jk-research-application--simplified .jk-research-category-tabs {
  gap: 0.1rem;
  padding: 0.2rem;
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.35rem 1rem rgba(31, 56, 62, 0.075);
}

.jk-research-application--simplified .jk-research-category-tabs button {
  min-height: 36px;
  padding-block: 0.42rem;
  border-radius: 0.44rem;
}

.jk-research-application--simplified .jk-research-context-controls,
.jk-research-application--simplified .jk-research-openkarst-controls {
  margin-top: 0.52rem;
  padding: 0.2rem;
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 0.28rem 0.8rem rgba(31, 56, 62, 0.045);
}

.jk-research-application--simplified .jk-research-context-controls button {
  min-height: 40px;
  padding-block: 0.44rem;
  border-radius: 0.44rem;
  cursor: pointer;
}

.jk-research-application--simplified .jk-research-context-controls button strong {
  font-size: clamp(0.65rem, 0.82vw, 0.74rem);
  line-height: 1.18;
}

.jk-research-application--simplified .jk-research-context-controls button::after {
  right: 32%;
  bottom: 0.18rem;
  left: 32%;
  height: 1.5px;
}

.jk-research-application--simplified .jk-research-application-meta {
  width: min(100%, 46rem);
  margin-top: clamp(0.58rem, 1.1vw, 0.82rem);
  padding-inline: 0.2rem;
  color: var(--wp--preset--color--ink-soft);
  text-align: center;
}

.jk-research-application--simplified .jk-research-application-meta p {
  max-width: 46rem;
  font-size: clamp(0.78rem, 0.94vw, 0.88rem);
  line-height: 1.45;
}

/* The landscape remains visible. Opaque surfaces are reserved for actual
   charts instead of being used to hide non-focused geology. */
.jk-research-application--system:not([data-jk-application-state="openkarst"]) :is(
  .jk-system-focus-veil,
  .jk-system-annotation-wash
) {
  display: none !important;
}

.jk-research-application--system :is(
  .jk-system-lens-step--signals,
  .jk-system-lens-step--storage,
  .jk-system-lens-step--travel
) > .jk-system-chart-backdrop,
.jk-openkarst-demo-chart-wash,
.jk-openkarst-demo-metric-wash {
  fill: rgba(255, 255, 255, 0.9);
  stroke: color-mix(in srgb, var(--jk-science-water) 22%, transparent);
  stroke-width: 1;
}

/* A light, consistent keyline is used only where text sits directly on the
   geological image. Plot labels and panel text remain unoutlined. */
.jk-research-application--system .jk-system-lens-step .jk-system-label {
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-linejoin: round;
  stroke-width: var(--jk-section03-text-halo);
}

.jk-research-application--system :is(
  .jk-system-chart-label,
  .jk-system-signal-label,
  .jk-system-lens-step--signals-inference .jk-system-label,
  .jk-system-resource-scenario-title,
  .jk-system-decision-thesis
) {
  paint-order: normal;
  stroke: none;
}

.jk-research-application--system .jk-research-system-overlays :is(
  path[marker-start],
  path[marker-end]
) {
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 1.35px rgba(255, 255, 255, 0.96));
}

/* Input and infiltration. */
.jk-research-application--system .jk-system-lens-step--forcing .jk-system-process-rain line {
  stroke-width: 1.55;
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-diffuse-infiltration-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 12%, transparent);
  stroke-width: 1;
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-infiltration-arrow {
  stroke-width: var(--jk-section03-line-context);
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-surface-routing {
  stroke-width: var(--jk-section03-line-primary);
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-infiltration-arrow.is-focused {
  stroke-width: var(--jk-section03-line-emphasis);
}

/* Storage and coupling: two representative stores, three diffuse pathways,
   one preferential pathway, then the shared phreatic coupling sequence. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange {
  opacity: 1;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-storage-field {
  fill: color-mix(in srgb, var(--jk-science-storage) 12%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-storage) 52%, transparent);
  stroke-width: 1.2;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-diffuse-paths path {
  stroke-width: var(--jk-section03-line-context);
  filter: drop-shadow(0 0 1.35px rgba(255, 255, 255, 0.96));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-matrix-store {
  fill: color-mix(in srgb, #fff 86%, var(--jk-science-storage));
  stroke: color-mix(in srgb, var(--jk-science-storage) 64%, transparent);
  stroke-width: 1.45;
  filter: none;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-bidirectional-exchange,
  .jk-system-phreatic-exchange
) {
  stroke-width: var(--jk-section03-line-exchange);
  filter: drop-shadow(0 0 1.2px rgba(255, 255, 255, 0.96));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-vadose-path.is-primary,
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-pulse {
  stroke-width: var(--jk-section03-line-emphasis);
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-conduit {
  stroke-width: 2.5;
  filter: drop-shadow(0 0 1.35px rgba(255, 255, 255, 0.96));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 11%, transparent);
  stroke-width: 1;
}

/* Short, three-phase storage reveal: vadose transfer, exchange, then the
   phreatic connection and spring response. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-storage-field {
  animation-delay: 40ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange :is(
  .jk-system-diffuse-paths path,
  .jk-system-vadose-label--distributed
) {
  animation-delay: 180ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange :is(
  .jk-system-matrix-store,
  .jk-system-bidirectional-exchange,
  .jk-system-vadose-label--storage
) {
  animation-delay: 420ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange :is(
  .jk-system-vadose-path,
  .jk-system-vadose-label--preferential
) {
  animation-delay: 680ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-phreatic-field,
  .jk-system-phreatic-boundary,
  .jk-system-phreatic-label--water-table
) {
  animation-delay: 900ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-phreatic-conduit,
  .jk-system-phreatic-exchange,
  .jk-system-phreatic-label--exchange
) {
  animation-delay: 1.08s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-phreatic-pulse,
  .jk-system-phreatic-anchor,
  .jk-system-phreatic-label--spring
) {
  animation-delay: 1.28s;
}

/* Signals and inference. The two means use the same shape so the comparison
   isolates information gain; restrained filled hulls encode plausible range. */
.jk-research-application--system .jk-system-lens-step--signals-inference > .jk-system-inference-backdrop {
  fill: rgba(255, 255, 255, 0.9);
  stroke: color-mix(in srgb, var(--jk-science-water) 22%, transparent);
  stroke-width: 1;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-heading {
  font-size: 15px;
  letter-spacing: 0.045em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-node {
  fill: #fff;
  stroke: var(--jk-science-rapid);
  stroke-width: 1.8;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-joint-core {
  fill: color-mix(in srgb, #fff 91%, var(--jk-science-water-soft));
  stroke-width: 2;
  filter: none;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band {
  stroke-width: 1;
  filter: none;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--wide {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 16%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 48%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--narrow {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 24%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 68%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line {
  stroke-width: 1.45;
  filter: none;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line.is-wide {
  stroke: var(--jk-science-water);
  stroke-width: 1.1;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-axis-label,
.jk-research-application--system .jk-system-resource-axis-label,
.jk-research-application--system .jk-system-travel-axis-label {
  fill: color-mix(in srgb, var(--wp--preset--color--ink-soft) 72%, transparent);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.04em;
}

/* Water availability. Scenario headings are neutral; colour and line style
   carry only the model-structure comparison. */
.jk-research-application--system .jk-system-lens-step--storage > .jk-system-resource-scenario-backdrop {
  fill: rgba(255, 255, 255, 0.9);
  stroke: color-mix(in srgb, var(--jk-science-water) 22%, transparent);
  stroke-width: 1;
}

.jk-research-application--system .jk-system-resource-panel-title,
.jk-research-application--system .jk-system-resource-panel-title.is-stress {
  fill: var(--wp--preset--color--ink);
  font-size: 12px;
  font-weight: 650;
}

.jk-research-application--system .jk-system-resource-scenario-title {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.jk-research-application--system .jk-system-resource-legend-line.is-pathway {
  stroke-width: 1.55;
}

.jk-research-application--system .jk-system-resource-legend-line.is-diffuse {
  stroke-width: 1.05;
  stroke-dasharray: 5 4;
}

.jk-research-application--system .jk-system-resource-threshold {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink-soft) 48%, transparent);
  stroke-width: 0.8;
  stroke-dasharray: 4 5;
}

.jk-research-application--system .jk-system-resource-threshold-label {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 64%, transparent);
  font-size: 11px;
}

.jk-research-application--system .jk-system-resource-scenario-line.is-diffuse {
  stroke-width: 1;
  stroke-dasharray: 5 4;
}

.jk-research-application--system .jk-system-resource-scenario-line.is-pathway {
  stroke-width: 1.55;
}

.jk-research-application--system .jk-system-resource-phreatic .jk-system-phreatic-conduit {
  stroke-width: 2.5;
}

.jk-research-application--system .jk-system-resource-phreatic .jk-system-phreatic-exchange {
  stroke-width: var(--jk-section03-line-exchange);
}

.jk-research-application--system .jk-system-resource-phreatic .jk-system-phreatic-pulse {
  stroke-width: var(--jk-section03-line-emphasis);
}

/* Groundwater vulnerability. Routes share the process-arrow system and the
   inset uses the same analytical line hierarchy as the scenario charts. */
.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-chart-backdrop {
  fill: rgba(255, 255, 255, 0.9);
  stroke: color-mix(in srgb, var(--jk-science-water) 22%, transparent);
  stroke-width: 1;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link {
  stroke-width: var(--jk-section03-line-primary);
  filter: drop-shadow(0 0 1.35px rgba(255, 255, 255, 0.96));
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link.is-high {
  stroke-width: var(--jk-section03-line-emphasis);
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link.is-low {
  stroke-width: 1.7;
  stroke-dasharray: 6 6;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-line {
  stroke-width: 1.05;
  filter: none;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-line--rapid {
  stroke-width: 1.45;
}

.jk-research-application--system .jk-system-decision-thesis {
  font-size: 15px;
  letter-spacing: 0.055em;
}

/* openKARST keeps the same canvas fit, arrow silhouette, panel surface, and
   fine graph hierarchy as the other Section 03 states. */
.jk-openkarst-demo-network-wash {
  opacity: 0.88;
}

.jk-openkarst-demo-hydro-line {
  stroke-width: 1.2;
}

.jk-openkarst-demo-axis,
.jk-openkarst-demo-phase {
  stroke-width: 0.7;
  opacity: 0.68;
}

.jk-openkarst-demo-cursor {
  stroke-width: 1;
}

.jk-openkarst-demo-cursor-dot {
  r: 3.2px;
}

.jk-research-application--simplified .jk-research-openkarst-controls {
  grid-template-columns: auto auto minmax(8rem, 1fr) auto;
  gap: 0.5rem;
  padding: 0.34rem 0.44rem;
}

.jk-research-application--simplified .jk-research-openkarst-controls button {
  min-height: 40px;
}

@media (max-width: 720px) {
  .jk-research-application--simplified .jk-research-context-controls {
    margin-top: 0.46rem;
  }

  .jk-research-application--simplified .jk-research-context-controls button {
    min-height: 46px;
    padding-inline: 0.44rem;
  }

  .jk-research-application--simplified .jk-research-context-controls button strong {
    font-size: 0.66rem;
  }

  .jk-research-application--simplified .jk-research-application-meta {
    margin-top: 0.58rem;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .jk-research-application--simplified [data-jk-subscene-controls="understand"] button {
    min-height: 54px;
    padding-inline: 0.28rem;
  }

  .jk-research-application--simplified .jk-research-openkarst-controls {
    grid-template-columns: auto minmax(0, 1fr);
    margin-top: 0.46rem;
  }
}

/* Groundwater vulnerability is a spatial-domain view: irregular surface
   partitions identify conceptual infiltration areas, while translucent
   corridors and fine arrowed centre lines show their connection to the
   shared spring. */
.jk-research-application--system .jk-system-vulnerability-domain {
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 1.05;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}

.jk-research-application--system .jk-system-vulnerability-domain.is-medium {
  fill: color-mix(in srgb, var(--jk-science-water) 17%, transparent);
}

.jk-research-application--system .jk-system-vulnerability-domain.is-high {
  fill: color-mix(in srgb, var(--jk-science-rapid) 16%, transparent);
}

.jk-research-application--system .jk-system-vulnerability-domain.is-low {
  fill: color-mix(in srgb, var(--jk-science-storage) 13%, rgba(255, 255, 255, 0.12));
}

.jk-research-application--system .jk-system-vulnerability-domain-outline {
  fill: none;
  stroke: color-mix(in srgb, var(--jk-science-water) 58%, rgba(255, 255, 255, 0.8));
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system :is(
  .jk-system-vulnerability-domain-heading,
  .jk-system-vulnerability-domain-label,
  .jk-system-vulnerability-spring-label,
  .jk-system-route-label
) {
  font-family: var(--wp--preset--font-family--mono);
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-linejoin: round;
  stroke-width: 3.5px;
}

.jk-research-application--system .jk-system-vulnerability-domain-heading {
  fill: var(--wp--preset--color--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.jk-research-application--system .jk-system-vulnerability-domain-label,
.jk-research-application--system .jk-system-vulnerability-spring-label,
.jk-research-application--system .jk-system-route-label {
  fill: var(--wp--preset--color--ink-soft);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.055em;
}

.jk-research-application--system .jk-system-vulnerability-domain-label.is-high,
.jk-research-application--system .jk-system-route-label.is-high {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-vulnerability-domain-label.is-medium,
.jk-research-application--system .jk-system-route-label.is-medium {
  fill: var(--jk-science-water);
}

.jk-research-application--system .jk-system-vulnerability-domain-label.is-low,
.jk-research-application--system .jk-system-route-label.is-low {
  fill: var(--jk-science-storage);
}

.jk-research-application--system .jk-system-vulnerability-corridor {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}

.jk-research-application--system .jk-system-vulnerability-corridor.is-medium {
  stroke: color-mix(in srgb, var(--jk-science-water) 20%, transparent);
  stroke-width: 17;
}

.jk-research-application--system .jk-system-vulnerability-corridor.is-high {
  stroke: color-mix(in srgb, var(--jk-science-rapid) 18%, transparent);
  stroke-width: 21;
}

.jk-research-application--system .jk-system-vulnerability-corridor.is-low {
  stroke: color-mix(in srgb, var(--jk-science-storage) 17%, transparent);
  stroke-width: 13;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: jk-system-draw 680ms var(--jk-ease) 360ms forwards;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-link.is-low {
  stroke-dasharray: 1;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-domain {
  animation: jk-system-field-in 420ms var(--jk-ease) 40ms forwards;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-domain:nth-child(2) {
  animation-delay: 90ms;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-domain:nth-child(3) {
  animation-delay: 140ms;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-domain:nth-child(4) {
  animation-delay: 190ms;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-domain:nth-child(5) {
  animation-delay: 240ms;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-corridor {
  animation: jk-system-field-in 440ms var(--jk-ease) 280ms forwards;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-source {
  animation-delay: 300ms;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-travel-receptor-ring {
  fill: none;
  stroke: color-mix(in srgb, var(--jk-science-rapid) 48%, transparent);
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}

.jk-research-application.is-motion-disabled :is(
  .jk-system-vulnerability-domain,
  .jk-system-vulnerability-corridor
) {
  opacity: 1;
}

/* Keep the control footprint stable while its label changes between play,
   pause, replay, and reduced-motion states. */
.jk-research-application--simplified .jk-research-openkarst-controls [data-jk-openkarst-play] {
  box-sizing: border-box;
  inline-size: 8.25rem;
  min-inline-size: 8.25rem;
  max-inline-size: 8.25rem;
  justify-content: center;
  white-space: nowrap;
}

/* openKARST surface inputs use one continuous Voronoi-like tessellation.
   Slight fill variation keeps neighbouring diffuse cells legible over the
   terrain, while shared fine boundaries preserve the scientific-map feel. */
.jk-openkarst-demo-surface-domain {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 32%, rgba(255, 255, 255, 0.82));
  stroke-width: 0.95;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

.jk-openkarst-demo-surface-domain.is-diffuse:nth-child(3n + 1) {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 50%, transparent);
}

.jk-openkarst-demo-surface-domain.is-diffuse:nth-child(3n + 2) {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 61%, transparent);
}

.jk-openkarst-demo-surface-domain.is-diffuse:nth-child(3n) {
  fill: color-mix(in srgb, var(--wp--preset--color--water) 12%, var(--wp--preset--color--water-light));
}

.jk-openkarst-demo-surface-outline {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 32%, rgba(255, 255, 255, 0.82));
  stroke-width: 0.95;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

/* The former animated storage ellipses competed with the hydraulic network.
   Reservoir exchange remains visible through the fine links and arrows. */
.jk-openkarst-demo-reservoir-field {
  display: none;
}

.jk-openkarst-demo-constriction-locator,
.jk-openkarst-demo-constriction-leader {
  fill: none;
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 66%, transparent);
  stroke-width: 1.05;
  vector-effect: non-scaling-stroke;
  transition: stroke 140ms linear, opacity 140ms linear;
}

.jk-openkarst-demo-constriction-locator {
  stroke-dasharray: 3 3;
}

.jk-openkarst-demo-constriction-label {
  fill: var(--wp--preset--color--water);
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 3.2px;
  paint-order: stroke fill;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  transition: fill 140ms linear;
}

.jk-openkarst-demo-constriction-annotation.is-pressurized :is(
  .jk-openkarst-demo-constriction-locator,
  .jk-openkarst-demo-constriction-leader
) {
  stroke: var(--jk-magenta);
}

.jk-openkarst-demo-constriction-annotation.is-pressurized .jk-openkarst-demo-constriction-label {
  fill: var(--jk-magenta);
}

/* Input + infiltration uses the same clipped surface-cell geometry as the
   openKARST refinement. Shared boundaries connect the conceptual partitioning
   graphic directly to the later spatial model. */
.jk-research-application--system .jk-system-lens-step--forcing .jk-system-annotation-wash {
  fill: rgba(255, 255, 255, 0.48);
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-process-rain line {
  stroke: color-mix(in srgb, var(--jk-science-water) 92%, var(--wp--preset--color--ink));
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 2.6px rgba(255, 255, 255, 1));
}

.jk-research-application--system .jk-system-infiltration-surface-band {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 12%, transparent);
  opacity: 0;
}

.jk-research-application--system .jk-system-infiltration-domain {
  fill: var(--jk-science-water-soft);
  fill-opacity: 0.5;
  stroke: color-mix(in srgb, var(--jk-science-water) 30%, rgba(255, 255, 255, 0.88));
  stroke-width: 1;
  stroke-linejoin: miter;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-infiltration-domain.is-rapid {
  fill: var(--jk-magenta);
  stroke: color-mix(in srgb, var(--jk-magenta) 42%, rgba(255, 255, 255, 0.88));
}

.jk-research-application--system .jk-system-infiltration-surface-outline {
  fill: none;
  stroke: color-mix(in srgb, var(--jk-science-water) 44%, rgba(255, 255, 255, 0.82));
  stroke-width: 1.05;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-runoff-routing .jk-system-surface-routing {
  stroke: var(--jk-science-water);
  stroke-width: 2.05;
}

.jk-research-application--system .jk-system-lens-step--forcing .jk-system-focused-recharge .jk-system-infiltration-arrow {
  stroke-width: 2.5;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-infiltration-surface-band {
  animation: jk-system-field-in 420ms var(--jk-ease) 300ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-infiltration-domain {
  animation: jk-system-field-in 360ms var(--jk-ease) 360ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-infiltration-surface-outline {
  animation: jk-system-field-in 360ms var(--jk-ease) 500ms forwards;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-diffuse-recharge .jk-system-infiltration-arrow {
  animation-duration: 560ms;
  animation-delay: 560ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-diffuse-recharge .jk-system-infiltration-arrow:nth-child(2n) {
  animation-delay: 610ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-diffuse-recharge .jk-system-infiltration-arrow:nth-child(3n) {
  animation-delay: 660ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-forcing-label--diffuse {
  animation-delay: 900ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-runoff-routing .jk-system-surface-routing {
  animation-delay: 930ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-forcing-label--routing {
  animation-delay: 1.18s;
}

.jk-research-application.is-motion-disabled :is(
  .jk-system-infiltration-surface-band,
  .jk-system-infiltration-domain,
  .jk-system-infiltration-surface-outline
) {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application :is(
    .jk-system-infiltration-surface-band,
    .jk-system-infiltration-domain,
    .jk-system-infiltration-surface-outline
  ) {
    opacity: 1;
  }
}

@media (max-width: 620px) {
  .jk-research-application--system .jk-system-infiltration-surface {
    display: none;
  }
}

/* This additional focused-input cell sits at the right sinkhole. It is a
   spatial input area only, so it deliberately carries no rapid-node data
   attribute and therefore never implies a simulated conduit connection. */
.jk-openkarst-demo-surface-domain.is-rapid.is-unconnected {
  opacity: 0.56;
}

/* Shared surface keys use the exact hues of their corresponding cells. */
.jk-openkarst-demo-surface-domain.is-rapid {
  fill: var(--jk-magenta);
}

.jk-openkarst-demo-surface-key rect.is-diffuse {
  fill: var(--wp--preset--color--water-light);
  opacity: 0.42;
}

.jk-openkarst-demo-surface-key rect.is-rapid {
  fill: var(--jk-magenta);
  opacity: 0.48;
}

.jk-system-infiltration-key rect.is-diffuse {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 24%, transparent);
  opacity: 1;
}

.jk-system-infiltration-key rect.is-rapid {
  fill: color-mix(in srgb, var(--jk-magenta) 24%, transparent);
  opacity: 1;
}

/* The vulnerability view reuses the same 15 cells and scores the two-by-two
   combinations of surface cover and subsurface connection. */
.jk-research-application--system .jk-system-vulnerability-domain {
  stroke: color-mix(in srgb, var(--jk-science-water) 30%, rgba(255, 255, 255, 0.88));
  stroke-width: 1;
  stroke-linejoin: miter;
}

.jk-research-application--system .jk-system-vulnerability-domain.is-low {
  fill: color-mix(in srgb, var(--jk-science-storage) 16%, transparent);
}

.jk-research-application--system .jk-system-vulnerability-domain.is-medium {
  fill: color-mix(in srgb, var(--jk-science-water) 20%, transparent);
}

.jk-research-application--system .jk-system-vulnerability-domain.is-high {
  fill: color-mix(in srgb, var(--jk-magenta) 20%, transparent);
}

.jk-research-application--system .jk-system-vulnerability-domain.is-very-high {
  fill: color-mix(in srgb, var(--jk-magenta) 32%, transparent);
}

.jk-research-application--system .jk-system-vulnerability-domain-outline {
  stroke: color-mix(in srgb, var(--jk-science-water) 44%, rgba(255, 255, 255, 0.82));
  stroke-width: 1.05;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.jk-research-application--system .jk-system-vulnerability-matrix-key rect {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink) 18%, transparent);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-vulnerability-matrix-key rect.is-low {
  fill: color-mix(in srgb, var(--jk-science-storage) 16%, transparent);
}

.jk-research-application--system .jk-system-vulnerability-matrix-key rect.is-medium {
  fill: color-mix(in srgb, var(--jk-science-water) 20%, transparent);
}

.jk-research-application--system .jk-system-vulnerability-matrix-key rect.is-high {
  fill: color-mix(in srgb, var(--jk-magenta) 20%, transparent);
}

.jk-research-application--system .jk-system-vulnerability-matrix-key rect.is-very-high {
  fill: color-mix(in srgb, var(--jk-magenta) 32%, transparent);
}

.jk-research-application--system :is(
  .jk-system-vulnerability-matrix-key text,
  .jk-system-vulnerability-cover-label
) {
  font-family: var(--wp--preset--font-family--mono);
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.jk-research-application--system .jk-system-vulnerability-matrix-key text {
  fill: var(--wp--preset--color--ink-soft);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.jk-research-application--system .jk-system-vulnerability-cover-label {
  fill: var(--wp--preset--color--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.065em;
}

.jk-research-application--system .jk-system-vulnerability-cover-label.is-soil {
  fill: var(--jk-science-storage);
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-domain:nth-child(n) {
  animation-delay: 40ms;
}

/* openKARST uses hydraulic-wave colouring exclusively. Two synchronized
   diagnostics carry the Reynolds information without recolouring the network. */
.jk-openkarst-demo-diagnostics .jk-openkarst-demo-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.075em;
}

.jk-openkarst-demo-diagnostics .jk-openkarst-demo-axis-unit {
  font-size: 11.5px;
  font-weight: 600;
}

.jk-openkarst-demo-reynolds-band {
  fill: color-mix(in srgb, var(--wp--preset--color--water-light) 24%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 34%, transparent);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-reynolds-median,
.jk-openkarst-demo-reynolds-share-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-reynolds-median {
  stroke: var(--wp--preset--color--water);
  stroke-width: 1.35;
}

.jk-openkarst-demo-reynolds-threshold {
  stroke-width: 0.65;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-reynolds-threshold.is-transition {
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 36%, transparent);
}

.jk-openkarst-demo-reynolds-threshold.is-turbulent {
  stroke: color-mix(in srgb, var(--jk-magenta) 38%, transparent);
}

.jk-openkarst-demo-reynolds-share-area {
  fill: color-mix(in srgb, var(--jk-magenta) 9%, transparent);
}

.jk-openkarst-demo-reynolds-share-line.is-high,
.jk-openkarst-demo-reynolds-share-key.is-high {
  stroke: var(--wp--preset--color--water);
  stroke-width: 1.05;
}

.jk-openkarst-demo-reynolds-share-line.is-extreme,
.jk-openkarst-demo-reynolds-share-key.is-extreme {
  stroke: var(--jk-magenta);
  stroke-width: 1.4;
}

.jk-openkarst-demo-reynolds-share-key {
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--simplified .jk-research-openkarst-controls {
  grid-template-columns: auto minmax(8rem, 1fr) auto;
}

@media (max-width: 780px) {
  .jk-research-application--simplified .jk-research-openkarst-controls {
    grid-template-columns: auto minmax(8rem, 1fr);
  }
}

/* Section 03 clarity pass: legible keys, a single explained exchange symbol,
   and consistent analytical-line weights. */
.jk-openkarst-demo-surface-key rect.jk-system-surface-key-backdrop {
  fill: rgba(255, 255, 255, 0.91);
  stroke: color-mix(in srgb, var(--wp--preset--color--water) 24%, transparent);
  stroke-width: 1;
  opacity: 1;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-surface-key text {
  fill: var(--wp--preset--color--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.018em;
}

.jk-research-application--system .jk-system-vulnerability-matrix-key rect.jk-system-vulnerability-key-backdrop {
  fill: rgba(255, 255, 255, 0.91);
  stroke: color-mix(in srgb, var(--jk-science-water) 24%, transparent);
  stroke-width: 1;
  opacity: 1;
}

.jk-research-application--system .jk-system-water-table-symbol {
  fill: var(--jk-science-water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 25px;
  font-weight: 700;
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-linejoin: round;
  stroke-width: 2.5px;
}

.jk-research-application--system :is(
  .jk-system-phreatic-label--exchange,
  .jk-system-resource-phreatic-exchange-label
) {
  fill: var(--jk-science-water);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-line,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-line--discharge,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-line--temperature,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-line--solute {
  stroke-width: 1.62;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line.is-wide {
  stroke-width: 1.62;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-caption {
  fill: var(--jk-science-water);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

/* Section 03 chapter navigation. One semantic scene model is presented as a
   left-hand chapter story on wide screens and a sequential accordion below
   the graphic when space is limited. */
.jk-research-application--chaptered {
  --jk-system-stage-width: 100%;
  --jk-research-chapter-width: clamp(15rem, 16.5vw, 16rem);
  display: block;
}

.jk-research-application--chaptered .jk-research-interactive-layout {
  display: grid;
  width: min(100%, 98rem);
  grid-template-areas:
    "scene"
    "navigation";
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
  margin-inline: auto;
}

.jk-research-application--chaptered .jk-research-scene-column {
  grid-area: scene;
  min-width: 0;
}

.jk-research-application--chaptered .jk-research-application-visual--system {
  width: 100%;
  margin-inline: 0;
  order: initial;
}

.jk-research-mobile-scene-header {
  display: block;
  scroll-margin-top: calc(var(--jk-header-compact-height) + 1rem);
  margin: 0 0 clamp(0.7rem, 1.6vw, 1rem);
}

.jk-research-mobile-scene-header p {
  margin: 0 0 0.22rem;
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jk-research-mobile-scene-header h3 {
  margin: 0;
  color: var(--wp--preset--color--ink);
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  line-height: 1.16;
}

.jk-research-chapter-navigation {
  grid-area: navigation;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-top: clamp(0.9rem, 2vw, 1.2rem);
  border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 86%, transparent);
}

.jk-research-chapter-list {
  position: relative;
  display: grid;
  gap: 0.08rem;
  margin: 0;
  padding: 0 0 0 1.2rem;
  list-style: none;
}

.jk-research-chapter-list::before {
  position: absolute;
  top: 1.45rem;
  bottom: 1.45rem;
  left: 0.34rem;
  width: 1px;
  background: color-mix(in srgb, var(--wp--preset--color--water) 24%, transparent);
  content: "";
}

.jk-research-chapter-item {
  position: relative;
  min-width: 0;
}

.jk-research-chapter-trigger {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 50px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.08rem 0.55rem;
  align-items: center;
  box-sizing: border-box;
  padding: 0.44rem 0.56rem 0.46rem;
  border: 0;
  border-radius: 0.48rem;
  background: transparent;
  color: var(--wp--preset--color--ink-soft);
  cursor: pointer;
  text-align: left;
}

.jk-research-chapter-trigger::before {
  position: absolute;
  top: 50%;
  left: -1.13rem;
  width: 0.62rem;
  height: 0.62rem;
  border: 1.5px solid color-mix(in srgb, var(--wp--preset--color--water) 46%, #fff);
  border-radius: 50%;
  background: #fff;
  content: "";
  transform: translateY(-50%);
}

.jk-research-chapter-trigger > span:first-child {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.jk-research-chapter-trigger strong {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.2;
}

.jk-research-chapter-trigger small,
.jk-research-chapter-current {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.jk-research-chapter-trigger small {
  color: color-mix(in srgb, var(--wp--preset--color--ink-soft) 74%, transparent);
}

.jk-research-chapter-current {
  color: var(--wp--preset--color--water);
  white-space: nowrap;
}

.jk-research-chapter-trigger:hover,
.jk-research-chapter-trigger:focus-visible {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 13%, transparent);
  color: var(--wp--preset--color--ink);
}

.jk-research-chapter-trigger[aria-current="true"] {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 20%, transparent);
  color: var(--wp--preset--color--ink);
}

.jk-research-chapter-trigger[aria-current="true"]::before {
  border-color: #fff;
  background: var(--wp--preset--color--water);
  box-shadow:
    0 0 0 2px var(--wp--preset--color--water),
    0 0 0 4px #fff;
}

.jk-research-chapter-panel {
  display: grid;
  gap: 0.08rem;
  padding: 0.04rem 0 0.32rem 0.52rem;
}

.jk-research-chapter-panel[hidden] {
  display: none;
}

.jk-research-chapter-panel button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 44px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  box-sizing: border-box;
  padding: 0.42rem 0.62rem 0.44rem 0.78rem;
  border: 0;
  border-radius: 0.42rem;
  background: transparent;
  color: var(--wp--preset--color--ink-soft);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
}

.jk-research-chapter-panel button::before {
  position: absolute;
  top: 0.58rem;
  bottom: 0.58rem;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--wp--preset--color--water), var(--jk-magenta));
  content: "";
  opacity: 0;
  transform: scaleY(0.4);
}

.jk-research-chapter-panel button:hover,
.jk-research-chapter-panel button:focus-visible {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 12%, transparent);
  color: var(--wp--preset--color--ink);
}

.jk-research-chapter-panel button[aria-current="step"] {
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 22%, transparent);
  color: var(--wp--preset--color--ink);
  font-weight: 720;
}

.jk-research-chapter-panel button[aria-current="step"]::before {
  opacity: 1;
  transform: scaleY(1);
}

.jk-research-chapter-panel button small {
  color: var(--wp--preset--color--water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.jk-research-application--chaptered .jk-research-application-meta {
  width: 100%;
  max-width: none;
  margin: clamp(0.42rem, 0.8vw, 0.62rem) 0 0;
  padding: 0;
  color: color-mix(in srgb, var(--wp--preset--color--ink) 72%, transparent);
  text-align: left;
}

.jk-research-application--chaptered .jk-research-application-meta p {
  max-width: 48rem;
  font-size: clamp(0.86rem, 0.94vw, 0.92rem);
  font-weight: 500;
  line-height: 1.42;
}

.jk-research-sequence-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.jk-research-sequence-controls--story {
  margin-top: 0.9rem;
}

.jk-research-sequence-controls--navigation {
  display: none;
  margin-top: auto;
  padding-top: 1rem;
}

.jk-research-scene-progress {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.jk-research-scene-progress progress {
  width: 100%;
  height: 3px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--wp--preset--color--water) 16%, transparent);
  color: var(--wp--preset--color--water);
}

.jk-research-scene-progress progress::-webkit-progress-bar {
  border-radius: 999px;
  background: color-mix(in srgb, var(--wp--preset--color--water) 16%, transparent);
}

.jk-research-scene-progress progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wp--preset--color--water), var(--jk-magenta));
}

.jk-research-scene-progress progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--wp--preset--color--water), var(--jk-magenta));
}

.jk-research-sequence-controls button,
.jk-research-explore-toggle {
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 88%, transparent);
  border-radius: 0.48rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--wp--preset--color--ink);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}

.jk-research-sequence-controls button {
  display: flex;
  gap: 0.42rem;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.64rem;
}

.jk-research-sequence-controls button:hover,
.jk-research-sequence-controls button:focus-visible,
.jk-research-explore-toggle:hover,
.jk-research-explore-toggle:focus-visible {
  border-color: color-mix(in srgb, var(--wp--preset--color--water) 46%, transparent);
  background: color-mix(in srgb, var(--wp--preset--color--water-light) 16%, #fff);
}

.jk-research-sequence-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.jk-research-explore-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.58rem;
  padding: 0.62rem 0.78rem;
  text-align: left;
}

.jk-research-explore-toggle > span:last-child {
  color: var(--wp--preset--color--water);
  font-size: 1rem;
  transition: transform 180ms var(--jk-ease);
}

.jk-research-explore-toggle[aria-expanded="true"] > span:last-child {
  transform: rotate(180deg);
}

.jk-research-application--chaptered .jk-research-openkarst-controls {
  width: 100%;
  max-width: none;
}

.jk-research-application--chaptered .jk-research-openkarst-controls button,
.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"] {
  min-height: 44px;
}

/* Wide desktop chapter story. */
@media (min-width: 68rem) {
  .jk-research-application--chaptered .jk-research-interactive-layout {
    grid-template-areas: "navigation scene";
    grid-template-columns: var(--jk-research-chapter-width) minmax(0, 1fr);
    gap: clamp(1.15rem, 2vw, 1.9rem);
    align-items: stretch;
  }

  .jk-research-mobile-scene-header,
  .jk-research-sequence-controls--story {
    display: none;
  }

  .jk-research-chapter-navigation {
    min-height: 100%;
    padding: 0 clamp(1rem, 1.8vw, 1.45rem) 0 0;
    border-top: 0;
    border-right: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 86%, transparent);
  }

  .jk-research-sequence-controls--navigation {
    display: grid;
  }
}

/* A landscape tablet keeps the chapter rail, but gives the graphic priority. */
@media (min-width: 48rem) and (max-width: 67.99rem) and (orientation: landscape) {
  .jk-research-application--chaptered {
    --jk-research-chapter-width: clamp(13rem, 24vw, 14.25rem);
  }

  .jk-research-application--chaptered .jk-research-interactive-layout {
    grid-template-areas: "navigation scene";
    grid-template-columns: var(--jk-research-chapter-width) minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.35rem);
    align-items: stretch;
  }

  .jk-research-mobile-scene-header,
  .jk-research-sequence-controls--story {
    display: none;
  }

  .jk-research-chapter-navigation {
    min-height: 100%;
    padding: 0 0.85rem 0 0;
    border-top: 0;
    border-right: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 86%, transparent);
  }

  .jk-research-chapter-trigger {
    grid-template-columns: minmax(0, 1fr);
  }

  .jk-research-chapter-current {
    justify-self: start;
  }

  .jk-research-sequence-controls--navigation {
    display: grid;
  }
}

/* The phone view is deliberately sequential. The complete chapter overview
   enters normal document flow only when requested. */
@media (max-width: 40rem) {
  .jk-research-application--chaptered .jk-research-interactive-layout {
    gap: 0.72rem;
  }

  .jk-research-mobile-scene-header {
    margin-bottom: 0.62rem;
  }

  .jk-research-application--chaptered .jk-research-application-meta {
    margin-top: 0.48rem;
  }

  .jk-research-application--chaptered .jk-research-application-meta p {
    font-size: 0.86rem;
    line-height: 1.44;
  }

  .jk-research-sequence-controls--story {
    display: grid;
  }

  .jk-research-sequence-controls button,
  .jk-research-explore-toggle,
  .jk-research-chapter-trigger,
  .jk-research-chapter-panel button {
    min-height: 48px;
  }

  .jk-research-explore-toggle {
    display: flex;
  }

  .jk-research-chapter-navigation {
    display: none;
    margin-top: 0.12rem;
    padding-top: 0.82rem;
  }

  .jk-research-application--chaptered[data-jk-overview-open="true"] .jk-research-chapter-navigation {
    display: flex;
  }

  .jk-research-sequence-controls--navigation {
    display: none;
  }

  .jk-research-chapter-list {
    padding-left: 1.1rem;
  }

  .jk-research-chapter-trigger {
    padding-right: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-chapter-trigger,
  .jk-research-chapter-panel button,
  .jk-research-sequence-controls button,
  .jk-research-explore-toggle,
  .jk-research-explore-toggle > span:last-child {
    transition: none;
  }
}

/* Section 03 analytical refinements: consistent keys, spatial vulnerability
   routes, and an input-to-response openKARST diagnostic sequence. */
.jk-research-application--system .jk-system-resource-model-key text {
  fill: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.012em;
}

.jk-research-application--system .jk-system-resource-model-key .jk-system-chart-label--magenta {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-resource-legend-line,
.jk-research-application--system .jk-system-resource-scenario-line {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.jk-research-application--system .jk-system-resource-legend-line.is-pathway,
.jk-research-application--system .jk-system-resource-scenario-line.is-pathway {
  stroke: var(--jk-science-rapid);
  stroke-width: 1.55;
}

.jk-research-application--system .jk-system-resource-legend-line.is-diffuse,
.jk-research-application--system .jk-system-resource-scenario-line.is-diffuse {
  stroke: color-mix(in srgb, var(--jk-science-water) 74%, var(--jk-science-storage));
  stroke-width: 1.05;
  stroke-dasharray: none;
}

.jk-research-application--system.is-motion-disabled .jk-system-resource-scenario-line.is-diffuse {
  stroke-dasharray: none;
}

.jk-system-infiltration-legend .jk-system-surface-key-backdrop {
  fill: rgba(255, 255, 255, 0.92);
  stroke: color-mix(in srgb, var(--jk-science-water) 22%, transparent);
  stroke-width: 0.9;
  opacity: 1;
  vector-effect: non-scaling-stroke;
}

.jk-system-infiltration-legend rect.is-diffuse,
.jk-system-infiltration-key rect.is-diffuse {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 34%, transparent);
  opacity: 1;
}

.jk-system-infiltration-legend rect.is-rapid,
.jk-system-infiltration-key rect.is-rapid {
  fill: color-mix(in srgb, var(--jk-science-rapid) 36%, transparent);
  opacity: 1;
}

.jk-system-infiltration-legend text,
.jk-openkarst-demo .jk-system-infiltration-legend text {
  fill: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.jk-research-application--system .jk-system-vulnerability-route {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-vulnerability-route.is-very-high {
  stroke: var(--jk-science-rapid);
  stroke-width: 2.3;
}

.jk-research-application--system .jk-system-vulnerability-route.is-high {
  stroke: #d84b9a;
  stroke-width: 1.9;
}

.jk-research-application--system .jk-system-vulnerability-route.is-medium {
  stroke: var(--jk-science-water);
  stroke-width: 1.45;
  stroke-dasharray: 5 5;
}

.jk-research-application--system .jk-system-vulnerability-route.is-low {
  stroke: var(--jk-science-storage);
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
  opacity: 0.82;
}

.jk-research-application--system .jk-system-vulnerability-route-source {
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-vulnerability-route-source.is-very-high {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-vulnerability-route-source.is-high {
  fill: #d84b9a;
}

.jk-research-application--system .jk-system-vulnerability-route-source.is-medium {
  fill: var(--jk-science-water);
}

.jk-research-application--system .jk-system-vulnerability-route-source.is-low {
  fill: var(--jk-science-storage);
}

.jk-openkarst-demo-input-area {
  stroke: none;
}

.jk-openkarst-demo-input-area.is-diffuse {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 20%, transparent);
}

.jk-openkarst-demo-input-area.is-focused {
  fill: color-mix(in srgb, var(--jk-science-rapid) 17%, transparent);
}

.jk-openkarst-demo-input-line {
  fill: none;
  stroke: var(--jk-science-rapid);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo-reynolds-bar {
  transition: y 90ms linear, height 90ms linear;
}

.jk-openkarst-demo-reynolds-bar.is-low {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 70%, #fff);
}

.jk-openkarst-demo-reynolds-bar.is-transitional {
  fill: color-mix(in srgb, var(--jk-science-water) 72%, var(--jk-science-storage));
}

.jk-openkarst-demo-reynolds-bar.is-high {
  fill: color-mix(in srgb, var(--jk-science-rapid) 76%, #fff);
}

.jk-openkarst-demo-surface-input-halo {
  fill: none;
  stroke: var(--jk-science-rapid);
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
  transition: opacity 100ms linear, r 100ms linear, stroke-width 100ms linear;
}

.jk-openkarst-demo-surface-input-halo.is-diffuse {
  display: none;
}

.jk-openkarst-demo.is-playing .jk-openkarst-demo-surface-input-halo.is-focused {
  animation: jk-openkarst-input-ring 1.15s ease-in-out infinite;
}

.jk-openkarst-demo.is-playing .jk-openkarst-demo-recharge-link,
.jk-openkarst-demo.is-playing .jk-openkarst-demo-diffuse-inputs line {
  stroke-dasharray: 3 5;
  animation: jk-openkarst-input-flow 900ms linear infinite;
}

.jk-openkarst-demo-domain-anchor,
.jk-openkarst-demo-diffuse-inputs circle {
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--jk-science-water) 42%, transparent));
}

@keyframes jk-openkarst-input-ring {
  0%,
  100% {
    filter: drop-shadow(0 0 1px color-mix(in srgb, var(--jk-science-rapid) 30%, transparent));
    transform: scale(0.92);
  }

  50% {
    filter: drop-shadow(0 0 5px color-mix(in srgb, var(--jk-science-rapid) 58%, transparent));
    transform: scale(1.08);
  }
}

@keyframes jk-openkarst-input-flow {
  to {
    stroke-dashoffset: -8;
  }
}

.jk-research-application--chaptered .jk-research-openkarst-controls {
  grid-template-columns: 8.25rem minmax(8rem, 1fr) 8.5ch;
  gap: 0.55rem;
  padding: 0.28rem 0.4rem;
  border-radius: 0.66rem;
}

.jk-research-application--chaptered .jk-research-openkarst-controls label {
  min-width: 0;
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"] {
  min-height: 44px;
  margin: 0;
  background: transparent;
  accent-color: var(--jk-science-rapid);
  appearance: none;
  -webkit-appearance: none;
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--jk-science-water) 25%, #fff);
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -5.5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--jk-science-rapid);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--jk-science-rapid) 42%, transparent);
  -webkit-appearance: none;
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-moz-range-track {
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--jk-science-water) 25%, #fff);
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--jk-science-rapid);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--jk-science-rapid) 42%, transparent);
}

.jk-research-application--chaptered .jk-research-openkarst-controls output {
  display: block;
  width: 8.5ch;
  min-width: 8.5ch;
  max-width: 8.5ch;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

@media (max-width: 40rem) {
  .jk-research-application--chaptered .jk-research-openkarst-controls {
    grid-template-columns: 7.4rem minmax(5rem, 1fr) 8.5ch;
    gap: 0.4rem;
  }

  .jk-research-application--chaptered .jk-research-openkarst-controls [data-jk-openkarst-play] {
    width: 7.4rem;
    min-width: 7.4rem;
    max-width: 7.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jk-openkarst-demo.is-playing .jk-openkarst-demo-surface-input-halo,
  .jk-openkarst-demo.is-playing .jk-openkarst-demo-recharge-link,
  .jk-openkarst-demo.is-playing .jk-openkarst-demo-diffuse-inputs line {
    animation: none;
  }

  .jk-openkarst-demo-reynolds-bar {
    transition: none;
  }
}

/* Section 03 compact navigation. The rail moves beside the graphic from narrow
   desktop-panel and tablet widths upward; genuinely small phone widths retain
   the sequential story and optional chapter overview. */
@media (min-width: 38rem) {
  .jk-research-application--chaptered {
    --jk-research-chapter-width: clamp(9.75rem, 23vw, 13.75rem);
  }

  .jk-research-application--chaptered .jk-research-interactive-layout {
    grid-template-areas: "navigation scene";
    grid-template-columns: var(--jk-research-chapter-width) minmax(0, 1fr);
    gap: clamp(0.7rem, 1.5vw, 1.15rem);
    align-items: start;
  }

  .jk-research-mobile-scene-header,
  .jk-research-sequence-controls--story {
    display: none;
  }

  .jk-research-chapter-navigation {
    display: flex;
    align-self: start;
    min-height: 0;
    padding: 0 clamp(0.65rem, 1.2vw, 0.9rem) 0 0;
    border-top: 0;
    border-right: 1px solid color-mix(in srgb, var(--wp--preset--color--line) 84%, transparent);
  }

  .jk-research-chapter-list {
    gap: 0.08rem;
    padding-left: 0.96rem;
  }

  .jk-research-chapter-list::before {
    top: 1.2rem;
    bottom: 1.2rem;
    left: 0.27rem;
  }

  .jk-research-chapter-trigger {
    min-height: 46px;
    grid-template-columns: minmax(0, 1fr);
    padding: 0.42rem 0.46rem;
  }

  .jk-research-chapter-trigger::before {
    left: -0.93rem;
    width: 0.52rem;
    height: 0.52rem;
  }

  .jk-research-chapter-trigger strong {
    font-size: 0.82rem;
  }

  .jk-research-chapter-trigger small {
    font-size: 0.52rem;
  }

  .jk-research-chapter-current {
    display: none;
  }

  .jk-research-chapter-panel {
    gap: 0.08rem;
    padding: 0 0 0.26rem 0.38rem;
  }

  .jk-research-chapter-panel button {
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr);
    padding: 0.42rem 0.46rem 0.44rem 0.68rem;
    font-size: 0.72rem;
  }

  .jk-research-chapter-panel button::before {
    top: 0.5rem;
    bottom: 0.5rem;
  }

  .jk-research-chapter-panel button small {
    display: none;
  }

  .jk-research-sequence-controls--navigation {
    display: grid;
    margin-top: 0.42rem;
    padding-top: 0.68rem;
  }

  .jk-research-explore-toggle {
    display: none;
  }

  .jk-research-sequence-controls--navigation button {
    min-height: 44px;
    padding-inline: 0.42rem;
    font-size: 0.7rem;
  }
}

/* openKARST fine controls and denser Reynolds histogram. The visible slider
   becomes lighter while its input retains a full 44 px interaction target. */
.jk-openkarst-demo-reynolds-bar {
  shape-rendering: geometricPrecision;
}

.jk-openkarst-demo-reynolds-grid-line {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink) 9%, transparent);
  stroke-width: 0.65;
  vector-effect: non-scaling-stroke;
}

.jk-openkarst-demo .jk-openkarst-demo-reynolds-tick {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 72%, transparent);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.jk-research-application--chaptered .jk-research-openkarst-controls {
  width: min(100%, 42rem);
  max-width: 42rem;
  grid-template-columns: 7.25rem minmax(7rem, 1fr) 8.5ch;
  gap: 0.42rem;
  margin-left: auto;
  padding: 0.12rem 0.26rem;
  border-color: color-mix(in srgb, var(--jk-science-water) 13%, transparent);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 0.24rem 0.7rem rgba(31, 56, 62, 0.055);
}

.jk-research-application--chaptered .jk-research-openkarst-controls [data-jk-openkarst-play] {
  width: 7.25rem;
  min-width: 7.25rem;
  max-width: 7.25rem;
  min-height: 44px;
  padding-inline: 0.52rem;
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: color-mix(in srgb, var(--jk-science-water) 22%, #fff);
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border-width: 1.5px;
  box-shadow: 0 0 0 0.75px color-mix(in srgb, var(--jk-science-rapid) 34%, transparent);
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-moz-range-track {
  height: 2px;
  background: color-mix(in srgb, var(--jk-science-water) 22%, #fff);
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-width: 1.5px;
  box-shadow: 0 0 0 0.75px color-mix(in srgb, var(--jk-science-rapid) 34%, transparent);
}

.jk-research-application--chaptered .jk-research-openkarst-controls output {
  font-size: 0.61rem;
  letter-spacing: 0.01em;
}

@media (max-width: 30rem) {
  .jk-research-application--chaptered .jk-research-openkarst-controls {
    grid-template-columns: 6.5rem minmax(4.5rem, 1fr) 8.5ch;
    gap: 0.3rem;
  }

  .jk-research-application--chaptered .jk-research-openkarst-controls [data-jk-openkarst-play] {
    width: 6.5rem;
    min-width: 6.5rem;
    max-width: 6.5rem;
  }
}

/* Minimal openKARST scientific timeline. The visible rail is a one-pixel
   elapsed-time trace; the native control still occupies a 44 px touch target. */
.jk-research-application--chaptered .jk-research-openkarst-controls {
  width: min(100%, 34rem);
  max-width: 34rem;
  grid-template-columns: 3.25rem minmax(7rem, 1fr) 8.5ch;
  gap: 0.36rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.jk-research-application--chaptered .jk-research-openkarst-controls [data-jk-openkarst-play] {
  display: inline-flex;
  width: 3.25rem;
  min-width: 3.25rem;
  max-width: 3.25rem;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--jk-ink-soft);
  font-size: 0.56rem;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.jk-research-application--chaptered .jk-research-openkarst-controls [data-jk-openkarst-play][aria-pressed="true"] {
  color: var(--jk-science-rapid);
}

.jk-research-application--chaptered .jk-research-openkarst-controls [data-jk-openkarst-play]:focus-visible {
  outline: 1.5px solid var(--jk-science-water);
  outline-offset: 2px;
  border-radius: 0.2rem;
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"] {
  --jk-openkarst-timeline-progress: 0%;
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-webkit-slider-runnable-track {
  height: 1px;
  border-radius: 0;
  background:
    linear-gradient(
      90deg,
      var(--jk-science-water) 0 var(--jk-openkarst-timeline-progress),
      color-mix(in srgb, var(--jk-science-water) 18%, #fff) var(--jk-openkarst-timeline-progress) 100%
    );
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-webkit-slider-thumb {
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border: 1px solid #fff;
  background: var(--jk-science-rapid);
  box-shadow: 0 0 0 0.6px color-mix(in srgb, var(--jk-science-water) 42%, transparent);
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-moz-range-track {
  height: 1px;
  border-radius: 0;
  background: color-mix(in srgb, var(--jk-science-water) 18%, #fff);
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-moz-range-progress {
  height: 1px;
  background: var(--jk-science-water);
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 1px solid #fff;
  background: var(--jk-science-rapid);
  box-shadow: 0 0 0 0.6px color-mix(in srgb, var(--jk-science-water) 42%, transparent);
}

.jk-research-application--chaptered .jk-research-openkarst-controls input[type="range"]:focus-visible {
  border-radius: 0.2rem;
  outline: 1.5px solid color-mix(in srgb, var(--jk-science-rapid) 58%, transparent);
  outline-offset: -7px;
}

.jk-research-application--chaptered .jk-research-openkarst-controls output {
  align-self: center;
  color: color-mix(in srgb, var(--wp--preset--color--ink) 68%, transparent);
  font-size: 0.59rem;
  font-weight: 600;
}

@media (max-width: 30rem) {
  .jk-research-application--chaptered .jk-research-openkarst-controls {
    grid-template-columns: 3.25rem minmax(4.5rem, 1fr) 8.5ch;
    gap: 0.28rem;
  }

  .jk-research-application--chaptered .jk-research-openkarst-controls [data-jk-openkarst-play] {
    width: 3.25rem;
    min-width: 3.25rem;
    max-width: 3.25rem;
  }
}

/* The simulation timeline belongs to the openKARST figure. On wider stages it
   completes the diagnostic plot block; compact stages use a quiet full-width
   footer rail without changing the control's touch or keyboard target. */
.jk-research-application--chaptered .jk-openkarst-demo > .jk-research-openkarst-controls {
  position: absolute;
  z-index: 12;
  right: 6.7%;
  bottom: 34.3%;
  left: auto;
  width: 31.1%;
  max-width: none;
  margin: 0;
  padding: 0 0.5rem;
  border-radius: 0.42rem;
  background: color-mix(in srgb, var(--jk-science-water) 4%, rgba(255, 255, 255, 0.92));
  box-shadow: none;
  pointer-events: auto;
}

.jk-research-application--chaptered .jk-research-openkarst-controls [data-jk-openkarst-play] {
  position: relative;
  isolation: isolate;
  justify-content: center;
  color: var(--jk-science-water);
}

.jk-research-application--chaptered .jk-research-openkarst-controls [data-jk-openkarst-play]::before {
  position: absolute;
  z-index: -1;
  inset: 7px 0;
  border: 1px solid color-mix(in srgb, var(--jk-science-water) 28%, transparent);
  border-radius: 0.34rem;
  background: rgba(255, 255, 255, 0.48);
  content: "";
  pointer-events: none;
}

.jk-research-application--chaptered .jk-research-openkarst-controls [data-jk-openkarst-play][aria-pressed="true"]::before {
  border-color: color-mix(in srgb, var(--jk-science-rapid) 34%, transparent);
  background: color-mix(in srgb, var(--jk-science-rapid) 4%, rgba(255, 255, 255, 0.72));
}

@media (max-width: 47.99rem), (max-width: 67.99rem) and (orientation: portrait) {
  .jk-research-application--chaptered .jk-openkarst-demo > .jk-research-openkarst-controls {
    right: 0.55rem;
    bottom: 0.45rem;
    left: 0.55rem;
    width: auto;
    padding-inline: 0.55rem;
    background:
      linear-gradient(
        90deg,
        rgba(250, 253, 253, 0.94),
        color-mix(in srgb, var(--jk-science-water) 5%, rgba(255, 255, 255, 0.94))
      );
  }
}

/* Section 03 navigation simplification. Direct chapter selection replaces
   sequential controls; openKARST is a terminal chapter rather than a
   single-item accordion. */
.jk-research-application--chaptered .jk-research-chapter-navigation {
  border-right: 0;
}

.jk-research-application--chaptered .jk-research-chapter-list::before {
  display: none;
}

/* Every Section 03 scene resolves in one second. Its component animations run
   together so no delayed element extends the scene beyond that shared cycle. */
.jk-research-application--chaptered {
  --jk-application-duration: 1s;
}

.jk-research-application--chaptered .jk-research-system-overlays *,
.jk-research-application--chaptered .jk-openkarst-demo * {
  animation-duration: 1s !important;
  animation-delay: 0s !important;
}

/* A distributed rainfall curtain replaces the former tilted arrow symbols.
   Fine broken vertical traces remain distinct from runoff and infiltration
   arrows, while the atmospheric band identifies the common forcing. */
.jk-research-application--system .jk-system-rain-curtain .jk-system-rain-atmosphere {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 22%, transparent);
  stroke: none;
  opacity: 0;
}

.jk-research-application--system .jk-system-rain-curtain line {
  --jk-rain-curtain-opacity: 0.82;
  stroke: color-mix(in srgb, var(--jk-science-water) 88%, var(--wp--preset--color--ink));
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-dasharray: 8 11;
  opacity: 0;
  filter: drop-shadow(0 0 1.4px rgba(255, 255, 255, 0.96));
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-rain-curtain line:nth-of-type(3n + 1) {
  --jk-rain-curtain-opacity: 0.68;
}

.jk-research-application--system .jk-system-rain-curtain line:nth-of-type(3n + 2) {
  --jk-rain-curtain-opacity: 0.76;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-rain-curtain .jk-system-rain-atmosphere {
  animation: jk-system-field-in 1s var(--jk-ease) both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-rain-curtain line {
  animation: jk-system-rain-curtain-in 1s var(--jk-ease) both;
}

@keyframes jk-system-rain-curtain-in {
  from {
    opacity: 0;
    stroke-dashoffset: 19;
  }

  to {
    opacity: var(--jk-rain-curtain-opacity);
    stroke-dashoffset: 0;
  }
}

/* Groundwater vulnerability now isolates one decision question: relative
   arrival at the aquifer boundary. Surface cells carry the vulnerability
   class; short vertical traces stop at groundwater rather than implying
   receptor-specific travel to the spring. */
.jk-research-application--system .jk-system-vulnerability-domain.is-low,
.jk-research-application--system .jk-system-vulnerability-matrix-key .is-low,
.jk-research-application--system .jk-system-vulnerability-route-source.is-low,
.jk-research-application--system .jk-system-vulnerability-route.is-low,
.jk-research-application--system .jk-system-vulnerability-route-progress.is-low,
.jk-research-application--system .jk-system-vulnerability-tracer.is-low,
.jk-research-application--system .jk-system-vulnerability-speed-label.is-low,
.jk-research-application--system .jk-system-vulnerability-arrival.is-low {
  --jk-vulnerability-color: #78998e;
}

.jk-research-application--system .jk-system-vulnerability-domain.is-medium,
.jk-research-application--system .jk-system-vulnerability-matrix-key .is-medium,
.jk-research-application--system .jk-system-vulnerability-route-source.is-medium,
.jk-research-application--system .jk-system-vulnerability-route.is-medium,
.jk-research-application--system .jk-system-vulnerability-route-progress.is-medium,
.jk-research-application--system .jk-system-vulnerability-tracer.is-medium,
.jk-research-application--system .jk-system-vulnerability-speed-label.is-medium,
.jk-research-application--system .jk-system-vulnerability-arrival.is-medium {
  --jk-vulnerability-color: #4aaec0;
}

.jk-research-application--system .jk-system-vulnerability-domain.is-high,
.jk-research-application--system .jk-system-vulnerability-matrix-key .is-high,
.jk-research-application--system .jk-system-vulnerability-route-source.is-high,
.jk-research-application--system .jk-system-vulnerability-route.is-high,
.jk-research-application--system .jk-system-vulnerability-route-progress.is-high,
.jk-research-application--system .jk-system-vulnerability-tracer.is-high,
.jk-research-application--system .jk-system-vulnerability-speed-label.is-high,
.jk-research-application--system .jk-system-vulnerability-arrival.is-high {
  --jk-vulnerability-color: #b65392;
}

.jk-research-application--system .jk-system-vulnerability-domain.is-very-high,
.jk-research-application--system .jk-system-vulnerability-matrix-key .is-very-high,
.jk-research-application--system .jk-system-vulnerability-route-source.is-very-high,
.jk-research-application--system .jk-system-vulnerability-route.is-very-high,
.jk-research-application--system .jk-system-vulnerability-route-progress.is-very-high,
.jk-research-application--system .jk-system-vulnerability-tracer.is-very-high,
.jk-research-application--system .jk-system-vulnerability-speed-label.is-very-high,
.jk-research-application--system .jk-system-vulnerability-arrival.is-very-high {
  --jk-vulnerability-color: #ed147f;
}

.jk-research-application--system .jk-system-vulnerability-domain:is(
  .is-low,
  .is-medium,
  .is-high,
  .is-very-high
) {
  fill: var(--jk-vulnerability-color);
  fill-opacity: 0.5;
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 1.15;
}

.jk-research-application--system .jk-system-vulnerability-domain-outline {
  stroke: color-mix(in srgb, var(--jk-science-water) 48%, rgba(255, 255, 255, 0.84));
  stroke-width: 1.05;
}

.jk-research-application--system .jk-system-vulnerability-matrix-key rect:not(.jk-system-vulnerability-key-backdrop) {
  fill: var(--jk-vulnerability-color);
  fill-opacity: 0.78;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 0.8;
}

.jk-research-application--system .jk-system-vulnerability-matrix-key rect.jk-system-vulnerability-key-backdrop {
  fill: rgba(255, 255, 255, 0.93);
  stroke: color-mix(in srgb, var(--jk-science-water) 24%, transparent);
  stroke-width: 1;
}

.jk-research-application--system .jk-system-vulnerability-matrix-key :is(
  .jk-system-vulnerability-key-title,
  .jk-system-vulnerability-key-column,
  .jk-system-vulnerability-key-row,
  .jk-system-vulnerability-key-class,
  .jk-system-vulnerability-key-note
) {
  font-family: var(--wp--preset--font-family--mono);
  paint-order: normal;
  stroke: none !important;
  stroke-width: 0 !important;
}

.jk-research-application--system .jk-system-vulnerability-key-title {
  fill: var(--wp--preset--color--ink);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0.045em;
}

.jk-research-application--system :is(
  .jk-system-vulnerability-key-column,
  .jk-system-vulnerability-key-row
) {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 68%, transparent);
  font-size: 12.5px;
  font-weight: 680;
  letter-spacing: 0.025em;
}

.jk-research-application--system .jk-system-vulnerability-key-class {
  fill: var(--wp--preset--color--ink);
  font-size: 12.5px;
  font-weight: 760;
  letter-spacing: 0.035em;
}

.jk-research-application--system .jk-system-vulnerability-key-class.is-inverse {
  fill: #fff;
}

.jk-research-application--system .jk-system-vulnerability-key-note {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 70%, transparent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.jk-research-application--system .jk-system-vulnerability-water-table-symbol {
  fill: var(--jk-science-water);
  font-size: 24px;
  font-weight: 700;
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-linejoin: round;
  stroke-width: 2.5px;
}

.jk-research-application--system .jk-system-vulnerability-route {
  fill: none;
  stroke: var(--jk-vulnerability-color) !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: none !important;
  filter:
    drop-shadow(0 0 1.5px rgba(255, 255, 255, 1))
    drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.92)) !important;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-vulnerability-route.is-very-high {
  stroke-width: 3.4;
}

.jk-research-application--system .jk-system-vulnerability-route.is-high {
  stroke-width: 3;
}

.jk-research-application--system .jk-system-vulnerability-route.is-medium {
  stroke-width: 2.6;
}

.jk-research-application--system .jk-system-vulnerability-route.is-low {
  stroke-width: 2.2;
  opacity: 0.9;
}

.jk-research-application--system .jk-system-vulnerability-speed-label {
  fill: var(--jk-vulnerability-color);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.055em;
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.98) !important;
  stroke-linejoin: round;
  stroke-width: 4px !important;
}

.jk-research-application--system .jk-system-vulnerability-tracer {
  --jk-vulnerability-travel-distance: 323px;
  fill: var(--jk-vulnerability-color);
  paint-order: stroke fill;
  stroke: rgba(255, 255, 255, 0.98);
  stroke-width: 2.2;
  opacity: 0;
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.96))
    drop-shadow(0 0 6px var(--jk-vulnerability-color))
    drop-shadow(0 0 10px var(--jk-vulnerability-color));
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-vulnerability-tracer.is-very-high {
  --jk-vulnerability-travel-distance: 321px;
  animation-name: jk-system-vulnerability-tracer-very-fast;
}

.jk-research-application--system .jk-system-vulnerability-tracer.is-high {
  --jk-vulnerability-travel-distance: 298px;
  animation-name: jk-system-vulnerability-tracer-fast;
}

.jk-research-application--system .jk-system-vulnerability-tracer.is-medium {
  --jk-vulnerability-travel-distance: 329px;
  animation-name: jk-system-vulnerability-tracer-moderate;
}

.jk-research-application--system .jk-system-vulnerability-tracer.is-low {
  --jk-vulnerability-travel-distance: 393px;
  animation-name: jk-system-vulnerability-tracer-slow;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-tracer {
  animation-delay: 0s !important;
  animation-duration: 4s !important;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.jk-research-application--system .jk-system-vulnerability-route-source rect {
  fill: var(--jk-vulnerability-color);
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-vulnerability-route-source text {
  fill: #fff;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 9.5px;
  font-weight: 780;
  letter-spacing: 0.02em;
  paint-order: normal;
  stroke: none;
}

.jk-research-application--system .jk-system-vulnerability-route-source.is-low text,
.jk-research-application--system .jk-system-vulnerability-route-source.is-medium text {
  fill: var(--wp--preset--color--ink);
}

.jk-research-application--system .jk-system-vulnerability-route-progress {
  fill: none;
  stroke: var(--jk-vulnerability-color);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
}

.jk-research-application--system .jk-system-vulnerability-route-progress.is-very-high {
  --jk-vulnerability-route-duration: 0.18s;
  --jk-vulnerability-route-delay: 0.05s;
  stroke-width: 5.2;
}

.jk-research-application--system .jk-system-vulnerability-route-progress.is-high {
  --jk-vulnerability-route-duration: 0.33s;
  --jk-vulnerability-route-delay: 0.08s;
  stroke-width: 4.4;
}

.jk-research-application--system .jk-system-vulnerability-route-progress.is-medium {
  --jk-vulnerability-route-duration: 0.5s;
  --jk-vulnerability-route-delay: 0.12s;
  stroke-width: 3.7;
}

.jk-research-application--system .jk-system-vulnerability-route-progress.is-low {
  --jk-vulnerability-route-duration: 0.7s;
  --jk-vulnerability-route-delay: 0.16s;
  stroke-width: 3;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-route-progress {
  animation: jk-system-vulnerability-route-progress var(--jk-vulnerability-route-duration) linear var(--jk-vulnerability-route-delay) both;
  animation-delay: var(--jk-vulnerability-route-delay) !important;
  animation-duration: var(--jk-vulnerability-route-duration) !important;
}

.jk-research-application--system .jk-system-vulnerability-arrival {
  color: var(--jk-vulnerability-color);
  opacity: 0;
}

.jk-research-application--system .jk-system-vulnerability-arrival-ring {
  fill: rgba(255, 255, 255, 0.84);
  stroke: currentColor;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-vulnerability-arrival-dot {
  fill: currentColor;
  stroke: #fff;
  stroke-width: 0.9;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-vulnerability-arrival.is-very-high {
  --jk-vulnerability-arrival-delay: 0.93s;
}

.jk-research-application--system .jk-system-vulnerability-arrival.is-high {
  --jk-vulnerability-arrival-delay: 1.44s;
}

.jk-research-application--system .jk-system-vulnerability-arrival.is-medium {
  --jk-vulnerability-arrival-delay: 1.95s;
}

.jk-research-application--system .jk-system-vulnerability-arrival.is-low {
  --jk-vulnerability-arrival-delay: 3.4s;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-arrival {
  animation: jk-system-vulnerability-arrival-in 0.14s var(--jk-ease) var(--jk-vulnerability-arrival-delay) both;
  animation-delay: var(--jk-vulnerability-arrival-delay) !important;
  animation-duration: 0.14s !important;
}

@keyframes jk-system-vulnerability-route-progress {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  12% {
    opacity: 0.9;
  }

  86% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.18;
    stroke-dashoffset: 0;
  }
}

/* One shared cycle keeps the comparison honest. Tracers pause together at
   their sources, travel at class-specific speeds, fade at groundwater, and
   wait for the next synchronized restart. */
@keyframes jk-system-vulnerability-tracer-very-fast {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  3%,
  7% {
    opacity: 1;
    transform: translateY(0);
  }

  23.25% {
    opacity: 1;
    transform: translateY(var(--jk-vulnerability-travel-distance));
  }

  27.75%,
  100% {
    opacity: 0;
    transform: translateY(var(--jk-vulnerability-travel-distance));
  }
}

@keyframes jk-system-vulnerability-tracer-fast {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  3%,
  7% {
    opacity: 1;
    transform: translateY(0);
  }

  36% {
    opacity: 1;
    transform: translateY(var(--jk-vulnerability-travel-distance));
  }

  40.5%,
  100% {
    opacity: 0;
    transform: translateY(var(--jk-vulnerability-travel-distance));
  }
}

@keyframes jk-system-vulnerability-tracer-moderate {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  3%,
  7% {
    opacity: 1;
    transform: translateY(0);
  }

  48.75% {
    opacity: 1;
    transform: translateY(var(--jk-vulnerability-travel-distance));
  }

  53.25%,
  100% {
    opacity: 0;
    transform: translateY(var(--jk-vulnerability-travel-distance));
  }
}

@keyframes jk-system-vulnerability-tracer-slow {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  3%,
  7% {
    opacity: 1;
    transform: translateY(0);
  }

  85% {
    opacity: 1;
    transform: translateY(var(--jk-vulnerability-travel-distance));
  }

  91%,
  100% {
    opacity: 0;
    transform: translateY(var(--jk-vulnerability-travel-distance));
  }
}

@keyframes jk-system-vulnerability-arrival-in {
  0% {
    opacity: 0;
  }

  58% {
    opacity: 1;
    filter: drop-shadow(0 0 5px currentColor);
  }

  100% {
    opacity: 1;
    filter: none;
  }
}

.jk-research-application.is-motion-disabled .jk-system-vulnerability-route-progress {
  display: none;
}

.jk-research-application.is-motion-disabled .jk-system-vulnerability-tracer {
  display: none;
}

.jk-research-application.is-motion-disabled .jk-system-vulnerability-arrival {
  animation: none !important;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system .jk-system-vulnerability-route-progress {
    display: none;
  }

  .jk-research-application--system .jk-system-vulnerability-tracer {
    display: none;
  }

  .jk-research-application--system .jk-system-vulnerability-arrival {
    animation: none !important;
    opacity: 1;
  }
}

/* Storage and coupling stays in the vadose zone and ends at a short phreatic
   conduit segment. Material cues and water-particle behaviour distinguish
   fracture-fed matrix storage, delayed release, and focused transfer. A small
   flux inset shows their different arrival times at the coupling boundary. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-storage-field {
  fill: color-mix(in srgb, var(--jk-science-storage) 22%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-storage) 78%, transparent);
  stroke-width: 1.7;
}

.jk-research-application--system .jk-system-matrix-pore {
  fill: rgba(255, 255, 255, 0.76);
  stroke: color-mix(in srgb, var(--jk-science-storage) 82%, transparent);
  stroke-width: 1.45;
  opacity: 0;
}

.jk-research-application--system .jk-system-focused-channel {
  fill: none;
  stroke: color-mix(in srgb, var(--jk-science-rapid) 22%, transparent);
  stroke-width: 18;
  stroke-linecap: round;
  opacity: 0;
}

.jk-research-application--system .jk-system-focused-entry {
  fill: rgba(255, 255, 255, 0.88);
  stroke: var(--jk-science-rapid);
  stroke-width: 3;
  opacity: 0;
}

.jk-research-application--system :is(
  .jk-system-diffuse-flow-particles,
  .jk-system-focused-flow-particles,
  .jk-system-coupling-particles
) circle {
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 1.2;
  opacity: 0;
}

.jk-research-application--system .jk-system-diffuse-flow-particles circle {
  fill: var(--jk-science-water);
}

.jk-research-application--system .jk-system-focused-flow-particles circle {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-coupling-column {
  fill: url("#jk-system-storage-coupling-column");
  stroke: color-mix(in srgb, var(--jk-science-storage) 52%, var(--jk-science-water));
  stroke-width: 1.4;
  opacity: 0;
}

.jk-research-application--system .jk-system-coupling-particles circle {
  fill: color-mix(in srgb, var(--jk-science-storage) 64%, var(--jk-science-water));
  transform-box: fill-box;
  transform-origin: center;
}

.jk-research-application--system .jk-system-phreatic-channel-bed {
  fill: none;
  stroke: color-mix(in srgb, var(--jk-science-water-soft) 44%, rgba(255, 255, 255, 0.72));
  stroke-width: 16;
  stroke-linecap: round;
  opacity: 0;
}

.jk-research-application--system .jk-system-conduit-arrival {
  color: var(--jk-science-storage);
}

.jk-research-application--system .jk-system-conduit-arrival.is-fast {
  color: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-conduit-arrival-halo {
  fill: rgba(255, 255, 255, 0.12);
  stroke: currentColor;
  stroke-width: 2;
  opacity: 0;
}

.jk-research-application--system .jk-system-conduit-arrival-dot {
  fill: rgba(255, 255, 255, 0.96);
  stroke: currentColor;
  stroke-width: 2;
  opacity: 0;
}

.jk-research-application--system .jk-system-recharge-flux-backdrop,
.jk-research-application--system .jk-system-recharge-flux-title,
.jk-research-application--system .jk-system-recharge-flux-inset .jk-system-chart-axis,
.jk-research-application--system .jk-system-recharge-flux-label,
.jk-research-application--system .jk-system-recharge-flux-axis-label {
  opacity: 0;
}

.jk-research-application--system .jk-system-recharge-flux-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}

.jk-research-application--system .jk-system-recharge-flux-line.is-fast {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-recharge-flux-line.is-delayed {
  stroke: var(--jk-science-storage);
  fill: none;
}

.jk-research-application--system .jk-system-recharge-flux-label.is-delayed {
  fill: var(--jk-science-storage);
}

.jk-research-application--system .jk-system-recharge-flux-title {
  paint-order: normal;
  stroke: none;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-matrix-pore {
  animation: jk-system-node-in 300ms var(--jk-ease) 420ms both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-matrix-pore:nth-child(3n + 2) {
  animation-delay: 500ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-matrix-pore:nth-child(3n) {
  animation-delay: 580ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-focused-channel {
  animation: jk-system-field-in 320ms var(--jk-ease) 760ms both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-focused-entry {
  animation: jk-system-node-in 280ms var(--jk-ease) 820ms both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-diffuse-flow-particles circle {
  animation: jk-system-path-particle 2.4s ease-in-out 620ms infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-diffuse-flow-particles circle:nth-child(2) {
  animation-delay: 780ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-diffuse-flow-particles circle:nth-child(3) {
  animation-delay: 940ms;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-diffuse-flow-particles circle:nth-child(4) {
  animation-delay: 1.1s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-diffuse-flow-particles circle:nth-child(5) {
  animation-delay: 1.26s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-focused-flow-particles circle {
  animation: jk-system-path-particle 1.9s ease-in-out 1.08s infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-focused-flow-particles circle:nth-child(2) {
  animation-delay: 1.26s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-focused-flow-particles circle:nth-child(3) {
  animation-delay: 1.44s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-focused-flow-particles circle:nth-child(4) {
  animation-delay: 1.62s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-coupling-column {
  animation: jk-system-field-in 360ms var(--jk-ease) 840ms both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-coupling-particles circle {
  animation: jk-system-coupling-particle 2.2s ease-in-out 1.02s infinite;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-coupling-particles circle:nth-child(2) {
  animation-delay: 1.28s;
  animation-direction: reverse;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-coupling-particles circle:nth-child(3) {
  animation-delay: 1.54s;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-channel-bed {
  animation: jk-system-field-in 380ms var(--jk-ease) 1.04s both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-conduit-arrival.is-fast .jk-system-conduit-arrival-halo {
  animation: jk-system-conduit-arrival 720ms var(--jk-ease) 1.16s both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-conduit-arrival.is-fast .jk-system-conduit-arrival-dot {
  animation: jk-system-node-in 240ms var(--jk-ease) 1.22s both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-conduit-arrival.is-delayed .jk-system-conduit-arrival-halo {
  animation: jk-system-conduit-arrival 840ms var(--jk-ease) 1.78s both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-conduit-arrival.is-delayed .jk-system-conduit-arrival-dot {
  animation: jk-system-node-in 260ms var(--jk-ease) 1.86s both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-backdrop {
  animation: jk-system-field-in 320ms var(--jk-ease) 920ms both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-recharge-flux-title,
  .jk-system-recharge-flux-inset .jk-system-chart-axis,
  .jk-system-recharge-flux-axis-label
) {
  animation: jk-system-recharge-label-in 240ms var(--jk-ease) 1.02s both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-line.is-fast {
  animation: jk-system-draw 620ms var(--jk-ease) 1.16s both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-label.is-fast {
  animation: jk-system-recharge-label-in 220ms var(--jk-ease) 1.58s both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-line.is-delayed {
  animation: jk-system-draw 920ms var(--jk-ease) 1.72s both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-label.is-delayed {
  animation: jk-system-recharge-label-in 220ms var(--jk-ease) 2.36s both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-label--rapid {
  display: block;
  animation: jk-system-recharge-label-in 260ms var(--jk-ease) 1.34s both;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation .jk-system-phreatic-exchange {
  stroke: color-mix(in srgb, var(--jk-science-storage) 58%, var(--jk-science-water));
  stroke-width: 2.2;
  filter: drop-shadow(0 0 1.6px rgba(255, 255, 255, 1));
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation .jk-system-phreatic-conduit {
  stroke-width: 3.4;
}

@keyframes jk-system-path-particle {
  0%,
  100% {
    opacity: 0.22;
  }

  42%,
  62% {
    opacity: 1;
  }
}

@keyframes jk-system-coupling-particle {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(-8px);
  }

  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}

@keyframes jk-system-conduit-arrival {
  0% {
    opacity: 0;
    transform: scale(0.72);
    transform-origin: center;
  }

  56% {
    opacity: 0.92;
  }

  100% {
    opacity: 0.3;
    transform: scale(1.18);
    transform-origin: center;
  }
}

.jk-research-application--system.is-motion-disabled[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-label--rapid {
  animation: none;
  opacity: 1;
}

.jk-research-application--system.is-motion-disabled[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-matrix-pore,
  .jk-system-focused-channel,
  .jk-system-focused-entry,
  .jk-system-coupling-column,
  .jk-system-phreatic-channel-bed,
  .jk-system-recharge-flux-backdrop,
  .jk-system-recharge-flux-title,
  .jk-system-recharge-flux-inset .jk-system-chart-axis,
  .jk-system-recharge-flux-label,
  .jk-system-recharge-flux-axis-label,
  .jk-system-recharge-flux-line,
  .jk-system-conduit-arrival-halo,
  .jk-system-conduit-arrival-dot
) {
  animation: none;
  opacity: 1;
}

.jk-research-application--system.is-motion-disabled[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-diffuse-flow-particles,
  .jk-system-focused-flow-particles,
  .jk-system-coupling-particles
) circle {
  animation: none;
  opacity: 0.76;
  transform: none;
}

.jk-research-application--system.is-motion-disabled[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-line {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-phreatic-label--rapid {
    animation: none;
    opacity: 1;
  }

  .jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
    .jk-system-matrix-pore,
    .jk-system-focused-channel,
    .jk-system-focused-entry,
    .jk-system-coupling-column,
    .jk-system-phreatic-channel-bed,
    .jk-system-recharge-flux-backdrop,
    .jk-system-recharge-flux-title,
    .jk-system-recharge-flux-inset .jk-system-chart-axis,
    .jk-system-recharge-flux-label,
    .jk-system-recharge-flux-axis-label,
    .jk-system-recharge-flux-line,
    .jk-system-conduit-arrival-halo,
    .jk-system-conduit-arrival-dot
  ) {
    animation: none;
    opacity: 1;
  }

  .jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
    .jk-system-diffuse-flow-particles,
    .jk-system-focused-flow-particles,
    .jk-system-coupling-particles
  ) circle {
    animation: none;
    opacity: 0.76;
    transform: none;
  }

  .jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-line {
    stroke-dashoffset: 0;
  }
}

/* v0.89.89 final cascade: keep the storage sequence legible after all legacy
   section-03 compatibility rules above. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange .jk-system-storage-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 10%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 54%, transparent);
  stroke-width: 1.45;
  opacity: 1;
  animation: none;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange :is(
  .jk-system-focused-channel,
  .jk-system-focused-entry
) {
  opacity: 1;
  animation: none;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-vadose-label,
  .jk-system-phreatic-label
) {
  display: block;
  opacity: 1;
  animation: none;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation :is(
  .jk-system-phreatic-field,
  .jk-system-phreatic-boundary,
  .jk-system-phreatic-conduit,
  .jk-system-phreatic-channel-bed
) {
  opacity: 1;
  animation: none;
  stroke-dashoffset: 0;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation .jk-system-phreatic-field {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 16%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 44%, transparent);
  stroke-width: 1.2;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation .jk-system-phreatic-boundary {
  stroke: color-mix(in srgb, var(--jk-science-water) 76%, #fff);
  stroke-width: 2;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation .jk-system-phreatic-channel-bed {
  stroke: color-mix(in srgb, var(--jk-science-water-soft) 48%, rgba(255, 255, 255, 0.76));
  stroke-width: 17;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--activation .jk-system-phreatic-conduit {
  stroke: var(--jk-science-water);
  stroke-width: 3;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-inset :is(
  .jk-system-recharge-flux-backdrop,
  .jk-system-recharge-flux-title,
  .jk-system-chart-axis,
  .jk-system-recharge-flux-axis-label,
  .jk-system-recharge-phase-label
) {
  opacity: 1;
  animation: none;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-line {
  fill: none;
  stroke-width: 3.6;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-line.is-fast {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-line.is-delayed {
  stroke: var(--jk-science-water);
}

.jk-research-application--system .jk-system-diffuse-coupling-links path {
  fill: none;
  stroke: color-mix(in srgb, var(--jk-science-water) 66%, rgba(255, 255, 255, 0.82));
  stroke-width: 2.2;
  stroke-dasharray: 4 5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.72;
  filter: drop-shadow(0 0 1.8px rgba(255, 255, 255, 0.98));
}

/* Section 03 normally compresses every scene animation to one second. The
   storage process is intentionally a longer explanatory cycle, so restore its
   synchronized scientific timing after that global important rule. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-diffuse-front-fill,
  .jk-system-diffuse-front-edge,
  .jk-system-focused-pulse,
  .jk-system-focused-arrival,
  .jk-system-focused-arrival-halo,
  .jk-system-recharge-flux-area,
  .jk-system-recharge-flux-line,
  .jk-system-recharge-flux-label,
  .jk-system-recharge-time-cursor,
  .jk-system-recharge-time-cursor-dot
) {
  animation-duration: var(--jk-storage-coupling-cycle) !important;
  animation-delay: 0s !important;
}

/* Keep a quiet map of both response shapes in the inset. The brighter traces
   below reveal the observed response on the same time axis as the moving
   cursor, focused-path arrival, and diffuse-front arrival. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-guide {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2 5;
  vector-effect: non-scaling-stroke;
  opacity: 0.16;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-guide.is-fast {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-guide.is-delayed {
  stroke: var(--jk-science-water);
}

.jk-research-application--system .jk-system-pathway-exchange-arrow {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-pathway-exchange-arrow {
  stroke: #806b93;
  stroke-width: 2.55;
  opacity: 0.58;
  filter: drop-shadow(0 0 2.2px rgba(255, 255, 255, 0.98));
}

.jk-research-application--system .jk-system-pathway-exchange-label {
  fill: #806b93;
  opacity: 0.84 !important;
  animation: none !important;
}

.jk-research-application--system .jk-system-pathway-exchange-particle {
  fill: rgba(255, 255, 255, 0.98);
  stroke: #806b93;
  stroke-width: 1.65;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  filter: drop-shadow(0 0 3.8px rgba(255, 255, 255, 1));
}

.jk-research-application--system .jk-system-pathway-exchange-signal,
.jk-research-application--system .jk-system-pathway-exchange-signal-halo {
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}

.jk-research-application--system .jk-system-pathway-exchange-signal {
  fill: rgba(255, 255, 255, 0.99);
  stroke: #806b93;
  stroke-width: 2.2;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 1));
}

.jk-research-application--system .jk-system-pathway-exchange-signal-halo {
  fill: none;
  stroke: #806b93;
  stroke-width: 1.8;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-pathway-exchange-arrow {
  animation: jk-system-pathway-exchange-arrow-cycle var(--jk-storage-coupling-cycle) ease-in-out 0s infinite !important;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-pathway-exchange-particle.is-outbound {
  animation: jk-system-pathway-exchange-outbound var(--jk-storage-coupling-cycle) cubic-bezier(0.45, 0, 0.55, 1) 0s infinite !important;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-pathway-exchange-particle.is-inbound {
  animation: jk-system-pathway-exchange-inbound var(--jk-storage-coupling-cycle) cubic-bezier(0.45, 0, 0.55, 1) 0s infinite !important;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-pathway-exchange-signal {
  animation: jk-system-pathway-exchange-signal-cycle var(--jk-storage-coupling-cycle) ease-out 0s infinite !important;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-pathway-exchange-signal-halo {
  animation: jk-system-pathway-exchange-signal-halo-cycle var(--jk-storage-coupling-cycle) ease-out 0s infinite !important;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-pathway-exchange-item.is-middle > :is(
  .jk-system-pathway-exchange-arrow,
  .jk-system-pathway-exchange-particle,
  .jk-system-pathway-exchange-signal,
  .jk-system-pathway-exchange-signal-halo
) {
  animation-delay: 0.12s !important;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-pathway-exchange-item.is-late > :is(
  .jk-system-pathway-exchange-arrow,
  .jk-system-pathway-exchange-particle
) {
  animation-delay: 0.24s !important;
}

@keyframes jk-system-pathway-exchange-arrow-cycle {
  0%,
  16% {
    opacity: 0.58;
  }

  21%,
  54% {
    opacity: 0.96;
  }

  60%,
  100% {
    opacity: 0.58;
  }
}

@keyframes jk-system-pathway-exchange-outbound {
  0%,
  18% {
    opacity: 0;
    transform: translateX(0);
  }

  21% {
    opacity: 0.35;
    transform: translateX(0);
  }

  25% {
    opacity: 0.98;
    transform: translateX(7px);
  }

  31% {
    opacity: 0.98;
    transform: translateX(35px);
  }

  35% {
    opacity: 0.25;
    transform: translateX(42px);
  }

  38%,
  100% {
    opacity: 0;
    transform: translateX(42px);
  }
}

@keyframes jk-system-pathway-exchange-inbound {
  0%,
  35% {
    opacity: 0;
    transform: translateX(0);
  }

  38% {
    opacity: 0.35;
    transform: translateX(0);
  }

  42% {
    opacity: 0.98;
    transform: translateX(-7px);
  }

  48% {
    opacity: 0.98;
    transform: translateX(-35px);
  }

  52% {
    opacity: 0.25;
    transform: translateX(-42px);
  }

  55%,
  100% {
    opacity: 0;
    transform: translateX(-42px);
  }
}

@keyframes jk-system-pathway-exchange-signal-cycle {
  0%,
  31% {
    opacity: 0;
    transform: scale(0.65);
  }

  35% {
    opacity: 1;
    transform: scale(1);
  }

  46% {
    opacity: 0.96;
    transform: scale(1);
  }

  53%,
  100% {
    opacity: 0;
    transform: scale(0.82);
  }
}

@keyframes jk-system-pathway-exchange-signal-halo-cycle {
  0%,
  31% {
    opacity: 0;
    transform: scale(0.45);
  }

  36% {
    opacity: 0.9;
    transform: scale(1);
  }

  52% {
    opacity: 0;
    transform: scale(1.75);
  }

  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}

.jk-research-application--system.is-motion-disabled .jk-system-pathway-exchange-arrow {
  animation: none !important;
  opacity: 0.58;
}

.jk-research-application--system.is-motion-disabled :is(
  .jk-system-pathway-exchange-particle,
  .jk-system-pathway-exchange-signal,
  .jk-system-pathway-exchange-signal-halo
) {
  animation: none !important;
  opacity: 0;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-area {
  stroke: none;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  will-change: opacity, clip-path;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-area.is-fast {
  fill: var(--jk-science-rapid);
  fill-opacity: 0.11;
  animation: jk-system-recharge-focused-sync var(--jk-storage-coupling-cycle) linear 0s infinite !important;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-area.is-delayed {
  fill: var(--jk-science-water);
  fill-opacity: 0.17;
  animation: jk-system-recharge-diffuse-sync var(--jk-storage-coupling-cycle) linear 0s infinite !important;
}

/* All graph geometry is placed on the global ten-second time axis:
   focused arrival begins at 30%, peaks at 36%, and completes its recession
   by 52%. The diffuse front now arrives at 58%; its lower response peaks at
   76% and spans most of the remaining cycle, giving it a visibly larger
   integrated area than the focused peak. Completed traces remain together
   until the reset. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-line {
  opacity: 0;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  clip-path: inset(0 100% 0 0);
  will-change: opacity, clip-path;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-line.is-fast {
  animation: jk-system-recharge-focused-sync var(--jk-storage-coupling-cycle) linear 0s infinite !important;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-line.is-delayed {
  animation: jk-system-recharge-diffuse-sync var(--jk-storage-coupling-cycle) linear 0s infinite !important;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-label {
  opacity: 0.4;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-label.is-fast {
  animation: jk-system-recharge-focused-label-sync var(--jk-storage-coupling-cycle) linear 0s infinite !important;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-label.is-delayed {
  animation: jk-system-recharge-diffuse-label-sync var(--jk-storage-coupling-cycle) linear 0s infinite !important;
}

@keyframes jk-system-recharge-focused-sync {
  0%,
  29% {
    opacity: 0;
    clip-path: inset(0 71% 0 0);
  }

  31% {
    opacity: 0.24;
    clip-path: inset(0 69% 0 0);
  }

  36% {
    opacity: 1;
    clip-path: inset(0 64% 0 0);
  }

  43% {
    opacity: 0.86;
    clip-path: inset(0 57% 0 0);
  }

  49% {
    opacity: 0.68;
    clip-path: inset(0 51% 0 0);
  }

  52% {
    opacity: 0.64;
    clip-path: inset(0 48% 0 0);
  }

  96% {
    opacity: 0.64;
    clip-path: inset(0 48% 0 0);
  }

  98% {
    opacity: 0.42;
    clip-path: inset(0 48% 0 0);
  }

  100% {
    opacity: 0;
    clip-path: inset(0 48% 0 0);
  }
}

@keyframes jk-system-recharge-diffuse-sync {
  0%,
  52% {
    opacity: 0;
    clip-path: inset(0 48% 0 0);
  }

  55% {
    opacity: 0.18;
    clip-path: inset(0 45% 0 0);
  }

  58% {
    opacity: 0.26;
    clip-path: inset(0 42% 0 0);
  }

  76% {
    opacity: 1;
    clip-path: inset(0 24% 0 0);
  }

  92% {
    opacity: 0.86;
    clip-path: inset(0 8% 0 0);
  }

  96% {
    opacity: 0.72;
    clip-path: inset(0 4% 0 0);
  }

  98% {
    opacity: 0.6;
    clip-path: inset(0 2% 0 0);
  }

  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes jk-system-recharge-focused-label-sync {
  0%,
  29% {
    opacity: 0.4;
  }

  36% {
    opacity: 1;
  }

  49% {
    opacity: 0.62;
  }

  52% {
    opacity: 0.56;
  }

  96% {
    opacity: 0.56;
  }

  100% {
    opacity: 0.4;
  }
}

@keyframes jk-system-recharge-diffuse-label-sync {
  0%,
  52% {
    opacity: 0.4;
  }

  76% {
    opacity: 1;
  }

  96% {
    opacity: 0.68;
  }

  100% {
    opacity: 0.4;
  }
}

.jk-research-application--system.is-motion-disabled[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-recharge-flux-line,
  .jk-system-recharge-flux-label
) {
  animation: none !important;
  opacity: 1;
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system .jk-system-pathway-exchange-arrow {
    animation: none !important;
    opacity: 0.58;
  }

  .jk-research-application--system :is(
    .jk-system-pathway-exchange-particle,
    .jk-system-pathway-exchange-signal,
    .jk-system-pathway-exchange-signal-halo
  ) {
    animation: none !important;
    opacity: 0;
  }

  .jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
    .jk-system-recharge-flux-line,
    .jk-system-recharge-flux-label
  ) {
    animation: none !important;
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

/* Water availability · integrated spring signal.
   The matrix-supported component carries the broad stored volume, rapid
   events sit above it, and the magenta line shows the total discharge
   available at the spring. */
.jk-research-application--system .jk-system-resource-spring-halo {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 22%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 54%, transparent);
  stroke-width: 1;
}

.jk-research-application--system .jk-system-resource-spring-label {
  fill: var(--wp--preset--color--ink-soft);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.055em;
}

.jk-research-application--system .jk-system-resource-legend-line {
  fill: none;
  stroke-linecap: round;
}

.jk-research-application--system .jk-system-resource-legend-line.is-total {
  stroke: var(--jk-science-rapid);
  stroke-width: 1.75;
}

.jk-research-application--system .jk-system-resource-legend-line.is-baseflow {
  stroke: color-mix(in srgb, var(--jk-science-water) 82%, var(--jk-science-storage));
  stroke-width: 1.4;
}

.jk-research-application--system .jk-system-resource-legend-line.is-rapid {
  stroke: var(--jk-science-rapid);
  stroke-width: 2.2;
}

.jk-research-application--system :is(
  .jk-system-resource-baseflow-fill,
  .jk-system-resource-availability-fill,
  .jk-system-resource-deficit-fill,
  .jk-system-resource-rapid-fill
) {
  stroke: none;
  opacity: 0;
  pointer-events: none;
}

.jk-research-application--system .jk-system-resource-baseflow-fill {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 44%, transparent);
}

.jk-research-application--system .jk-system-resource-availability-fill {
  fill: color-mix(in srgb, var(--jk-science-water) 20%, transparent);
}

.jk-research-application--system .jk-system-resource-deficit-fill {
  fill: color-mix(in srgb, var(--jk-science-rapid) 17%, transparent);
}

.jk-research-application--system .jk-system-resource-rapid-fill {
  fill: color-mix(in srgb, var(--jk-science-rapid) 34%, transparent);
}

.jk-research-application--system :is(
  .jk-system-resource-baseflow-line,
  .jk-system-resource-total-line
) {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-resource-baseflow-line {
  stroke: color-mix(in srgb, var(--jk-science-water) 82%, var(--jk-science-storage));
  stroke-width: 1.35;
}

.jk-research-application--system .jk-system-resource-total-line {
  stroke: var(--jk-science-rapid);
  stroke-width: 1.75;
}

.jk-research-application--system .jk-system-resource-balance-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 9.5px;
  font-weight: 720;
  letter-spacing: 0.045em;
}

.jk-research-application--system .jk-system-resource-balance-label.is-buffer {
  fill: color-mix(in srgb, var(--jk-science-water) 72%, var(--wp--preset--color--ink));
}

.jk-research-application--system .jk-system-resource-balance-label.is-deficit {
  fill: color-mix(in srgb, var(--jk-science-rapid) 76%, var(--wp--preset--color--ink));
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-baseflow-fill {
  animation: jk-system-resource-area-in 460ms var(--jk-ease) 320ms both;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] :is(
  .jk-system-resource-availability-fill,
  .jk-system-resource-deficit-fill
) {
  animation: jk-system-resource-area-in 440ms var(--jk-ease) 600ms both;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-rapid-fill {
  animation: jk-system-resource-area-in 420ms var(--jk-ease) 820ms both;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-baseflow-line {
  animation: jk-system-resource-line-in 720ms var(--jk-ease) 420ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-total-line {
  animation: jk-system-resource-line-in 820ms var(--jk-ease) 760ms forwards;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-deficit-fill {
  animation:
    jk-system-resource-area-in 440ms var(--jk-ease) 0ms both,
    jk-system-resource-deficit-pulse 2.8s ease-in-out 0.75s infinite;
  animation-delay: 0ms, 0.75s !important;
  animation-duration: 440ms, 2.8s !important;
  will-change: fill, filter;
}

@keyframes jk-system-resource-area-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes jk-system-resource-deficit-pulse {
  0%,
  100% {
    fill: color-mix(in srgb, var(--jk-science-rapid) 17%, transparent);
    filter: drop-shadow(0 0 0 transparent);
    opacity: 1;
  }

  48% {
    fill: color-mix(in srgb, var(--jk-science-rapid) 32%, transparent);
    filter: drop-shadow(0 0 5px color-mix(in srgb, var(--jk-science-rapid) 34%, transparent));
    opacity: 1;
  }
}

@keyframes jk-system-resource-line-in {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.jk-research-application--system.is-motion-disabled :is(
  .jk-system-resource-baseflow-fill,
  .jk-system-resource-availability-fill,
  .jk-system-resource-deficit-fill,
  .jk-system-resource-rapid-fill
) {
  animation: none !important;
  opacity: 1;
}

.jk-research-application--system.is-motion-disabled :is(
  .jk-system-resource-baseflow-line,
  .jk-system-resource-total-line
) {
  animation: none !important;
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system :is(
    .jk-system-resource-baseflow-fill,
    .jk-system-resource-availability-fill,
    .jk-system-resource-deficit-fill,
    .jk-system-resource-rapid-fill
  ) {
    animation: none !important;
    opacity: 1;
  }

  .jk-research-application--system :is(
    .jk-system-resource-baseflow-line,
    .jk-system-resource-total-line
  ) {
    animation: none !important;
    stroke-dashoffset: 0;
  }
}

/* Water availability and inference line-weight alignment. The slow matrix
   release remains distinct through a fine cyan–storage dash, while its later
   SVG paint order keeps the arrowhead legible where it reaches the conduit. */
.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-storage-release {
  stroke: color-mix(in srgb, var(--jk-science-water) 72%, var(--jk-science-storage));
  stroke-width: 2.4;
  stroke-dasharray: 0.045 0.03;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.98));
}

.jk-research-application--system .jk-system-storage-label--release {
  fill: color-mix(in srgb, var(--jk-science-water) 72%, var(--jk-science-storage));
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-line {
  stroke-width: 1.35;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-line--discharge {
  stroke-width: 1.75;
}

/* Section 03 typography normalization.
   Process labels retain the established 17/600 monospace voice. Analytical
   titles, keys, axes, and annotations use a compact, role-based hierarchy.
   State-qualified selectors prevent the generic Section 03 type rules from
   flattening the specialized chart and legend styles. */
.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-backdrop {
  fill: rgba(255, 255, 255, 0.9);
  stroke: color-mix(in srgb, var(--jk-science-water) 22%, transparent);
  stroke-width: 1;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-title {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-recharge-flux-label {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="activation"] :is(
  .jk-system-recharge-flux-axis-label,
  .jk-system-recharge-phase-label
) {
  font-family: var(--wp--preset--font-family--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-source-key .jk-system-chart-label {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-scenario-title {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-model-key text {
  font-family: var(--wp--preset--font-family--body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-panel-title {
  font-family: var(--wp--preset--font-family--body);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-axis-label {
  font-family: var(--wp--preset--font-family--body);
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.04em;
}

.jk-research-application--system[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-resource-balance-label {
  font-family: var(--wp--preset--font-family--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-matrix-key .jk-system-vulnerability-key-title {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: 0.045em;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-matrix-key :is(
  .jk-system-vulnerability-key-column,
  .jk-system-vulnerability-key-row
) {
  font-family: var(--wp--preset--font-family--body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-matrix-key .jk-system-vulnerability-key-class {
  font-family: var(--wp--preset--font-family--body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-matrix-key .jk-system-vulnerability-key-note {
  font-family: var(--wp--preset--font-family--body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.jk-research-application--system[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-vulnerability-speed-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

/* openKARST controlled hybrid: computational diagnostics and spatial model
   annotations remain monospace; human-readable legends and descriptive
   phrases use the site body face. */
.jk-openkarst-demo :is(
  .jk-openkarst-demo-kicker,
  .jk-openkarst-demo-axis-unit:not(.jk-openkarst-demo-descriptor),
  .jk-openkarst-demo-phase-label,
  .jk-openkarst-demo-network-label,
  .jk-openkarst-demo-surface-label,
  .jk-openkarst-demo-constriction-label
) {
  font-family: var(--wp--preset--font-family--mono);
}

.jk-openkarst-demo .jk-openkarst-demo-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.075em;
}

.jk-openkarst-demo :is(
  .jk-openkarst-demo-axis-unit:not(.jk-openkarst-demo-descriptor),
  .jk-openkarst-demo-phase-label
) {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.012em;
}

.jk-openkarst-demo :is(
  .jk-system-infiltration-legend text,
  .jk-openkarst-demo-metric-legend text,
  .jk-openkarst-demo-descriptor,
  .jk-openkarst-demo-note
) {
  font-family: var(--wp--preset--font-family--body);
}

.jk-openkarst-demo .jk-system-infiltration-legend text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.jk-openkarst-demo :is(
  .jk-openkarst-demo-metric-legend text,
  .jk-openkarst-demo-descriptor
) {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.012em;
}

.jk-openkarst-demo .jk-openkarst-demo-note {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.012em;
}

/* Input + infiltration: draw the surface runoff route toward the sink once
   rainfall has begun, then retain the completed routing arrow. */
.jk-research-application--system .jk-system-lens-step--forcing .jk-system-runoff-routing .jk-system-surface-routing {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  will-change: stroke-dashoffset, opacity;
}

.jk-research-application--system[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-runoff-routing .jk-system-surface-routing {
  animation: jk-system-runoff-route-in 720ms var(--jk-ease) 760ms forwards;
}

@keyframes jk-system-runoff-route-in {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  18% {
    opacity: 1;
    stroke-dashoffset: 0.94;
  }

  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

.jk-research-application--system.is-motion-disabled .jk-system-runoff-routing .jk-system-surface-routing {
  animation: none;
  opacity: 1;
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system .jk-system-runoff-routing .jk-system-surface-routing {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

/* Signals + inference: one taller evidence-to-prediction plate. The observed
   variables receive explicit relative-signal axes, one event window aligns
   their responses, and the same forecast mean is repeated so only uncertainty
   width changes between the Q-only and joint-model panels. */
.jk-research-application--system .jk-system-lens-step--signals-inference > .jk-system-inference-backdrop {
  fill: rgba(255, 255, 255, 0.92);
  stroke: color-mix(in srgb, var(--jk-science-water) 24%, transparent);
  stroke-width: 1;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-heading {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference :is(
  .jk-system-inference-bay-label,
  .jk-system-inference-range-title
) {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13.5px;
  font-weight: 680;
  letter-spacing: 0.025em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-bay-label {
  fill: var(--wp--preset--color--ink);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-section-divider {
  stroke: color-mix(in srgb, var(--jk-science-water) 19%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-event-window {
  fill: color-mix(in srgb, var(--jk-science-rapid) 7%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-rapid) 34%, transparent);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-observation-event {
  stroke: color-mix(in srgb, var(--jk-science-rapid) 58%, transparent);
  stroke-width: 0.9;
  stroke-dasharray: 5 5;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-event-label {
  fill: color-mix(in srgb, var(--jk-science-rapid) 82%, var(--wp--preset--color--ink));
  font-family: var(--wp--preset--font-family--body);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.025em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-chart-axis {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink) 34%, transparent);
  stroke-width: 0.85;
  opacity: 0.78;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-y-axis {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink) 48%, transparent);
  stroke-width: 1;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-guide {
  stroke: color-mix(in srgb, var(--jk-science-water) 17%, transparent);
  stroke-width: 0.7;
  stroke-dasharray: 4 6;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-axis-label {
  font-family: var(--wp--preset--font-family--body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-response-marker {
  fill: #fff;
  stroke: var(--jk-science-water);
  stroke-width: 1.7;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-response-marker.is-temperature {
  stroke: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-response-marker.is-solute {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-funnel {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 12%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 32%, transparent);
  stroke-width: 0.9;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-convergence {
  stroke: color-mix(in srgb, var(--jk-science-water) 62%, transparent);
  stroke-width: 1.35;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-merge {
  r: 4.8px;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-joint-core {
  fill: color-mix(in srgb, #fff 90%, var(--jk-science-water-soft));
  stroke-width: 2.2;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-transfer {
  stroke-width: 2.1;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--wide {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 18%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 48%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--narrow {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 28%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 70%, transparent);
  transform-box: fill-box;
  transform-origin: center;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line.is-wide,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line:not(.is-wide) {
  stroke: var(--jk-science-water);
  stroke-width: 1.62;
  filter: none;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-caption {
  font-family: var(--wp--preset--font-family--body);
  font-size: 12.5px;
  font-weight: 680;
  letter-spacing: 0.035em;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-event-window {
  animation: jk-system-inference-window-in 420ms var(--jk-ease) 120ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-observation-event {
  animation: jk-system-field-in 320ms var(--jk-ease) 260ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-observation-line {
  animation: jk-system-inference-line-draw 620ms var(--jk-ease) 420ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-observation-line--temperature {
  animation-delay: 540ms;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-observation-line--solute {
  animation-delay: 660ms;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-signal-response-marker {
  animation: jk-system-inference-marker-in 300ms var(--jk-ease) 960ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-signal-response-marker.is-temperature {
  animation-delay: 1.08s;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-signal-response-marker.is-solute {
  animation-delay: 1.2s;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-funnel {
  animation: jk-system-field-in 420ms var(--jk-ease) 1.34s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-signal-convergence {
  animation: jk-system-draw 500ms var(--jk-ease) 1.38s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-inference-input {
  animation: jk-system-draw 280ms var(--jk-ease) 1.74s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-joint-core {
  animation: jk-system-node-in 380ms var(--jk-ease) 1.88s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-inference-transfer {
  animation: jk-system-draw 440ms var(--jk-ease) 2.1s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--wide {
  animation: jk-system-field-in 440ms var(--jk-ease) 2.32s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-forecast-line.is-wide {
  animation: jk-system-inference-line-draw 560ms var(--jk-ease) 2.48s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--narrow {
  animation: jk-system-inference-band-contract 560ms var(--jk-ease) 2.92s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-forecast-line:not(.is-wide) {
  animation: jk-system-inference-line-draw 560ms var(--jk-ease) 3.1s forwards;
}

@keyframes jk-system-inference-window-in {
  from {
    opacity: 0;
    transform: scaleY(0.18);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes jk-system-inference-line-draw {
  from {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-inference-marker-in {
  from {
    opacity: 0;
    transform: scale(0.45);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes jk-system-inference-band-contract {
  from {
    opacity: 0;
    transform: scaleY(1.8);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

.jk-research-application--system.is-motion-disabled :is(
  .jk-system-inference-event-window,
  .jk-system-observation-event,
  .jk-system-signal-response-marker,
  .jk-system-inference-funnel
) {
  animation: none;
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system :is(
    .jk-system-inference-event-window,
    .jk-system-observation-event,
    .jk-system-signal-response-marker,
    .jk-system-inference-funnel
  ) {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Signals + inference · ensemble-filter narrative.
   Q first opens a broad forecast family. Temperature and solute constraints
   then remove incompatible candidates, leaving one compact joint envelope. */
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-subheading {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 67%, transparent);
  font-family: var(--wp--preset--font-family--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-bay-label {
  fill: var(--wp--preset--color--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-signal-name {
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-label.is-discharge {
  fill: var(--jk-science-water);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-section-divider {
  stroke: color-mix(in srgb, var(--jk-science-water) 17%, transparent);
  stroke-width: 0.8;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-funnel-shell {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 10%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 32%, transparent);
  stroke-width: 1;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-gate {
  stroke: color-mix(in srgb, var(--jk-science-water) 58%, transparent);
  stroke-width: 1.4;
  stroke-dasharray: 5 6;
  opacity: 0.25;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-gate.is-t {
  stroke: color-mix(in srgb, var(--wp--preset--color--ink-soft) 62%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-gate.is-c {
  stroke: color-mix(in srgb, var(--jk-science-rapid) 68%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-gate-label {
  fill: var(--jk-science-water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-gate-label.is-t {
  fill: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-gate-label.is-c {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-candidates circle {
  fill: #fff;
  stroke: var(--jk-science-water);
  stroke-width: 1.35;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-candidates.is-after-t circle {
  stroke: color-mix(in srgb, var(--jk-science-water) 62%, var(--wp--preset--color--ink-soft));
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-candidates.is-survivor .is-discharge {
  stroke: var(--jk-science-water);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-candidates.is-survivor .is-temperature {
  stroke: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-candidates.is-survivor .is-solute {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-rejection-label {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 58%, transparent);
  font-family: var(--wp--preset--font-family--body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-convergence {
  stroke-width: 1.2;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-transfer {
  stroke-width: 2.2;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-candidate-forecast {
  fill: none;
  stroke: color-mix(in srgb, var(--jk-science-water) 58%, transparent);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--wide {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 10%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 48%, transparent);
  stroke-width: 1;
  stroke-dasharray: 6 5;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--narrow {
  fill: color-mix(in srgb, var(--jk-science-rapid) 12%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-rapid) 72%, transparent);
  stroke-width: 1.15;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-forecast-line:not(.is-wide) {
  stroke: var(--jk-science-rapid);
  stroke-width: 1.85;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-range-label {
  font-family: var(--wp--preset--font-family--body);
  font-size: 11.5px;
  font-weight: 680;
  letter-spacing: 0.02em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-range-label.is-wide {
  fill: color-mix(in srgb, var(--jk-science-water) 76%, var(--wp--preset--color--ink));
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-range-label.is-joint {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-caption {
  fill: var(--jk-science-water);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-funnel-shell {
  animation: jk-system-field-in 420ms var(--jk-ease) 560ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-candidates.is-input circle {
  --jk-inference-candidate-opacity: 0.38;
  animation: jk-system-inference-candidate-in 320ms var(--jk-ease) 680ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-gate.is-q {
  animation: jk-system-inference-gate-in 440ms var(--jk-ease) 940ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-candidates.is-after-q circle {
  --jk-inference-candidate-opacity: 0.52;
  animation: jk-system-inference-candidate-in 320ms var(--jk-ease) 1.08s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--wide {
  animation: jk-system-field-in 460ms var(--jk-ease) 1.08s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-candidate-forecast {
  animation: jk-system-inference-candidate-forecast 1.9s var(--jk-ease) 1.18s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-candidate-forecast.is-b {
  animation-delay: 1.28s;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-candidate-forecast.is-c {
  animation-delay: 1.36s;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-candidate-forecast.is-d {
  animation-delay: 1.44s;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-gate.is-t {
  animation: jk-system-inference-gate-in 440ms var(--jk-ease) 1.5s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-candidates.is-after-t circle {
  --jk-inference-candidate-opacity: 0.7;
  animation: jk-system-inference-candidate-in 320ms var(--jk-ease) 1.64s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-gate.is-c {
  animation: jk-system-inference-gate-in 440ms var(--jk-ease) 2s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-candidates.is-survivor circle {
  --jk-inference-candidate-opacity: 1;
  animation: jk-system-inference-candidate-in 340ms var(--jk-ease) 2.12s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-inference-transfer {
  animation: jk-system-draw 420ms var(--jk-ease) 2.28s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--narrow {
  animation: jk-system-inference-band-contract 620ms var(--jk-ease) 2.48s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-forecast-line:not(.is-wide) {
  animation: jk-system-inference-line-draw 620ms var(--jk-ease) 2.68s forwards;
}

@keyframes jk-system-inference-candidate-in {
  from {
    opacity: 0;
    transform: scale(0.35);
  }

  to {
    opacity: var(--jk-inference-candidate-opacity, 0.6);
    transform: scale(1);
  }
}

@keyframes jk-system-inference-gate-in {
  from {
    opacity: 0.2;
    stroke-width: 1.2;
  }

  48% {
    opacity: 1;
    stroke-width: 3.2;
  }

  to {
    opacity: 0.78;
    stroke-width: 1.7;
  }
}

@keyframes jk-system-inference-candidate-forecast {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  34% {
    opacity: 0.52;
    stroke-dashoffset: 0;
  }

  100% {
    opacity: 0.13;
    stroke-dashoffset: 0;
  }
}

.jk-research-application--system.is-motion-disabled .jk-system-inference-funnel-shell,
.jk-research-application--system.is-motion-disabled .jk-system-inference-gate {
  animation: none;
  opacity: 0.78;
}

.jk-research-application--system.is-motion-disabled .jk-system-inference-candidates.is-input circle {
  opacity: 0.38;
}

.jk-research-application--system.is-motion-disabled .jk-system-inference-candidates.is-after-q circle {
  opacity: 0.52;
}

.jk-research-application--system.is-motion-disabled .jk-system-inference-candidates.is-after-t circle {
  opacity: 0.7;
}

.jk-research-application--system.is-motion-disabled .jk-system-inference-candidates.is-survivor circle {
  opacity: 1;
}

.jk-research-application--system.is-motion-disabled .jk-system-inference-candidate-forecast {
  animation: none;
  opacity: 0.13;
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system .jk-system-inference-funnel-shell,
  .jk-research-application--system .jk-system-inference-gate {
    animation: none;
    opacity: 0.78;
  }

  .jk-research-application--system .jk-system-inference-candidates.is-input circle {
    opacity: 0.38;
  }

  .jk-research-application--system .jk-system-inference-candidates.is-after-q circle {
    opacity: 0.52;
  }

  .jk-research-application--system .jk-system-inference-candidates.is-after-t circle {
    opacity: 0.7;
  }

  .jk-research-application--system .jk-system-inference-candidates.is-survivor circle {
    opacity: 1;
  }

  .jk-research-application--system .jk-system-inference-candidate-forecast {
    animation: none;
    opacity: 0.13;
    stroke-dashoffset: 0;
  }
}

/* Signals + inference · direct evidence equation.
   Each observed quantity is added explicitly and maps to one progressively
   tighter envelope in the same forecast frame. */
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-convergence.is-q {
  stroke: var(--jk-science-water);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-convergence.is-t {
  stroke: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-signal-convergence.is-c {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-evidence-row {
  opacity: 0;
  transform: translateX(-10px);
  transform-box: fill-box;
  transform-origin: center;
}

.jk-research-application--system .jk-system-lens-step--signals-inference :is(
  .jk-system-inference-evidence-symbol,
  .jk-system-inference-evidence-operator
) {
  fill: var(--jk-science-water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 25px;
  font-weight: 760;
  letter-spacing: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-evidence-row.is-t :is(
  .jk-system-inference-evidence-symbol,
  .jk-system-inference-evidence-operator
) {
  fill: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-evidence-row.is-c :is(
  .jk-system-inference-evidence-symbol,
  .jk-system-inference-evidence-operator
) {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-evidence-name {
  fill: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: 14px;
  font-weight: 640;
  letter-spacing: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-evidence-result {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 62%, transparent);
  font-family: var(--wp--preset--font-family--body);
  font-size: 11.5px;
  font-weight: 680;
  letter-spacing: 0.025em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference :is(
  .jk-system-inference-evidence-divider,
  .jk-system-inference-evidence-total-rule
) {
  stroke: color-mix(in srgb, var(--jk-science-water) 22%, transparent);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-evidence-total-rule {
  stroke: color-mix(in srgb, var(--jk-science-rapid) 58%, transparent);
  stroke-width: 1.25;
  opacity: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-evidence-total {
  fill: var(--jk-science-rapid);
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.04em;
  opacity: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-confidence-key line {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-confidence-key line.is-wide {
  stroke: var(--jk-science-water);
  stroke-dasharray: 5 4;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-confidence-key line.is-medium {
  stroke: color-mix(in srgb, var(--jk-science-water) 72%, var(--wp--preset--color--ink-soft));
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-confidence-key line.is-narrow {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-confidence-key text {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 74%, transparent);
  font-family: var(--wp--preset--font-family--body);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.015em;
  opacity: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--medium {
  fill: color-mix(in srgb, var(--jk-science-water) 11%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-water) 64%, var(--wp--preset--color--ink-soft));
  stroke-width: 1.05;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--wide {
  fill: color-mix(in srgb, var(--jk-science-water-soft) 8%, transparent);
  stroke-dasharray: 6 5;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--narrow {
  fill: color-mix(in srgb, var(--jk-science-rapid) 13%, transparent);
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-signal-convergence.is-q {
  animation: jk-system-draw 380ms var(--jk-ease) 500ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-inference-evidence-row.is-q {
  animation: jk-system-inference-evidence-in 360ms var(--jk-ease) 620ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--wide {
  animation: jk-system-field-in 440ms var(--jk-ease) 800ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-confidence-key line.is-wide,
.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-confidence-key line.is-wide + text {
  animation: jk-system-field-in 300ms var(--jk-ease) 900ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-signal-convergence.is-t {
  animation: jk-system-draw 380ms var(--jk-ease) 1.06s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-inference-evidence-row.is-t {
  animation: jk-system-inference-evidence-in 360ms var(--jk-ease) 1.18s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--medium {
  animation: jk-system-inference-band-contract 580ms var(--jk-ease) 1.34s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-confidence-key line.is-medium,
.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-confidence-key line.is-medium + text {
  animation: jk-system-field-in 300ms var(--jk-ease) 1.48s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-signal-convergence.is-c {
  animation: jk-system-draw 380ms var(--jk-ease) 1.62s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-inference-evidence-row.is-c {
  animation: jk-system-inference-evidence-in 360ms var(--jk-ease) 1.74s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--narrow {
  animation: jk-system-inference-band-contract 620ms var(--jk-ease) 1.9s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-confidence-key line.is-narrow,
.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-confidence-key line.is-narrow + text {
  animation: jk-system-field-in 300ms var(--jk-ease) 2.04s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] :is(
  .jk-system-inference-evidence-total-rule,
  .jk-system-inference-evidence-total
) {
  animation: jk-system-field-in 320ms var(--jk-ease) 2.08s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-inference-transfer {
  animation: jk-system-draw 420ms var(--jk-ease) 2.16s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-forecast-line:not(.is-wide) {
  animation: jk-system-inference-line-draw 620ms var(--jk-ease) 2.32s forwards;
}

@keyframes jk-system-inference-evidence-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.jk-research-application--system.is-motion-disabled :is(
  .jk-system-inference-evidence-row,
  .jk-system-inference-evidence-total-rule,
  .jk-system-inference-evidence-total,
  .jk-system-inference-confidence-key line,
  .jk-system-inference-confidence-key text,
  .jk-system-uncertainty-band--medium
) {
  animation: none;
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system :is(
    .jk-system-inference-evidence-row,
    .jk-system-inference-evidence-total-rule,
    .jk-system-inference-evidence-total,
    .jk-system-inference-confidence-key line,
    .jk-system-inference-confidence-key text,
    .jk-system-uncertainty-band--medium
  ) {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Signals + inference · explicit three-step sequence.
   The numbered progression, addition labels, and one-to-one range links make
   the order legible both during motion and in the completed static state. */
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-row {
  opacity: 0;
  transform: translateX(-10px);
  transform-box: fill-box;
  transform-origin: center;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-index {
  fill: color-mix(in srgb, var(--jk-science-water) 72%, var(--wp--preset--color--ink));
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-equation {
  fill: var(--jk-science-water);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 22px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-row.is-t .jk-system-inference-sequence-equation {
  fill: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-row.is-c .jk-system-inference-sequence-equation {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-name {
  fill: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-result {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 66%, transparent);
  font-family: var(--wp--preset--font-family--body);
  font-size: 11.5px;
  font-weight: 720;
  letter-spacing: 0.035em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-row.is-c .jk-system-inference-sequence-result {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-node {
  fill: #fff;
  stroke: var(--jk-science-water);
  stroke-width: 1.8;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-node.is-t {
  stroke: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-node.is-c {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-halo {
  fill: rgba(255, 255, 255, 0.76);
  stroke: var(--jk-science-water);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-halo.is-t {
  stroke: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-halo.is-c {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference :is(
  .jk-system-inference-sequence-link,
  .jk-system-inference-stage-link
) {
  fill: none;
  stroke: var(--jk-science-water);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference :is(
  .jk-system-inference-sequence-link.is-c,
  .jk-system-inference-stage-link.is-c
) {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-stage-link.is-t {
  stroke: color-mix(in srgb, var(--jk-science-water) 58%, var(--wp--preset--color--ink-soft));
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-add {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 62%, transparent);
  font-family: var(--wp--preset--font-family--body);
  font-size: 10.5px;
  font-weight: 680;
  letter-spacing: 0.035em;
  opacity: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-add.is-c {
  fill: color-mix(in srgb, var(--jk-science-rapid) 78%, var(--wp--preset--color--ink));
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-sequence-summary {
  fill: var(--jk-science-water);
  font-family: var(--wp--preset--font-family--body);
  font-size: 11.5px;
  font-weight: 680;
  letter-spacing: 0.035em;
  opacity: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-forecast-note {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 65%, transparent);
  font-family: var(--wp--preset--font-family--body);
  font-size: 11.5px;
  font-weight: 620;
  letter-spacing: 0.02em;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-signal-convergence.is-q {
  animation: jk-system-draw 500ms var(--jk-ease) 780ms forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-row.is-q {
  animation: jk-system-inference-evidence-in 460ms var(--jk-ease) 1.02s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-node.is-q {
  animation: jk-system-inference-marker-in 360ms var(--jk-ease) 1.02s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-halo.is-q {
  animation: jk-system-inference-sequence-pulse 760ms var(--jk-ease) 1.02s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-stage-link.is-q {
  animation: jk-system-draw 520ms var(--jk-ease) 1.24s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--wide {
  animation: jk-system-field-in 560ms var(--jk-ease) 1.36s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-link.is-t {
  animation: jk-system-draw 620ms var(--jk-ease) 1.58s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-add.is-t {
  animation: jk-system-field-in 380ms var(--jk-ease) 1.72s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-signal-convergence.is-t {
  animation: jk-system-draw 480ms var(--jk-ease) 1.98s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-row.is-t {
  animation: jk-system-inference-evidence-in 460ms var(--jk-ease) 2.14s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-node.is-t {
  animation: jk-system-inference-marker-in 360ms var(--jk-ease) 2.14s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-halo.is-t {
  animation: jk-system-inference-sequence-pulse 760ms var(--jk-ease) 2.14s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-stage-link.is-t {
  animation: jk-system-draw 520ms var(--jk-ease) 2.4s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--medium {
  animation: jk-system-inference-range-tighten 760ms var(--jk-ease) 2.54s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-link.is-c {
  animation: jk-system-draw 620ms var(--jk-ease) 2.78s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-add.is-c {
  animation: jk-system-field-in 380ms var(--jk-ease) 2.92s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-signal-convergence.is-c {
  animation: jk-system-draw 480ms var(--jk-ease) 3.18s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-row.is-c {
  animation: jk-system-inference-evidence-in 460ms var(--jk-ease) 3.34s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-node.is-c {
  animation: jk-system-inference-marker-in 360ms var(--jk-ease) 3.34s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-halo.is-c {
  animation: jk-system-inference-sequence-pulse 760ms var(--jk-ease) 3.34s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-stage-link.is-c {
  animation: jk-system-draw 520ms var(--jk-ease) 3.6s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-uncertainty-band--narrow {
  animation: jk-system-inference-range-tighten 820ms var(--jk-ease) 3.74s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-sequence-summary {
  animation: jk-system-field-in 420ms var(--jk-ease) 4.02s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-forecast-line:not(.is-wide) {
  animation: jk-system-inference-line-draw 820ms var(--jk-ease) 4.18s forwards;
}

@keyframes jk-system-inference-sequence-pulse {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }

  42% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@keyframes jk-system-inference-range-tighten {
  from {
    opacity: 0;
    transform: scaleY(1.6);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

.jk-research-application--system.is-motion-disabled :is(
  .jk-system-inference-sequence-row,
  .jk-system-inference-sequence-node,
  .jk-system-inference-sequence-add,
  .jk-system-inference-sequence-summary
) {
  animation: none;
  opacity: 1;
  transform: none;
}

.jk-research-application--system.is-motion-disabled :is(
  .jk-system-inference-sequence-link,
  .jk-system-inference-stage-link
) {
  animation: none;
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system :is(
    .jk-system-inference-sequence-row,
    .jk-system-inference-sequence-node,
    .jk-system-inference-sequence-add,
    .jk-system-inference-sequence-summary
  ) {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .jk-research-application--system :is(
    .jk-system-inference-sequence-link,
    .jk-system-inference-stage-link
  ) {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* Signals + inference · telescoping forecast corridor.
   The corridor is now the dominant visual object; compact Q, +T, and +C
   stages connect observations directly to its broad, tighter, and constrained
   boundaries. */
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-corridor-stage {
  opacity: 0;
  transform: translateX(-5px);
  transform-box: fill-box;
  transform-origin: center;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-corridor-stage-label {
  fill: color-mix(in srgb, var(--jk-science-water) 76%, var(--wp--preset--color--ink));
  font-family: var(--wp--preset--font-family--mono);
  font-size: 10.5px;
  font-weight: 720;
  letter-spacing: 0.035em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-corridor-stage-result {
  fill: color-mix(in srgb, var(--wp--preset--color--ink) 63%, transparent);
  font-family: var(--wp--preset--font-family--body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-corridor-stage.is-t .jk-system-inference-corridor-stage-label {
  fill: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-corridor-stage.is-c :is(
  .jk-system-inference-corridor-stage-label,
  .jk-system-inference-corridor-stage-result
) {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-stage-link {
  stroke-width: 1.55;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-caption {
  font-size: 12px;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-corridor-stage.is-q {
  animation: jk-system-inference-evidence-in 460ms var(--jk-ease) 1.02s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-corridor-stage.is-t {
  animation: jk-system-inference-evidence-in 460ms var(--jk-ease) 2.14s forwards;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-corridor-stage.is-c {
  animation: jk-system-inference-evidence-in 460ms var(--jk-ease) 3.34s forwards;
}

.jk-research-application--system.is-motion-disabled .jk-system-inference-corridor-stage {
  animation: none;
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system .jk-system-inference-corridor-stage {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Signals + inference · looping plausible-futures test.
   Candidate response curves are introduced together, then temperature and
   chemistry sweep across the field and remove responses that conflict with
   each independent observation. The four surviving responses and their
   central forecast hold before the ten-second sequence dissolves and repeats. */
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-loop-stage {
  opacity: 0;
  pointer-events: none;
}

.jk-research-application--system .jk-system-lens-step--signals-inference :is(
  .jk-system-inference-loop-stage-title,
  .jk-system-inference-loop-stage-count
) {
  font-family: var(--wp--preset--font-family--mono);
  font-weight: 760;
  letter-spacing: 0.035em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-loop-stage-title {
  fill: var(--jk-science-water);
  font-size: 16px;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-loop-stage-count {
  fill: var(--jk-science-water);
  font-size: 20px;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-loop-stage.is-t .jk-system-inference-loop-stage-title {
  fill: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-loop-stage.is-c .jk-system-inference-loop-stage-count,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-loop-stage.is-c .jk-system-inference-loop-stage-title,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-loop-stage.is-final :is(
  .jk-system-inference-loop-stage-title,
  .jk-system-inference-loop-stage-count
) {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-future,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-final-forecast,
.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-final-tracer {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-future {
  stroke: color-mix(in srgb, var(--jk-science-water) 70%, transparent);
  stroke-width: 1.08;
  opacity: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .is-rejected-by-t .jk-system-inference-future {
  stroke: color-mix(in srgb, var(--jk-science-water) 64%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .is-rejected-by-c .jk-system-inference-future {
  stroke: color-mix(in srgb, var(--jk-science-water) 76%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .is-survivor .jk-system-inference-future {
  stroke: color-mix(in srgb, var(--jk-science-water) 76%, transparent);
  stroke-width: 1.32;
  opacity: 0.48;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-final-forecast {
  stroke: var(--jk-science-rapid);
  stroke-width: 2.15;
  opacity: 1;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-survivor-ribbon {
  fill: color-mix(in srgb, var(--jk-science-rapid) 8%, var(--jk-science-water-soft));
  stroke: color-mix(in srgb, var(--jk-science-rapid) 30%, transparent);
  stroke-width: 0.8;
  opacity: 0;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--jk-science-rapid) 20%, transparent));
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-final-tracer {
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 3.3;
  stroke-dasharray: 0.045 0.955;
  stroke-dashoffset: 1;
  opacity: 0;
  filter:
    drop-shadow(0 0 2px var(--jk-science-rapid))
    drop-shadow(0 0 5px color-mix(in srgb, var(--jk-science-rapid) 68%, transparent));
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-test-zone {
  fill: color-mix(in srgb, var(--wp--preset--color--ink-soft) 7%, transparent);
  stroke: color-mix(in srgb, var(--wp--preset--color--ink-soft) 18%, transparent);
  stroke-width: 0.7;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-test-zone.is-c {
  fill: color-mix(in srgb, var(--jk-science-rapid) 5%, transparent);
  stroke: color-mix(in srgb, var(--jk-science-rapid) 18%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-scan {
  opacity: 0;
  transform: translateX(0);
  transform-box: view-box;
  transform-origin: 708px 610px;
  pointer-events: none;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-scan-field {
  fill: color-mix(in srgb, var(--wp--preset--color--ink-soft) 9%, transparent);
  stroke: none;
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.96))
    drop-shadow(0 0 7px color-mix(in srgb, var(--wp--preset--color--ink-soft) 18%, transparent));
}

.jk-research-application--system .jk-system-lens-step--signals-inference :is(
  .jk-system-inference-scan-contact,
  .jk-system-inference-scan-rail,
  .jk-system-inference-scan-ticks
) {
  fill: none;
  stroke: color-mix(in srgb, var(--wp--preset--color--ink-soft) 58%, transparent);
  stroke-width: 1.15;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-scan-contact {
  stroke-width: 2;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-scan-rail {
  stroke-dasharray: 3 5;
  opacity: 0.5;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-scan-head {
  fill: color-mix(in srgb, #fff 88%, var(--wp--preset--color--ink-soft));
  stroke: color-mix(in srgb, var(--wp--preset--color--ink-soft) 72%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-scan text {
  fill: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--mono);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.025em;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-scan.is-c .jk-system-inference-scan-field {
  fill: color-mix(in srgb, var(--jk-science-rapid) 9%, transparent);
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.96))
    drop-shadow(0 0 8px color-mix(in srgb, var(--jk-science-rapid) 22%, transparent));
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-scan.is-c :is(
  .jk-system-inference-scan-contact,
  .jk-system-inference-scan-rail,
  .jk-system-inference-scan-ticks,
  .jk-system-inference-scan-head
) {
  stroke: color-mix(in srgb, var(--jk-science-rapid) 68%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-scan.is-c .jk-system-inference-scan-head {
  fill: color-mix(in srgb, #fff 90%, var(--jk-science-rapid));
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-scan.is-c text {
  fill: var(--jk-science-rapid);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-survival-clip {
  transform: translateX(0);
  transform-box: view-box;
  transform-origin: 708px 610px;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-stage-field {
  stroke: none;
  opacity: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-stage-field.is-q {
  fill: color-mix(in srgb, var(--jk-science-water) 6%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-stage-field.is-t {
  fill: color-mix(in srgb, var(--wp--preset--color--ink-soft) 4.5%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-stage-field.is-c {
  fill: color-mix(in srgb, var(--jk-science-rapid) 4.5%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-signal-activation {
  stroke: none;
  opacity: 0;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-signal-activation.is-q {
  fill: color-mix(in srgb, var(--jk-science-water) 10%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-signal-activation.is-t {
  fill: color-mix(in srgb, var(--wp--preset--color--ink-soft) 8%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-signal-activation.is-c {
  fill: color-mix(in srgb, var(--jk-science-rapid) 8%, transparent);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-evidence-bridge {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-evidence-bridge.is-q {
  stroke: var(--jk-science-water);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-evidence-bridge.is-t {
  stroke: var(--wp--preset--color--ink-soft);
}

.jk-research-application--system .jk-system-lens-step--signals-inference .jk-system-inference-evidence-bridge.is-c {
  stroke: var(--jk-science-rapid);
}

.jk-research-application--system {
  --jk-inference-cycle: 7.5s;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-loop-stage.is-q {
  animation: jk-system-inference-stage-q var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-loop-stage.is-t {
  animation: jk-system-inference-stage-t var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-loop-stage.is-c {
  animation: jk-system-inference-stage-c var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-loop-stage.is-final {
  animation: jk-system-inference-stage-final var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .is-rejected-by-t .jk-system-inference-future {
  animation: jk-system-inference-reject-t var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .is-rejected-by-c .jk-system-inference-future {
  animation: jk-system-inference-reject-c var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .is-survivor .jk-system-inference-future {
  animation: jk-system-inference-survive var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-final-forecast {
  animation: jk-system-inference-final-line var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-survivor-ribbon {
  animation: jk-system-inference-final-ribbon var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-final-tracer {
  animation: jk-system-inference-final-tracer var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-test-zone.is-t {
  animation: jk-system-inference-zone-t var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-test-zone.is-c {
  animation: jk-system-inference-zone-c var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-scan.is-t {
  animation: jk-system-inference-scan-t var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-scan.is-c {
  animation: jk-system-inference-scan-c var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-survival-clip.is-t {
  animation: jk-system-inference-clip-t var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-survival-clip.is-c {
  animation: jk-system-inference-clip-c var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-stage-field.is-q {
  animation: jk-system-inference-field-q var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-stage-field.is-t {
  animation: jk-system-inference-field-t var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-stage-field.is-c {
  animation: jk-system-inference-field-c var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-signal-activation.is-q {
  animation: jk-system-inference-activation-q var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-signal-activation.is-t {
  animation: jk-system-inference-activation-t var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-signal-activation.is-c {
  animation: jk-system-inference-activation-c var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-evidence-bridge.is-q {
  animation: jk-system-inference-bridge-q var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-evidence-bridge.is-t {
  animation: jk-system-inference-bridge-t var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-inference-evidence-bridge.is-c {
  animation: jk-system-inference-bridge-c var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-observation-line--discharge {
  animation: jk-system-inference-signal-q var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-observation-line--temperature {
  animation: jk-system-inference-signal-t var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference .jk-system-observation-line--solute {
  animation: jk-system-inference-signal-c var(--jk-inference-cycle) linear infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-signal-response-marker.is-discharge {
  animation: jk-system-inference-marker-q var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-signal-response-marker.is-temperature {
  animation: jk-system-inference-marker-t var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

.jk-research-application--system[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-signal-response-marker.is-solute {
  animation: jk-system-inference-marker-c var(--jk-inference-cycle) var(--jk-ease) infinite both;
}

@keyframes jk-system-inference-stage-q {
  0%, 3%, 27%, 100% { opacity: 0; }
  7%, 24% { opacity: 1; }
}

@keyframes jk-system-inference-stage-t {
  0%, 27%, 51%, 100% { opacity: 0; }
  31%, 48% { opacity: 1; }
}

@keyframes jk-system-inference-stage-c {
  0%, 48%, 72%, 100% { opacity: 0; }
  52%, 69% { opacity: 1; }
}

@keyframes jk-system-inference-stage-final {
  0%, 69%, 100% { opacity: 0; }
  73%, 94% { opacity: 1; }
  98% { opacity: 0; }
}

@keyframes jk-system-inference-reject-t {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  8% {
    opacity: 0.3;
    stroke-dashoffset: 0;
  }
  27% {
    opacity: 0.3;
    stroke: color-mix(in srgb, var(--jk-science-water) 64%, transparent);
  }
  36% {
    opacity: 0.68;
    stroke: color-mix(in srgb, var(--wp--preset--color--ink-soft) 64%, transparent);
  }
  45% {
    opacity: 0.68;
    stroke: color-mix(in srgb, var(--wp--preset--color--ink-soft) 64%, transparent);
  }
  47%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-inference-reject-c {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
    stroke: color-mix(in srgb, var(--jk-science-water) 76%, transparent);
  }
  8%, 27% {
    opacity: 0.32;
    stroke-dashoffset: 0;
    stroke: color-mix(in srgb, var(--jk-science-water) 76%, transparent);
  }
  32%, 50% {
    opacity: 0.4;
    stroke-dashoffset: 0;
    stroke: color-mix(in srgb, var(--wp--preset--color--ink-soft) 72%, transparent);
  }
  58% {
    opacity: 0.7;
    stroke: color-mix(in srgb, var(--jk-science-rapid) 70%, transparent);
  }
  67% {
    opacity: 0.7;
    stroke: color-mix(in srgb, var(--jk-science-rapid) 70%, transparent);
  }
  69%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-inference-survive {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
    stroke: color-mix(in srgb, var(--jk-science-water) 76%, transparent);
  }
  8%, 27% {
    opacity: 0.34;
    stroke-dashoffset: 0;
    stroke: color-mix(in srgb, var(--jk-science-water) 76%, transparent);
  }
  32%, 50% {
    opacity: 0.42;
    stroke-dashoffset: 0;
    stroke: color-mix(in srgb, var(--wp--preset--color--ink-soft) 78%, transparent);
  }
  54%, 69% {
    opacity: 0.5;
    stroke-dashoffset: 0;
    stroke: color-mix(in srgb, var(--jk-science-rapid) 78%, var(--jk-science-water));
  }
  73%, 94% {
    opacity: 0.58;
    stroke-dashoffset: 0;
    stroke: color-mix(in srgb, var(--jk-science-rapid) 82%, var(--jk-science-water));
  }
  98%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-inference-final-line {
  0%, 69% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  78% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  94% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  98%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-inference-final-ribbon {
  0%, 69% {
    opacity: 0;
    transform: scaleY(0.68);
    transform-origin: center;
    transform-box: fill-box;
  }
  77%, 94% {
    opacity: 0.5;
    transform: scaleY(1);
  }
  98%, 100% {
    opacity: 0;
    transform: scaleY(1);
  }
}

@keyframes jk-system-inference-final-tracer {
  0%, 77% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  80% {
    opacity: 0.98;
    stroke-dashoffset: 1;
  }
  92% {
    opacity: 0.98;
    stroke-dashoffset: 0.045;
  }
  93%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-inference-zone-t {
  0%, 28% {
    opacity: 0;
    transform: scale(0.88);
  }
  33%, 43% {
    opacity: 0.72;
    transform: scale(1);
  }
  48%, 100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes jk-system-inference-zone-c {
  0%, 50% {
    opacity: 0;
    transform: scale(0.88);
  }
  55%, 65% {
    opacity: 0.74;
    transform: scale(1);
  }
  70%, 100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes jk-system-inference-scan-t {
  0%, 28% {
    opacity: 0;
    transform: translateX(0);
  }
  31% {
    opacity: 0.86;
  }
  45% {
    opacity: 0.9;
    transform: translateX(862px);
  }
  47%, 100% {
    opacity: 0;
    transform: translateX(862px);
  }
}

@keyframes jk-system-inference-scan-c {
  0%, 50% {
    opacity: 0;
    transform: translateX(0);
  }
  53% {
    opacity: 0.9;
  }
  67% {
    opacity: 0.92;
    transform: translateX(862px);
  }
  69%, 100% {
    opacity: 0;
    transform: translateX(862px);
  }
}

@keyframes jk-system-inference-clip-t {
  0%, 31% {
    transform: translateX(0);
  }
  45%, 100% {
    transform: translateX(862px);
  }
}

@keyframes jk-system-inference-clip-c {
  0%, 53% {
    transform: translateX(0);
  }
  67%, 100% {
    transform: translateX(862px);
  }
}

@keyframes jk-system-inference-activation-q {
  0%, 3%, 27%, 100% { opacity: 0; }
  7%, 24% { opacity: 0.88; }
}

@keyframes jk-system-inference-activation-t {
  0%, 27%, 51%, 100% { opacity: 0; }
  31%, 48% { opacity: 0.9; }
}

@keyframes jk-system-inference-activation-c {
  0%, 48%, 72%, 100% { opacity: 0; }
  52%, 69% { opacity: 0.9; }
}

@keyframes jk-system-inference-field-q {
  0%, 3%, 27%, 100% { opacity: 0; }
  7%, 24% { opacity: 0.82; }
}

@keyframes jk-system-inference-field-t {
  0%, 27%, 51%, 100% { opacity: 0; }
  31%, 48% { opacity: 0.82; }
}

@keyframes jk-system-inference-field-c {
  0%, 48%, 100% { opacity: 0; }
  52%, 94% { opacity: 0.84; }
  98% { opacity: 0; }
}

@keyframes jk-system-inference-bridge-q {
  0%, 3% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  7%, 24% {
    opacity: 0.82;
    stroke-dashoffset: 0;
  }
  28%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-inference-bridge-t {
  0%, 27% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  31%, 46% {
    opacity: 0.82;
    stroke-dashoffset: 0;
  }
  50%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-inference-bridge-c {
  0%, 49% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  53%, 67% {
    opacity: 0.88;
    stroke-dashoffset: 0;
  }
  71%, 100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes jk-system-inference-signal-q {
  0%, 3%, 27%, 100% {
    opacity: 0.48;
    stroke-width: 1.48;
  }
  7%, 24% {
    opacity: 1;
    stroke-width: 2.15;
  }
}

@keyframes jk-system-inference-signal-t {
  0%, 27%, 51%, 100% {
    opacity: 0.42;
    stroke-width: 1.05;
  }
  31%, 48% {
    opacity: 1;
    stroke-width: 2.15;
  }
}

@keyframes jk-system-inference-signal-c {
  0%, 48%, 72%, 100% {
    opacity: 0.42;
    stroke-width: 1.32;
  }
  52%, 69% {
    opacity: 1;
    stroke-width: 2.15;
  }
}

@keyframes jk-system-inference-marker-q {
  0%, 3%, 27%, 100% {
    opacity: 0.34;
    transform: scale(0.82);
  }
  8%, 24% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes jk-system-inference-marker-t {
  0%, 27%, 51%, 100% {
    opacity: 0.28;
    transform: scale(0.82);
  }
  33%, 48% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes jk-system-inference-marker-c {
  0%, 48%, 72%, 100% {
    opacity: 0.28;
    transform: scale(0.82);
  }
  54%, 69% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.jk-research-application--system.is-motion-disabled .jk-system-inference-loop-stage,
.jk-research-application--system.is-motion-disabled .jk-system-inference-scan,
.jk-research-application--system.is-motion-disabled .jk-system-inference-evidence-bridge,
.jk-research-application--system.is-motion-disabled .jk-system-inference-signal-activation,
.jk-research-application--system.is-motion-disabled .jk-system-inference-stage-field,
.jk-research-application--system.is-motion-disabled .jk-system-inference-test-zone,
.jk-research-application--system.is-motion-disabled .jk-system-inference-final-tracer,
.jk-research-application--system.is-motion-disabled .is-rejected-by-t .jk-system-inference-future,
.jk-research-application--system.is-motion-disabled .is-rejected-by-c .jk-system-inference-future {
  animation: none;
  opacity: 0;
}

.jk-research-application--system.is-motion-disabled .jk-system-inference-loop-stage.is-final,
.jk-research-application--system.is-motion-disabled .is-survivor .jk-system-inference-future,
.jk-research-application--system.is-motion-disabled .jk-system-inference-survivor-ribbon,
.jk-research-application--system.is-motion-disabled .jk-system-inference-final-forecast,
.jk-research-application--system.is-motion-disabled .jk-system-signal-response-marker {
  animation: none;
  opacity: 1;
  stroke-dashoffset: 0;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .jk-research-application--system .jk-system-inference-loop-stage,
  .jk-research-application--system .jk-system-inference-scan,
  .jk-research-application--system .jk-system-inference-evidence-bridge,
  .jk-research-application--system .jk-system-inference-signal-activation,
  .jk-research-application--system .jk-system-inference-stage-field,
  .jk-research-application--system .jk-system-inference-test-zone,
  .jk-research-application--system .jk-system-inference-final-tracer,
  .jk-research-application--system .is-rejected-by-t .jk-system-inference-future,
  .jk-research-application--system .is-rejected-by-c .jk-system-inference-future {
    animation: none;
    opacity: 0;
  }

  .jk-research-application--system .jk-system-inference-loop-stage.is-final,
  .jk-research-application--system .is-survivor .jk-system-inference-future,
  .jk-research-application--system .jk-system-inference-survivor-ribbon,
  .jk-research-application--system .jk-system-inference-final-forecast,
  .jk-research-application--system .jk-system-signal-response-marker {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
    transform: none;
  }
}

/* The chapter shell normally compresses every Section 03 animation to one
   second. This narrative is deliberately paced as a 7.5-second loop, so its
   animated parts opt out of that global duration only when motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  .jk-research-application--chaptered[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals-inference :is(
    .jk-system-inference-loop-stage,
    .jk-system-inference-future,
    .jk-system-inference-survivor-ribbon,
    .jk-system-inference-final-forecast,
    .jk-system-inference-final-tracer,
    .jk-system-inference-test-zone,
    .jk-system-inference-scan,
    .jk-system-inference-survival-clip,
    .jk-system-inference-signal-activation,
    .jk-system-inference-stage-field,
    .jk-system-inference-evidence-bridge,
    .jk-system-observation-line,
    .jk-system-signal-response-marker
  ) {
    animation-duration: var(--jk-inference-cycle) !important;
    animation-delay: 0s !important;
  }
}

/* Section 03 phone fidelity. The current chapter interface keeps the complete
   authored SVG rather than the label-stripped legacy mobile treatment. Match
   the stage to the source artwork so the overlay and geology are never
   horizontally cropped, and place the openKARST timeline below the figure. */
@media (max-width: 40rem) {
  .jk-research-application--chaptered .jk-research-application-visual--system {
    aspect-ratio: 1672 / 941;
  }

  .jk-research-application--chaptered .jk-research-application-poster {
    object-fit: contain;
  }

  .jk-research-application--chaptered:not([data-jk-application-state="openkarst"]) .jk-research-system-overlays text,
  .jk-research-application--chaptered:not([data-jk-application-state="openkarst"]) .jk-system-chart-backdrop,
  .jk-research-application--chaptered:not([data-jk-application-state="openkarst"]) .jk-system-vulnerability-zones path,
  .jk-research-application--chaptered:not([data-jk-application-state="openkarst"]) .jk-system-protection-zone {
    display: inline !important;
  }

  .jk-research-application--chaptered[data-jk-application-state="foundation"][data-jk-scene-step="forcing"] .jk-system-lens-step--forcing > :is(
    .jk-system-focus-veil,
    .jk-system-annotation-wash
  ),
  .jk-research-application--chaptered[data-jk-application-state="foundation"][data-jk-scene-step="activation"] .jk-system-lens-step--exchange > :is(
    .jk-system-focus-veil,
    .jk-system-annotation-wash
  ),
  .jk-research-application--chaptered[data-jk-application-state="response"][data-jk-scene-step="signals"] .jk-system-lens-step--signals > :is(
    .jk-system-focus-veil,
    .jk-system-annotation-wash
  ),
  .jk-research-application--chaptered[data-jk-application-state="resources"][data-jk-scene-step="storage"] .jk-system-lens-step--storage > :is(
    .jk-system-focus-veil,
    .jk-system-annotation-wash
  ),
  .jk-research-application--chaptered[data-jk-application-state="vulnerability"][data-jk-scene-step="travel"] .jk-system-lens-step--travel > :is(
    .jk-system-focus-veil,
    .jk-system-annotation-wash
  ) {
    display: inline !important;
  }

  .jk-research-application--chaptered :is(
    .jk-system-infiltration-surface,
    .jk-system-diffuse-infiltration-field,
    .jk-system-diffuse-recharge,
    .jk-system-runoff-routing,
    .jk-system-focused-recharge,
    .jk-system-event-conduit-transfer
  ) {
    display: inline !important;
  }

  .jk-research-application--chaptered .jk-openkarst-demo :is(
    .jk-openkarst-demo-legend,
    .jk-openkarst-demo-metric-legend,
    .jk-openkarst-demo-note,
    .jk-openkarst-demo-network-label,
    .jk-openkarst-demo-surface-label
  ) {
    display: inline !important;
  }

  .jk-research-application--chaptered .jk-system-availability-heading,
  .jk-research-application--chaptered .jk-system-step-index,
  .jk-research-application--chaptered .jk-system-step-number,
  .jk-research-application--chaptered .jk-system-lens-step > .jk-system-kicker {
    display: none !important;
  }

  .jk-research-application--chaptered .jk-system-recharge-flux-backdrop {
    fill: rgba(255, 255, 255, 0.78) !important;
  }

  .jk-research-application--chaptered :is(
    .jk-system-resource-scenario-backdrop,
    .jk-system-inference-backdrop,
    .jk-system-vulnerability-key-backdrop,
    .jk-openkarst-demo-chart-wash
  ) {
    fill: rgba(255, 255, 255, 0.82) !important;
  }

  .jk-research-application--chaptered[data-jk-application-state="openkarst"] .jk-research-application-visual--system {
    margin-bottom: 3.45rem;
  }

  .jk-research-application--chaptered .jk-openkarst-demo {
    overflow: visible;
  }

  .jk-research-application--chaptered .jk-openkarst-demo > .jk-research-openkarst-controls {
    top: calc(100% + 0.18rem);
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    grid-template-columns: 3.25rem minmax(0, 1fr) 7.5ch;
    gap: 0.3rem;
    box-sizing: border-box;
    padding: 0 0.15rem;
    background: transparent;
  }

  .jk-research-application--chaptered.jk-research-application--simplified .jk-openkarst-demo > .jk-research-openkarst-controls label:not(.jk-openkarst-demo-metric),
  .jk-research-application--chaptered.jk-research-application--simplified .jk-openkarst-demo > .jk-research-openkarst-controls output {
    grid-column: auto !important;
  }

  .jk-research-application--chaptered .jk-research-openkarst-controls output {
    width: 7.5ch;
    min-width: 7.5ch;
    max-width: 7.5ch;
    text-align: right;
  }
}
