:root {
  --bg: #f4efe6;
  --panel: rgba(255, 250, 244, 0.78);
  --panel-strong: #fffaf4;
  --text: #1c2430;
  --muted: #5b6778;
  --line: rgba(28, 36, 48, 0.12);
  --accent: #0b6e4f;
  --accent-2: #d08c31;
  --shadow: 0 20px 60px rgba(28, 36, 48, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1180px;
}

/* Dual_Arm_UR5 visual polish pass */
.dual-ur5-body {
  --dual-bg: #061114;
  --dual-ink: #f8fbf8;
  --dual-cyan: #6fd8ff;
  --dual-green: #57f0ad;
  --dual-amber: #f3b15f;
  --dual-cream: #f6f0e7;
  --dual-paper: rgba(250, 247, 240, 0.9);
  --dual-card-line: rgba(17, 35, 39, 0.12);
  background:
    radial-gradient(circle at 18% 10%, rgba(87, 240, 173, 0.16), transparent 28%),
    radial-gradient(circle at 84% 4%, rgba(111, 216, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #061114 0%, #0a2224 33%, #f4ede3 33%, #f8f3ec 100%);
}

.dual-ur5-body::selection {
  color: #061114;
  background: var(--dual-green);
}

.dual-ur5-page {
  max-width: 1280px;
}

.site-header.dual-site-header {
  top: 16px;
  padding: 13px 16px 13px 20px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: rgba(5, 15, 17, 0.82);
  backdrop-filter: blur(24px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.24);
}

.dual-site-header .brand {
  letter-spacing: 0.04em;
}

.dual-site-header .site-nav a {
  min-height: 38px;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
}

.dual-hero {
  min-height: clamp(680px, 82vh, 900px);
  border-radius: 34px;
  background: #061114;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dual-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(87, 240, 173, 0.16), transparent 28%),
    linear-gradient(315deg, rgba(243, 177, 95, 0.12), transparent 24%);
  mix-blend-mode: screen;
}

.dual-hero-media video {
  opacity: 0.42;
  filter: saturate(1.22) contrast(1.12) brightness(0.82);
}

.dual-hero-media::after {
  background:
    linear-gradient(90deg, rgba(6, 17, 20, 0.94) 0%, rgba(6, 17, 20, 0.64) 50%, rgba(6, 17, 20, 0.26) 100%),
    linear-gradient(180deg, rgba(6, 17, 20, 0.12) 0%, rgba(6, 17, 20, 0.95) 100%);
}

.dual-hero h1 {
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
}

.dual-hero h1 .dual-title-code {
  color: #f6fff9;
}

.dual-command-panel,
.dual-resume-strip article {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(160deg, rgba(7, 20, 22, 0.82), rgba(8, 29, 31, 0.72)),
    rgba(7, 18, 21, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.dual-hero-flow {
  border-color: rgba(111, 216, 255, 0.28);
  background: rgba(5, 15, 17, 0.62);
}

.dual-hero-flow span {
  background: linear-gradient(135deg, var(--dual-green), var(--dual-cyan));
  box-shadow: 0 8px 20px rgba(87, 240, 173, 0.18);
}

.dual-reader-path {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(5, 15, 17, 0.68);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.dual-reader-path a {
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dual-reader-path strong {
  color: #fff;
}

.dual-reader-path small {
  color: rgba(247, 251, 248, 0.62);
}

.dual-outcome-band,
.dual-engineering-band,
.dual-training-band,
#future {
  position: relative;
  overflow: hidden;
  border-color: rgba(20, 32, 38, 0.1);
  background:
    radial-gradient(circle at 88% 10%, rgba(111, 216, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 243, 0.88)),
    var(--dual-paper);
}

.dual-outcome-band::before,
.dual-engineering-band::before,
.dual-training-band::before,
#future::before,
.dual-career-band::before,
#architecture::after,
.dual-closing-band::before {
  content: "";
  position: absolute;
  left: clamp(22px, 4vw, 52px);
  right: clamp(22px, 4vw, 52px);
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dual-green), var(--dual-cyan), var(--dual-amber));
  opacity: 0.82;
}

.dual-career-band,
#architecture,
.dual-closing-band {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 14% 12%, rgba(87, 240, 173, 0.18), transparent 32%),
    radial-gradient(circle at 88% 26%, rgba(111, 216, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(6, 17, 20, 0.98), rgba(11, 35, 38, 0.96));
  box-shadow: 0 30px 90px rgba(6, 17, 20, 0.24);
}

.dual-glance-card,
.dual-metric-strip,
.dual-code-map,
.dual-deploy-layers,
.dual-terminal-panel {
  box-shadow: 0 24px 70px rgba(6, 17, 20, 0.18);
}

.dual-achievement-card,
.dual-stack-card,
.dual-proof-card,
.dual-branch-card,
.dual-checklist-panel,
.dual-matrix-panel,
.dual-spec-panel,
.dual-token-panel,
.dual-state-panel,
.dual-future-grid article,
.dual-decision-grid article,
.dual-media-proof div {
  border-color: rgba(17, 35, 39, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 251, 248, 0.88)),
    #fff;
  box-shadow:
    0 18px 48px rgba(17, 35, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.dual-achievement-card,
.dual-stack-card,
.dual-proof-card,
.dual-branch-card,
.dual-decision-grid article,
.dual-media-proof div,
.dual-future-grid article,
.dual-media-tile,
.dual-framework-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.dual-achievement-card:hover,
.dual-stack-card:hover,
.dual-proof-card:hover,
.dual-branch-card:hover,
.dual-decision-grid article:hover,
.dual-media-proof div:hover,
.dual-future-grid article:hover,
.dual-media-tile:hover,
.dual-framework-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 110, 79, 0.26);
  box-shadow: 0 24px 70px rgba(17, 35, 39, 0.13);
}

.dual-section-head h2,
.dual-closing-copy h2 {
  letter-spacing: 0;
}

.dual-kicker {
  letter-spacing: 0.11em;
}

.dual-media-tile {
  border: 1px solid rgba(17, 35, 39, 0.12);
}

.dual-media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 17, 20, 0.58));
}

.dual-media-tile figcaption {
  z-index: 1;
  background: rgba(6, 17, 20, 0.74);
}

.dual-terminal-panel {
  border-color: rgba(87, 240, 173, 0.22);
  background:
    linear-gradient(135deg, rgba(5, 15, 17, 0.98), rgba(12, 37, 39, 0.96)),
    #061114;
}

@media (max-width: 980px) {
  .dual-hero {
    min-height: auto;
  }

  .dual-reader-path {
    background: rgba(5, 15, 17, 0.76);
  }
}

@media (max-width: 680px) {
  .dual-ur5-body,
  .dual-ur5-page {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header.dual-site-header {
    top: 8px;
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
  }

  .dual-hero {
    width: 100%;
    max-width: 100%;
    border-radius: 26px;
    padding-inline: 16px;
  }

  .dual-reader-path {
    padding: 8px;
  }

  .dual-hero-content,
  .dual-command-panel,
  .dual-resume-strip article,
  .dual-reader-path a,
  .dual-glance-card,
  .dual-achievement-card,
  .dual-stack-card,
  .dual-branch-card {
    min-width: 0;
    max-width: 100%;
  }

  .dual-hero h1,
  .dual-hero-text,
  .dual-command-panel p,
  .dual-status-line strong,
  .dual-resume-strip strong,
  .dual-resume-strip p {
    overflow-wrap: anywhere;
  }

  .dual-status-line {
    align-items: flex-start;
  }
}

/* Dual_Arm_UR5 project page */
.dual-ur5-body {
  --dual-bg: #071215;
  --dual-ink: #f7fbf8;
  --dual-muted: rgba(247, 251, 248, 0.72);
  --dual-line: rgba(247, 251, 248, 0.16);
  --dual-cyan: #5fd9ff;
  --dual-green: #5ff2a0;
  --dual-amber: #ffbe5c;
  --dual-red: #ff6f61;
  --dual-panel: rgba(10, 25, 29, 0.72);
  --dual-panel-strong: rgba(15, 38, 43, 0.92);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 17px;
  color: var(--dual-ink);
  background:
    linear-gradient(135deg, rgba(95, 217, 255, 0.14), transparent 32%),
    linear-gradient(215deg, rgba(95, 242, 160, 0.12), transparent 30%),
    linear-gradient(180deg, #071215 0%, #0b1d20 38%, #f3efe7 38%, #f7f2ea 100%);
}

.dual-ur5-body::before {
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(95, 217, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 242, 160, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

.dual-cursor-glow {
  position: fixed;
  left: var(--dual-pointer-x, 50vw);
  top: var(--dual-pointer-y, 34vh);
  z-index: 0;
  width: 360px;
  height: 360px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 217, 255, 0.17), transparent 68%);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.dual-ur5-page {
  position: relative;
  z-index: 1;
  max-width: 1240px;
}

.site-header.dual-site-header {
  padding: 12px 14px 12px 18px;
  background: rgba(6, 18, 21, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--dual-ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.dual-site-header .brand {
  color: #fff;
  font-size: 0.94rem;
}

.dual-site-header .site-nav {
  gap: 8px;
  color: rgba(247, 251, 248, 0.92);
  font-size: 0.98rem;
  font-weight: 800;
}

.dual-site-header .site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.dual-site-header .site-nav a:hover,
.dual-site-header .site-nav a:focus-visible,
.dual-site-header .site-nav a.is-active {
  color: #071215;
  border-color: rgba(95, 242, 160, 0.72);
  background: linear-gradient(135deg, var(--dual-green), var(--dual-cyan));
}

.dual-hero {
  position: relative;
  min-height: clamp(620px, 78vh, 820px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 28px;
  overflow: hidden;
  margin-top: 18px;
  padding: clamp(26px, 4.4vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: #071215;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.dual-hero-media,
.dual-hero-media video,
.dual-scan-grid {
  position: absolute;
  inset: 0;
}

.dual-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(1.18) contrast(1.08);
}

.dual-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 21, 0.9) 0%, rgba(7, 18, 21, 0.58) 48%, rgba(7, 18, 21, 0.2) 100%),
    linear-gradient(180deg, transparent 0%, rgba(7, 18, 21, 0.94) 100%);
}

.dual-scan-grid {
  z-index: 1;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(95, 217, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 217, 255, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: dualGridDrift 18s linear infinite;
}

.dual-orbit {
  position: absolute;
  z-index: 2;
  right: clamp(34px, 8vw, 120px);
  top: 17%;
  width: clamp(180px, 26vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(95, 217, 255, 0.4);
  box-shadow: inset 0 0 40px rgba(95, 217, 255, 0.08);
  animation: dualOrbit 16s linear infinite;
}

.dual-orbit::before,
.dual-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.dual-orbit::before {
  inset: 16%;
  border: 1px dashed rgba(95, 242, 160, 0.5);
}

.dual-orbit::after {
  width: 13px;
  height: 13px;
  right: 13%;
  top: 18%;
  background: var(--dual-amber);
  box-shadow: 0 0 22px rgba(255, 190, 92, 0.8);
}

.dual-orbit-b {
  right: clamp(90px, 18vw, 260px);
  top: 28%;
  width: clamp(110px, 17vw, 220px);
  border-color: rgba(255, 190, 92, 0.38);
  animation-duration: 24s;
  animation-direction: reverse;
}

.dual-hero-content,
.dual-command-panel {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.dual-hero-content *,
.dual-command-panel * {
  min-width: 0;
}

.dual-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--dual-green);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dual-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dual-green), var(--dual-cyan));
}

.dual-hero h1 {
  max-width: 780px;
  color: #fff;
  font-family: "Source Serif 4", "Georgia", serif;
  font-size: clamp(3rem, 7vw, 6.9rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

.dual-hero h1 span {
  display: block;
}

.dual-hero h1 .dual-title-code {
  font-family: "Manrope", "Arial", sans-serif;
  font-size: clamp(2.65rem, 5.2vw, 5.1rem);
  line-height: 1.02;
  font-weight: 800;
}

.dual-hero-text {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(247, 251, 248, 0.8);
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  overflow-wrap: anywhere;
}

.dual-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.dual-hero-tags,
.dual-panel-tags,
.dual-hero-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dual-hero-tags {
  margin-top: 14px;
}

.dual-hero-flow {
  position: relative;
  width: fit-content;
  margin-top: 24px;
  padding: 8px;
  border: 1px solid rgba(95, 217, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 18, 21, 0.5);
  backdrop-filter: blur(12px);
}

.dual-hero-flow span {
  position: relative;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #071215;
  font-size: 0.86rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(95, 242, 160, 0.92), rgba(95, 217, 255, 0.9));
}

.dual-hero-flow span + span::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 8px;
  height: 2px;
  background: rgba(95, 217, 255, 0.7);
}

.dual-hero-tags span,
.dual-panel-tags span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(95, 242, 160, 0.24);
  border-radius: 999px;
  color: #d9fff4;
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(95, 242, 160, 0.08);
}

.dual-ur5-page .button.primary {
  color: #071215;
  background: linear-gradient(135deg, var(--dual-green), var(--dual-cyan));
  box-shadow: 0 16px 34px rgba(95, 217, 255, 0.24);
}

.dual-ur5-page .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.dual-command-panel {
  align-self: end;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(7, 18, 21, 0.68);
  backdrop-filter: blur(18px);
}

.dual-panel-tags {
  margin-top: 16px;
}

.dual-panel-label {
  color: rgba(247, 251, 248, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.dual-status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: #fff;
}

.dual-status-line strong,
.dual-command-panel p {
  overflow-wrap: anywhere;
}

.dual-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dual-green);
  box-shadow: 0 0 0 6px rgba(95, 242, 160, 0.14), 0 0 22px rgba(95, 242, 160, 0.8);
}

.dual-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.dual-stat-grid div {
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.dual-stat-grid span,
.dual-command-panel p {
  color: rgba(247, 251, 248, 0.66);
}

.dual-stat-grid strong {
  color: var(--dual-cyan);
  font-size: 1.62rem;
}

.dual-resume-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.dual-resume-strip article {
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(7, 18, 21, 0.92), rgba(16, 42, 45, 0.86)),
    rgba(7, 18, 21, 0.9);
  box-shadow: 0 18px 44px rgba(7, 18, 21, 0.16);
}

.dual-resume-strip span {
  color: var(--dual-green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-resume-strip strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.26;
}

.dual-resume-strip p {
  margin-top: 10px;
  color: rgba(247, 251, 248, 0.72);
  font-size: 0.96rem;
  line-height: 1.55;
}

.dual-reader-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.dual-reader-path a {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(95, 242, 160, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(20, 32, 38, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.dual-reader-path a:hover,
.dual-reader-path a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(11, 110, 79, 0.38);
  background: rgba(255, 255, 255, 0.92);
}

.dual-reader-path span {
  color: #0b6e4f;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dual-reader-path strong {
  color: #142026;
  font-size: 1.2rem;
}

.dual-reader-path small {
  color: #65727a;
  line-height: 1.45;
}

.dual-band {
  margin-top: clamp(46px, 8vw, 92px);
  color: #142026;
}

.dual-intro-band {
  margin-top: clamp(48px, 8vw, 96px);
}

.dual-section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.dual-section-head .dual-kicker {
  color: #0b6e4f;
}

.dual-section-head h2 {
  max-width: 920px;
  font-family: "Source Serif 4", "Georgia", serif;
  font-size: clamp(2.3rem, 3.8vw, 4.4rem);
  color: #142026;
}

.dual-section-head:not(:has(p:last-child:not(.dual-kicker))) h2 {
  grid-column: 1 / -1;
}

.dual-section-head p:last-child {
  color: #57636a;
}

.dual-gap-grid,
.dual-future-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dual-gap-card,
.dual-loop-node,
.dual-future-grid article,
.dual-spec-panel,
.dual-token-panel,
.dual-state-panel {
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 44px rgba(20, 32, 38, 0.08);
}

.dual-gap-card {
  min-height: 260px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.dual-gap-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(11, 110, 79, 0.2);
}

.dual-gap-card span,
.dual-loop-node span,
.dual-future-grid span {
  color: #0b6e4f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dual-gap-card h3,
.dual-loop-node h3,
.dual-architecture-panel h3,
.dual-spec-panel h3,
.dual-token-panel h3,
.dual-state-panel h3,
.dual-future-grid h3 {
  margin-top: 12px;
  color: #142026;
  font-size: 1.38rem;
}

.dual-gap-card p,
.dual-loop-node p,
.dual-architecture-panel p,
.dual-token-panel p,
.dual-future-grid p {
  margin-top: 12px;
  color: #57636a;
  font-size: 1.03rem;
}

.dual-loop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dual-loop::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 42px;
  height: 2px;
  background: linear-gradient(90deg, #0b6e4f, #1581b0, #d08c31, #ff6f61);
}

.dual-loop-node {
  position: relative;
  min-height: 250px;
  padding: 24px;
}

.dual-loop-node::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 18px;
  border: 6px solid #f7f2ea;
  border-radius: 50%;
  background: #0b6e4f;
  box-shadow: 0 0 0 1px rgba(20, 32, 38, 0.12), 0 0 22px rgba(11, 110, 79, 0.24);
}

.dual-architecture-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(11, 110, 79, 0.1), rgba(21, 129, 176, 0.1)),
    rgba(255, 255, 255, 0.72);
}

.dual-framework-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 16px;
  margin-top: 18px;
}

.dual-framework-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(247, 251, 248, 0.95);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
}

.dual-framework-card-main {
  grid-row: span 2;
  min-height: 660px;
}

.dual-framework-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: contain;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(7, 18, 21, 0.05), rgba(95, 217, 255, 0.06)),
    #f7fbf8;
}

.dual-framework-card-main img {
  padding: 0;
  object-fit: cover;
  background: #071215;
}

.dual-framework-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(7, 18, 21, 0.78);
  backdrop-filter: blur(14px);
}

.dual-framework-card figcaption span {
  display: block;
  color: var(--dual-green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-framework-card figcaption strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.45;
}

#architecture {
  position: relative;
  overflow: hidden;
  margin-top: clamp(54px, 8vw, 104px);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  color: var(--dual-ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(95, 242, 160, 0.16), transparent 34%),
    radial-gradient(circle at 88% 28%, rgba(95, 217, 255, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(7, 18, 21, 0.98), rgba(12, 31, 35, 0.94));
  box-shadow: 0 26px 70px rgba(7, 18, 21, 0.22);
}

#architecture::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(95, 217, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 242, 160, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
}

#architecture > * {
  position: relative;
  z-index: 1;
}

#architecture .dual-section-head {
  margin-bottom: 30px;
}

#architecture .dual-section-head h2 {
  color: #fff;
  max-width: 820px;
}

#architecture .dual-loop-node {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(247, 251, 248, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

#architecture .dual-loop-node::before {
  border-color: rgba(7, 18, 21, 0.88);
}

#architecture .dual-loop::before {
  top: 36px;
  background: linear-gradient(90deg, var(--dual-green), var(--dual-cyan), var(--dual-amber), var(--dual-red));
  box-shadow: 0 0 24px rgba(95, 217, 255, 0.3);
}

#architecture .dual-architecture-panel {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(95, 242, 160, 0.16), rgba(95, 217, 255, 0.12)),
    rgba(247, 251, 248, 0.94);
}

#architecture .dual-framework-card {
  border-color: rgba(255, 255, 255, 0.18);
}

#media {
  margin-top: clamp(58px, 8vw, 110px);
}

#media .dual-section-head {
  align-items: center;
  padding: 0 0 10px;
}

#media .dual-section-head h2 {
  max-width: 780px;
  font-size: clamp(2.4rem, 4.4vw, 4.9rem);
}

.dual-outcome-band {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(20, 32, 38, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 244, 240, 0.86)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(20, 32, 38, 0.1);
}

.dual-outcome-band::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(11, 110, 79, 0.16);
  background: radial-gradient(circle, rgba(95, 242, 160, 0.16), transparent 66%);
}

.dual-outcome-band > * {
  position: relative;
  z-index: 1;
}

.dual-glance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dual-glance-card {
  min-height: 330px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  color: #fff;
  background: #071215;
  box-shadow: 0 22px 54px rgba(7, 18, 21, 0.18);
}

.dual-glance-problem {
  background:
    linear-gradient(145deg, rgba(7, 18, 21, 0.96), rgba(25, 51, 55, 0.94)),
    #071215;
}

.dual-glance-method {
  background:
    linear-gradient(145deg, rgba(6, 42, 42, 0.96), rgba(11, 110, 79, 0.92)),
    #0b6e4f;
}

.dual-glance-result {
  background:
    linear-gradient(145deg, rgba(18, 54, 72, 0.96), rgba(21, 129, 176, 0.88)),
    #1581b0;
}

.dual-glance-card span {
  color: var(--dual-green);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-glance-method span,
.dual-glance-result span {
  color: #c8fff0;
}

.dual-glance-card h3 {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  line-height: 1.12;
}

.dual-glance-card p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.dual-metric-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(20, 32, 38, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(7, 18, 21, 0.94), rgba(18, 54, 58, 0.9)),
    #071215;
  box-shadow: 0 18px 48px rgba(7, 18, 21, 0.14);
}

.dual-metric-strip div {
  min-height: 136px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.dual-metric-strip span {
  color: var(--dual-cyan);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.dual-metric-strip strong {
  color: #fff;
  font-size: 1rem;
}

.dual-metric-strip small {
  color: rgba(247, 251, 248, 0.64);
  line-height: 1.4;
}

.dual-achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.dual-achievement-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(20, 32, 38, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(20, 32, 38, 0.08);
}

.dual-achievement-card strong {
  color: #0b6e4f;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
}

.dual-achievement-card h3 {
  margin-top: 12px;
  color: #142026;
  font-size: 1.32rem;
}

.dual-achievement-card p {
  margin-top: 10px;
  color: #57636a;
  font-size: 1.02rem;
}

.dual-demo-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(20, 32, 38, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(95, 242, 160, 0.12), rgba(95, 217, 255, 0.1)),
    rgba(255, 255, 255, 0.82);
}

.dual-demo-flow div {
  min-height: 152px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.dual-demo-flow span {
  color: #0b6e4f;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.dual-demo-flow strong {
  display: block;
  margin-top: 8px;
  color: #142026;
  font-size: 1.18rem;
}

.dual-demo-flow p {
  margin-top: 8px;
  color: #57636a;
  font-size: 0.98rem;
  line-height: 1.55;
}

.dual-career-band {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 30px;
  color: var(--dual-ink);
  background:
    radial-gradient(circle at 16% 18%, rgba(95, 242, 160, 0.18), transparent 34%),
    radial-gradient(circle at 88% 24%, rgba(95, 217, 255, 0.15), transparent 34%),
    linear-gradient(135deg, rgba(7, 18, 21, 0.98), rgba(13, 34, 38, 0.96));
  box-shadow: 0 26px 70px rgba(7, 18, 21, 0.22);
}

.dual-career-band .dual-section-head h2 {
  color: #fff;
}

.dual-career-band .dual-section-head p:last-child {
  color: rgba(247, 251, 248, 0.74);
}

.dual-career-summary {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.dual-career-summary span {
  color: var(--dual-green);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-career-summary strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.18;
}

.dual-career-summary p {
  color: rgba(247, 251, 248, 0.78);
  font-size: 1.08rem;
}

.dual-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.dual-decision-grid article {
  min-height: 254px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(247, 251, 248, 0.96), rgba(229, 244, 239, 0.92)),
    #f7fbf8;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
}

.dual-decision-grid span {
  color: #0b6e4f;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-decision-grid h3 {
  margin-top: 12px;
  color: #142026;
  font-size: 1.38rem;
}

.dual-decision-grid p {
  margin-top: 12px;
  color: #57636a;
  font-size: 1.01rem;
}

.dual-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.dual-stack-card,
.dual-proof-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(247, 251, 248, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.dual-stack-card {
  min-height: 280px;
  padding: 24px;
}

.dual-stack-card h3 {
  color: #142026;
  font-size: 1.48rem;
}

.dual-stack-card p {
  margin-top: 16px;
  color: #57636a;
  font-size: 1.03rem;
}

.dual-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.dual-stack-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(11, 110, 79, 0.16);
  border-radius: 999px;
  color: #0a5140;
  font-size: 0.88rem;
  font-weight: 900;
  background: rgba(95, 242, 160, 0.14);
}

.dual-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.dual-proof-card {
  padding: 24px;
}

.dual-proof-card span {
  color: #0b6e4f;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-proof-card ul {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.dual-proof-card li {
  position: relative;
  padding-left: 20px;
  color: #28363d;
  font-size: 1.02rem;
  line-height: 1.62;
}

.dual-proof-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dual-green), var(--dual-cyan));
}

.dual-engineering-band {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(20, 32, 38, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(232, 244, 240, 0.82)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 62px rgba(20, 32, 38, 0.08);
}

.dual-section-head-rich {
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.9fr) minmax(280px, 0.48fr);
}

.dual-section-head-rich h2 {
  grid-column: auto;
}

.dual-branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dual-branch-card,
.dual-checklist-panel,
.dual-matrix-panel {
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(20, 32, 38, 0.08);
}

.dual-branch-card {
  min-height: 330px;
  padding: 24px;
}

.dual-branch-index {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071215;
  font-weight: 900;
  background: linear-gradient(135deg, var(--dual-green), var(--dual-cyan));
  box-shadow: 0 12px 26px rgba(95, 217, 255, 0.22);
}

.dual-branch-card h3,
.dual-checklist-panel h3,
.dual-matrix-panel h3 {
  margin-top: 18px;
  color: #142026;
  font-size: 1.42rem;
}

.dual-branch-card p {
  margin-top: 12px;
  color: #57636a;
  font-size: 1.03rem;
}

.dual-branch-card ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.dual-branch-card li {
  position: relative;
  padding-left: 18px;
  color: #28363d;
  line-height: 1.55;
  font-weight: 700;
}

.dual-branch-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0b6e4f;
}

.dual-branch-card code {
  padding: 2px 6px;
  border-radius: 8px;
  color: #0a5140;
  background: rgba(95, 242, 160, 0.16);
}

.dual-code-map {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(20, 32, 38, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(7, 18, 21, 0.94), rgba(15, 54, 58, 0.9)),
    #071215;
  box-shadow: 0 18px 48px rgba(7, 18, 21, 0.16);
}

.dual-code-map-head {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.dual-code-map-head span {
  color: var(--dual-green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-code-map-head strong {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.18;
}

.dual-code-map-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.dual-code-map-grid div {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.dual-code-map-grid span {
  color: #dffef5;
  font-weight: 900;
}

.dual-code-map-grid code {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 9px;
  color: #071215;
  font-size: 0.83rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--dual-green), rgba(95, 217, 255, 0.88));
}

.dual-execution-timeline {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(11, 110, 79, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 244, 240, 0.88)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(20, 32, 38, 0.08);
}

.dual-execution-head {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(7, 18, 21, 0.96), rgba(10, 56, 54, 0.9)),
    #071215;
}

.dual-execution-head span,
.dual-execution-timeline li > span {
  color: var(--dual-green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-execution-head strong {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.18;
}

.dual-execution-timeline ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dual-execution-timeline ol::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--dual-green), var(--dual-cyan), var(--dual-amber));
}

.dual-execution-timeline li {
  position: relative;
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(20, 32, 38, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.dual-execution-timeline li::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 16px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #0b6e4f;
  box-shadow: 0 0 0 1px rgba(20, 32, 38, 0.12), 0 0 20px rgba(95, 242, 160, 0.22);
}

.dual-execution-timeline li strong {
  display: block;
  margin-top: 8px;
  color: #142026;
  font-size: 1.18rem;
}

.dual-execution-timeline li p {
  margin-top: 10px;
  color: #57636a;
  font-size: 0.98rem;
  line-height: 1.58;
}

.dual-terminal-panel {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid rgba(95, 242, 160, 0.18);
  border-radius: 24px;
  color: #dffef5;
  background:
    linear-gradient(135deg, rgba(7, 18, 21, 0.98), rgba(12, 36, 38, 0.96)),
    #071215;
  box-shadow: 0 18px 48px rgba(7, 18, 21, 0.18);
}

.dual-terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.dual-terminal-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6f61;
}

.dual-terminal-head span:nth-child(2) {
  background: #ffbe5c;
}

.dual-terminal-head span:nth-child(3) {
  background: var(--dual-green);
}

.dual-terminal-head strong {
  margin-left: 8px;
  color: rgba(247, 251, 248, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-terminal-body {
  display: grid;
  gap: 10px;
  padding: 18px;
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 0.96rem;
  line-height: 1.5;
}

.dual-terminal-body p {
  margin: 0;
  overflow-wrap: anywhere;
}

.dual-terminal-body p span {
  color: var(--dual-green);
  font-weight: 900;
}

.dual-terminal-body p em {
  color: var(--dual-cyan);
  font-style: normal;
}

.dual-evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.dual-checklist-panel,
.dual-matrix-panel {
  padding: 24px;
}

.dual-check-row {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 16px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(20, 32, 38, 0.1);
}

.dual-check-row:last-child {
  border-bottom: 0;
}

.dual-check-row strong {
  color: #0b6e4f;
  font-size: 1.02rem;
}

.dual-check-row span {
  color: #57636a;
  line-height: 1.65;
}

.dual-matrix {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.dual-matrix div {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(20, 32, 38, 0.06);
}

.dual-matrix span {
  color: #0b6e4f;
  font-weight: 900;
}

.dual-matrix strong {
  color: #142026;
  line-height: 1.45;
}

.dual-arch-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dual-arch-rail span,
.dual-arch-rail strong {
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 18px;
  color: #142026;
  text-align: center;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(20, 32, 38, 0.1);
}

.dual-arch-rail strong {
  color: #071215;
  background: linear-gradient(135deg, rgba(95, 242, 160, 0.64), rgba(95, 217, 255, 0.56));
}

.dual-media-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.dual-media-proof div {
  min-height: 166px;
  padding: 20px;
  border: 1px solid rgba(20, 32, 38, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(20, 32, 38, 0.07);
}

.dual-media-proof span {
  color: #0b6e4f;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.dual-media-proof strong {
  display: block;
  margin-top: 8px;
  color: #142026;
  font-size: 1.18rem;
}

.dual-media-proof p {
  margin-top: 8px;
  color: #57636a;
  font-size: 0.98rem;
  line-height: 1.58;
}

.dual-media-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: minmax(260px, auto);
  gap: 14px;
}

.dual-media-tile {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  margin: 0;
  border-radius: 22px;
  background: #071215;
  box-shadow: 0 18px 48px rgba(20, 32, 38, 0.12);
}

.dual-media-wide {
  grid-row: span 2;
}

.dual-media-tile img,
.dual-media-tile video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.dual-media-tile:hover img,
.dual-media-tile:hover video {
  transform: scale(1.04);
  filter: saturate(1.1);
}

.dual-media-tile figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  color: #fff;
  background: rgba(7, 18, 21, 0.68);
  backdrop-filter: blur(14px);
}

.dual-media-tile figcaption span {
  color: var(--dual-green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dual-training-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1fr;
  gap: 14px;
}

.dual-training-band {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(20, 32, 38, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(95, 217, 255, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(232, 244, 240, 0.86)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 62px rgba(20, 32, 38, 0.08);
}

.dual-spec-panel,
.dual-token-panel,
.dual-state-panel {
  padding: 24px;
}

.dual-spec-panel dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.dual-spec-panel div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(20, 32, 38, 0.1);
}

.dual-spec-panel dt {
  color: #65727a;
  font-weight: 700;
}

.dual-spec-panel dd {
  margin: 0;
  color: #142026;
  font-weight: 800;
}

.dual-token-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.dual-token-row span {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 16px;
  color: #071215;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(95, 242, 160, 0.56), rgba(95, 217, 255, 0.46));
}

.dual-action-meter {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.dual-action-meter span {
  position: relative;
  overflow: hidden;
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #142026;
  font-weight: 800;
  background: rgba(20, 32, 38, 0.08);
}

.dual-action-meter span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(11, 110, 79, 0.24), rgba(255, 190, 92, 0.32));
}

.dual-action-meter span {
  isolation: isolate;
}

.dual-state-panel ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.dual-state-panel li {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(20, 32, 38, 0.06);
}

.dual-state-panel strong {
  color: #0b6e4f;
  font-size: 0.9rem;
}

.dual-state-panel span {
  color: #57636a;
}

.dual-deploy-layers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(20, 32, 38, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(7, 18, 21, 0.95), rgba(14, 48, 52, 0.92)),
    #071215;
  box-shadow: 0 18px 48px rgba(7, 18, 21, 0.14);
}

.dual-deploy-layers article {
  min-height: 230px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.dual-deploy-layers span {
  color: var(--dual-cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-deploy-layers h3 {
  margin-top: 12px;
  color: #fff;
  font-size: 1.24rem;
}

.dual-deploy-layers p {
  margin-top: 12px;
  color: rgba(247, 251, 248, 0.68);
  font-size: 0.99rem;
  line-height: 1.58;
}

.dual-future-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#future {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(20, 32, 38, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(247, 251, 248, 0.9), rgba(238, 246, 242, 0.86)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 62px rgba(20, 32, 38, 0.08);
}

#future .dual-section-head {
  margin-bottom: 18px;
}

.dual-future-grid article {
  min-height: 270px;
  padding: 24px;
}

#future .dual-future-grid article {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(229, 244, 239, 0.86)),
    #fff;
}

#future .dual-future-grid article::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(11, 110, 79, 0.16);
  border-radius: 50%;
}

.dual-closing-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 34px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 18%, rgba(95, 242, 160, 0.18), transparent 34%),
    radial-gradient(circle at 90% 34%, rgba(95, 217, 255, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(7, 18, 21, 0.98), rgba(12, 31, 35, 0.96));
  box-shadow: 0 26px 70px rgba(7, 18, 21, 0.2);
}

.dual-closing-copy h2 {
  max-width: 760px;
  color: #fff;
  font-family: "Source Serif 4", "Georgia", serif;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  line-height: 1.02;
}

.dual-closing-copy p:last-child {
  max-width: 780px;
  margin-top: 16px;
  color: rgba(247, 251, 248, 0.74);
  font-size: 1.1rem;
}

.dual-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  max-width: 360px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dualGridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 112px 56px;
  }
}

@keyframes dualOrbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .dual-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }

  .dual-command-panel {
    max-width: 520px;
  }

  .dual-section-head,
  .dual-architecture-panel,
  .dual-framework-showcase,
  .dual-execution-timeline,
  .dual-closing-band,
  .dual-training-grid {
    grid-template-columns: 1fr;
  }

  .dual-framework-card-main {
    grid-row: auto;
    min-height: 520px;
  }

  .dual-section-head-rich,
  .dual-branch-grid,
  .dual-code-map,
  .dual-evidence-grid,
  .dual-glance-grid,
  .dual-achievement-grid,
  .dual-career-summary,
  .dual-stack-grid,
  .dual-proof-grid,
  .dual-media-proof,
  .dual-deploy-layers,
  .dual-decision-grid {
    grid-template-columns: 1fr;
  }

  .dual-section-head-rich h2 {
    grid-column: auto;
  }

  .dual-gap-grid,
  .dual-loop,
  .dual-future-grid,
  .dual-demo-flow,
  .dual-code-map-grid,
  .dual-execution-timeline ol,
  .dual-metric-strip,
  .dual-resume-strip,
  .dual-reader-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dual-execution-timeline ol::before {
    display: none;
  }

  .dual-closing-actions {
    justify-content: flex-start;
    max-width: none;
  }

  .dual-loop::before {
    display: none;
  }

  .dual-media-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .dual-media-wide,
  .dual-media-video {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .dual-ur5-page {
    padding-inline: 14px;
  }

  .dual-site-header {
    align-items: flex-start;
    border-radius: 22px;
    overflow: hidden;
  }

  .dual-site-header .brand {
    padding-top: 7px;
  }

  .dual-site-header .header-tools {
    min-width: 0;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .dual-site-header .site-nav {
    min-width: max-content;
    flex-wrap: nowrap;
    gap: 8px;
    font-size: 0.92rem;
  }

  .dual-site-header .site-nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
  }

  .dual-hero {
    padding: 92px 18px 22px;
    border-radius: 24px;
  }

  .dual-command-panel {
    width: 100%;
    max-width: 100%;
    padding: 18px;
  }

  .dual-hero-content,
  .dual-hero-text,
  .dual-command-panel p,
  .dual-status-line {
    max-width: 100%;
  }

  .dual-hero h1 {
    max-width: 100%;
    font-size: clamp(1.86rem, 8vw, 2.18rem);
    line-height: 1.03;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .dual-hero h1 .dual-title-code {
    font-size: clamp(1.72rem, 7.4vw, 2rem);
  }

  .dual-hero-text {
    font-size: 1rem;
  }

  .dual-orbit {
    right: -26px;
    top: 84px;
  }

  .dual-gap-grid,
  .dual-loop,
  .dual-future-grid,
  .dual-glance-grid,
  .dual-achievement-grid,
  .dual-demo-flow,
  .dual-stack-grid,
  .dual-proof-grid,
  .dual-resume-strip,
  .dual-reader-path,
  .dual-media-mosaic,
  .dual-framework-showcase,
  .dual-code-map,
  .dual-code-map-grid,
  .dual-execution-timeline,
  .dual-execution-timeline ol,
  .dual-metric-strip,
  .dual-decision-grid,
  .dual-media-proof,
  .dual-deploy-layers,
  .dual-closing-band,
  .dual-arch-rail,
  .dual-stat-grid,
  .dual-token-row {
    grid-template-columns: 1fr;
  }

  .dual-hero-flow {
    width: 100%;
    border-radius: 18px;
    padding: 7px;
  }

  .dual-hero-flow span {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .dual-hero-flow span + span::before {
    display: none;
  }

  .dual-framework-card,
  .dual-framework-card-main {
    min-height: 320px;
  }

  .dual-framework-card img {
    padding: 10px;
  }

  .dual-framework-card-main img {
    padding: 0;
    object-fit: contain;
  }

  .dual-framework-card figcaption {
    position: static;
    margin: 0;
    border-width: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
  }

  .dual-media-wide,
  .dual-media-video {
    grid-column: auto;
  }

  .dual-media-tile {
    min-height: 250px;
  }

  .dual-stat-grid div {
    min-height: 72px;
  }

  .dual-stat-grid strong {
    font-size: 1.48rem;
  }

  .dual-spec-panel div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dual-terminal-body {
    padding: 14px;
    font-size: 0.82rem;
  }

  .dual-execution-timeline li,
  .dual-deploy-layers article,
  .dual-media-proof div {
    min-height: 0;
  }

  .dual-closing-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dual-closing-actions .button {
    width: 100%;
    justify-content: center;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(208, 140, 49, 0.18), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(11, 110, 79, 0.16), transparent 26%),
    linear-gradient(180deg, #fbf6ee 0%, #f3ede3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 36, 48, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 36, 48, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 88%);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Homepage module motion system */
@media (prefers-reduced-motion: no-preference) {
  .motion-reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
      opacity 0.72s ease var(--reveal-delay, 0ms),
      transform 0.72s cubic-bezier(0.2, 0.72, 0.22, 1) var(--reveal-delay, 0ms),
      box-shadow 0.32s ease,
      border-color 0.32s ease,
      background 0.32s ease;
  }

  .motion-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .hero-card.is-visible .avatar {
    animation: avatarPulse 5.8s ease-in-out infinite 0.6s;
  }
}

.hero-copy,
.hero-card,
.section,
.content-card,
.feature-card,
.future-paper-card,
.project-card,
.stack-card,
.publication-card,
.timeline-item {
  will-change: transform;
}

.hero-copy:hover,
.hero-card:hover,
.content-card:hover,
.future-paper-card:hover,
.project-card:hover,
.stack-card:hover,
.publication-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 110, 79, 0.22);
  box-shadow: 0 22px 54px rgba(31, 55, 62, 0.12);
}

.feature-card:hover,
.metric-card:hover,
.media-card:hover,
.agri-showcase-card:hover,
.agri-entry-card:hover {
  border-color: rgba(11, 110, 79, 0.24);
  box-shadow: 0 24px 58px rgba(31, 55, 62, 0.14);
}

.feature-layout-system .feature-card:hover,
.feature-layout-system .media-card:hover {
  transform: translateY(-5px) scale(1.006);
}

.feature-layout-vla .feature-card:hover {
  transform: translateY(-5px);
  background:
    radial-gradient(circle at 92% 12%, rgba(38, 154, 212, 0.14), transparent 28%),
    var(--panel-strong);
}

.feature-layout-agriculture .feature-card:hover,
.agri-entry-card:hover {
  transform: translateY(-5px);
  background:
    radial-gradient(circle at 12% 14%, rgba(11, 110, 79, 0.12), transparent 28%),
    var(--panel-strong);
}

.future-paper-card:hover .card-state-track::after {
  transform: translateX(8px);
  opacity: 1;
}

#news {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 14%, rgba(11, 110, 79, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(245, 251, 248, 0.86));
}

#news::before {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border-radius: calc(var(--radius-lg) - 10px);
  background:
    linear-gradient(rgba(11, 110, 79, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 79, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 82%);
}

#news .section-heading,
#news .timeline {
  position: relative;
  z-index: 1;
}

#news .timeline {
  gap: 14px;
  padding-left: 30px;
}

#news .timeline::before,
#news .timeline::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
}

#news .timeline::before {
  background: rgba(11, 110, 79, 0.14);
}

#news .timeline::after {
  background: linear-gradient(180deg, transparent, rgba(11, 110, 79, 0.82), rgba(208, 140, 49, 0.72), transparent);
  animation: newsTimelineFlow 5.2s ease-in-out infinite;
}

#news .timeline-item {
  position: relative;
  grid-template-columns: 112px 1fr;
  min-height: 82px;
  padding: 18px 20px 18px 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 252, 250, 0.92));
}

#news .timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 28px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 7px rgba(11, 110, 79, 0.1),
    0 0 22px rgba(11, 110, 79, 0.34);
}

#news .timeline-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(11, 110, 79, 0.08) 42%, rgba(208, 140, 49, 0.16) 52%, transparent 66%);
  transform: translateX(-120%);
  opacity: 0;
}

#news .timeline-item:hover {
  transform: translateX(6px);
  border-color: rgba(11, 110, 79, 0.24);
  box-shadow: 0 18px 46px rgba(31, 55, 62, 0.12);
}

#news .timeline-item:hover::after {
  opacity: 1;
  transform: translateX(120%);
  transition: transform 0.82s ease, opacity 0.82s ease;
}

#news .timeline-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 82px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(11, 110, 79, 0.08);
  box-shadow: inset 0 0 0 1px rgba(11, 110, 79, 0.12);
}

@keyframes newsTimelineFlow {
  0%, 100% {
    transform: scaleY(0.18) translateY(-35%);
    opacity: 0.35;
  }
  50% {
    transform: scaleY(0.72) translateY(28%);
    opacity: 1;
  }
}

@keyframes avatarPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(11, 110, 79, 0.16);
  }
  50% {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 0 12px rgba(11, 110, 79, 0);
  }
}

@media (max-width: 720px) {
  #news .timeline {
    padding-left: 20px;
  }

  #news .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #news .timeline::before,
  #news .timeline::after {
    left: 3px;
  }

  #news .timeline-item::before {
    left: -24px;
  }
}

.dual-interface-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 44px;
}

.dual-interface-strip article {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(35, 148, 131, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(237, 255, 249, 0.95), rgba(232, 247, 255, 0.86)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 55px rgba(10, 45, 48, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.dual-interface-strip article::after {
  content: "";
  position: absolute;
  inset: auto 22px 0 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #46efd3, #61c9ff, #efb85c);
  opacity: 0.65;
}

.dual-interface-strip article:hover {
  transform: translateY(-5px);
  border-color: rgba(35, 148, 131, 0.35);
  box-shadow: 0 28px 70px rgba(10, 45, 48, 0.13);
}

.dual-interface-strip span {
  display: block;
  color: #007d72;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dual-interface-strip strong {
  display: block;
  margin: 8px 0 14px;
  color: #152836;
  font-size: clamp(1.08rem, 1.2vw, 1.34rem);
}

.dual-interface-strip p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.dual-interface-strip code {
  display: inline-flex;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(34, 164, 148, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #0b4a52;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
}

.dual-limit-note {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) 1fr;
  gap: 16px 24px;
  align-items: start;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(70, 239, 211, 0.2);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(6, 35, 35, 0.96), rgba(15, 70, 75, 0.9));
  color: rgba(235, 255, 251, 0.82);
  box-shadow: 0 26px 70px rgba(3, 24, 28, 0.18);
}

.dual-limit-note span {
  color: #46efd3;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dual-limit-note strong {
  color: #ffffff;
  font-size: clamp(1.18rem, 1.4vw, 1.5rem);
}

.dual-limit-note p {
  grid-column: 2;
  margin: -6px 0 0;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .dual-interface-strip {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .dual-limit-note {
    grid-template-columns: 1fr;
  }

  .dual-limit-note p {
    grid-column: auto;
    margin-top: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(11, 110, 79, 0.34);
  outline-offset: 3px;
}

p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 20px 56px;
}

.page-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 6px 0 14px;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.page-trail > *:not(:first-child)::before {
  content: "/";
  margin-right: 8px;
  color: rgba(28, 36, 48, 0.34);
}

.page-trail a {
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -48px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 14px 18px;
  background: rgba(255, 250, 244, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

/* Hamburger button — hidden on desktop */
.menu-toggle-icon {
  display: none;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav > a,
.nav-dropdown > summary {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "▾";
  font-size: 0.78rem;
  line-height: 1;
  transform: translateY(1px);
}

.nav-dropdown[open] summary::after {
  content: "▴";
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 176px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 244, 0.96);
  box-shadow: 0 18px 40px rgba(28, 36, 48, 0.12);
  backdrop-filter: blur(14px);
}

.nav-dropdown-menu a {
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--text);
  transition: background 180ms ease, color 180ms ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(11, 110, 79, 0.08);
  color: var(--accent);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.lang-button {
  min-width: 58px;
  min-height: 34px;
  padding: 0 12px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  transform: translateY(-1px);
}

.lang-button.is-active {
  background: var(--accent);
  color: #fff;
}

.section {
  margin-top: 18px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.page-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-footer-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-footer-link:hover,
.page-footer-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(11, 110, 79, 0.22);
  box-shadow: 0 18px 34px rgba(28, 36, 48, 0.08);
}

.page-footer-link span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-footer-link strong {
  font-size: 1.06rem;
  line-height: 1.45;
}

.suite-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}

.agriculture-page {
  --suite-accent: #0b6e4f;
  --suite-accent-rgb: 11, 110, 79;
  --suite-accent-alt-rgb: 18, 79, 116;
}

.agri-dashboard-page {
  --suite-accent: #124f74;
  --suite-accent-rgb: 18, 79, 116;
  --suite-accent-alt-rgb: 11, 110, 79;
}

.agri-inventory-page {
  --suite-accent: #9b6115;
  --suite-accent-rgb: 155, 97, 21;
  --suite-accent-alt-rgb: 11, 110, 79;
}

.agri-contract-page {
  --suite-accent: #225f8f;
  --suite-accent-rgb: 34, 95, 143;
  --suite-accent-alt-rgb: 18, 79, 116;
}

.contracts-gate {
  display: none;
  min-height: calc(100vh - 140px);
  align-items: center;
}

.agri-contract-page.is-locked .contracts-gate {
  display: grid;
}

.contracts-gate-shell {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid rgba(34, 95, 143, 0.14);
  box-shadow: 0 20px 50px rgba(28, 36, 48, 0.08);
}

.contracts-gate-shell h1 {
  margin-top: 6px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.contracts-gate-text {
  margin-top: 14px;
  font-size: 0.98rem;
  line-height: 1.72;
}

.contracts-gate-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contracts-gate-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
}

.contracts-gate-input {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(28, 36, 48, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
}

.contracts-gate-input:focus-visible {
  outline: 2px solid rgba(34, 95, 143, 0.28);
  outline-offset: 2px;
  border-color: rgba(34, 95, 143, 0.34);
}

.contracts-gate-feedback {
  min-height: 1.5em;
  margin-top: 12px;
  font-size: 0.88rem;
  color: #8f2d2d;
}

.agri-contract-page.is-locked .contracts-protected {
  display: none;
}

.agri-research-page {
  --suite-accent: #3f5f89;
  --suite-accent-rgb: 63, 95, 137;
  --suite-accent-alt-rgb: 18, 79, 116;
}

.agriculture-page .suite-switch {
  gap: 12px;
  margin-bottom: 10px;
}

.agriculture-page main > .section:first-child {
  margin-top: 0;
}

.suite-switch-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(28, 36, 48, 0.08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 244, 0.78));
  box-shadow: 0 10px 22px rgba(28, 36, 48, 0.04);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.suite-switch-item:hover,
.suite-switch-item:focus-visible {
  border-color: rgba(var(--suite-accent-rgb), 0.18);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(28, 36, 48, 0.06);
}

.suite-switch-item span {
  color: rgba(28, 36, 48, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.suite-switch-item strong {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.suite-switch-item.is-active {
  border-color: rgba(var(--suite-accent-rgb), 0.2);
  background: linear-gradient(180deg, rgba(var(--suite-accent-rgb), 0.12), rgba(var(--suite-accent-rgb), 0.06));
  box-shadow: 0 14px 30px rgba(var(--suite-accent-rgb), 0.08);
}

.suite-switch-item.is-active span,
.suite-switch-item.is-active strong {
  color: var(--suite-accent);
}

.page-role-strip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 13px 16px 13px 18px;
  border: 1px solid rgba(var(--suite-accent-rgb), 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.9), rgba(255, 255, 255, 0.82));
  box-shadow: var(--shadow);
}

.page-role-strip::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(var(--suite-accent-rgb), 0.86), rgba(var(--suite-accent-alt-rgb), 0.34));
}

.page-role-strip p {
  margin-left: 2px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.page-role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(var(--suite-accent-rgb), 0.1);
  color: var(--suite-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.project-hero-cover {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(var(--suite-accent-rgb), 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(250, 243, 233, 0.92));
}

.project-hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 36%),
    radial-gradient(circle at 82% 24%, rgba(var(--suite-accent-alt-rgb), 0.12), transparent 22%);
}

.cover-headline-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cover-suite-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 10px;
}

.cover-suite-step {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(28, 36, 48, 0.56);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cover-suite-step.is-active {
  border-color: rgba(var(--suite-accent-rgb), 0.2);
  background: rgba(var(--suite-accent-rgb), 0.12);
  color: var(--suite-accent);
}

.cover-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--suite-accent-rgb), 1), rgba(var(--suite-accent-alt-rgb), 0.95));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 12px 26px rgba(var(--suite-accent-rgb), 0.2);
}

.cover-suite-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cover-side-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 240, 230, 0.94));
  box-shadow: inset 0 0 0 1px rgba(var(--suite-accent-rgb), 0.06);
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 20px;
  min-height: 0;
  align-items: stretch;
}

.hero-copy,
.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 250, 244, 0.92));
  border: 1px solid var(--line);
}

.hero-copy::after,
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 140, 49, 0.22), transparent 68%);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.hero-card h2 {
  font-family: "Source Serif 4", Georgia, serif;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.3vw, 4.7rem);
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}

.hero-text {
  max-width: 62ch;
  margin-top: 14px;
  line-height: 1.68;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.project-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(var(--suite-accent-rgb), 0.08);
  border: 1px solid rgba(var(--suite-accent-rgb), 0.12);
  color: var(--suite-accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.appendix-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 10px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(11, 110, 79, 0.1);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.appendix-chip.is-pending {
  background: rgba(208, 140, 49, 0.14);
  color: #8a5410;
}

.appendix-chip.is-reference {
  background: rgba(18, 79, 116, 0.12);
  color: #124f74;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #f9f7f2;
  border-color: transparent;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.quick-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.quick-links a:hover,
.site-nav a:hover,
.nav-dropdown summary:hover {
  border-color: currentColor;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #124f74);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.16);
}

.identity {
  display: grid;
  gap: 4px;
}

.hero-facts {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.hero-facts div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.hero-facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.about-grid .about-content,
.two-column,
.project-grid {
  display: grid;
  gap: 14px;
}

.about-grid .about-content {
  grid-template-columns: 1.3fr 0.9fr;
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-subtitle {
  margin-top: 8px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.inline-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.section-note {
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.55;
}

.content-card,
.project-card,
.stack-card,
.timeline-item,
.publication-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.feature-layout {
  background:
    radial-gradient(circle at top right, rgba(11, 110, 79, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(255, 248, 240, 0.9));
}

.feature-layout-system {
  background:
    radial-gradient(circle at top right, rgba(136, 78, 34, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(250, 243, 235, 0.92));
}

.feature-layout-system .feature-grid {
  align-items: stretch;
}

.feature-layout-system .feature-card {
  height: 100%;
  box-shadow: 0 16px 32px rgba(120, 83, 26, 0.08);
}

.feature-layout-system .feature-badge {
  background: #915726;
}

.feature-layout-system .feature-repo {
  background: rgba(145, 87, 38, 0.1);
  color: #915726;
}

.system-entry-focus {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(145, 87, 38, 0.12);
  background:
    radial-gradient(circle at top right, rgba(145, 87, 38, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(252, 245, 237, 0.94));
  box-shadow: 0 14px 30px rgba(120, 83, 26, 0.06);
}

.system-entry-focus-label {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(145, 87, 38, 0.12);
  color: #915726;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.system-entry-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.system-entry-focus-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(145, 87, 38, 0.06);
  border: 1px solid rgba(145, 87, 38, 0.1);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-layout-system .system-entry-overview {
  background:
    radial-gradient(circle at top right, rgba(145, 87, 38, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 244, 236, 0.94));
  border-color: rgba(145, 87, 38, 0.12);
}

.feature-layout-system .system-entry-snapshot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 239, 0.94));
  border-color: rgba(120, 83, 26, 0.1);
}

.feature-layout-system .system-entry-pipeline {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 242, 0.94));
  border-color: rgba(145, 87, 38, 0.1);
}

.feature-layout-system .system-entry-highlights {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 244, 0.94));
  border-color: rgba(97, 124, 77, 0.12);
}

.feature-layout-system .system-entry-gallery {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 245, 238, 0.95));
  border-color: rgba(145, 87, 38, 0.1);
}

.feature-layout-system #featured-summary {
  max-width: 64ch;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text);
}

.feature-layout-system .feature-links a:first-child {
  background: #915726;
  border-color: #915726;
  color: #fff;
}

.feature-layout-system .metric-card {
  background: rgba(145, 87, 38, 0.07);
}

.feature-layout-system .metric-label {
  color: #915726;
}

.feature-layout-system #featured-metrics .metric-card {
  min-height: 104px;
  align-content: start;
}

.feature-layout-system #featured-pipeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.feature-layout-system .system-home-pipeline-step {
  grid-template-columns: 1fr;
  align-content: start;
  height: 100%;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(145, 87, 38, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(251, 245, 238, 0.95));
}

.feature-layout-system .system-home-pipeline-step:nth-child(2) {
  border-color: rgba(120, 83, 26, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 249, 242, 0.95));
}

.feature-layout-system .system-home-pipeline-step:nth-child(3) {
  border-color: rgba(97, 124, 77, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 249, 244, 0.95));
}

.feature-layout-system .system-home-pipeline-step:nth-child(4) {
  border-color: rgba(62, 119, 132, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(243, 248, 251, 0.95));
}

.feature-layout-system .system-home-pipeline-step .pipeline-marker {
  width: auto;
  height: auto;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  justify-self: start;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  background: #915726;
}

.feature-layout-system .system-home-pipeline-step h4 {
  margin: 0 0 8px;
  line-height: 1.35;
  color: var(--text);
}

.feature-layout-system .system-home-pipeline-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.feature-layout-system #featured-highlights {
  gap: 12px;
}

.feature-layout-system .system-home-highlight-item {
  position: relative;
  padding: 16px 18px 16px 20px;
  border-radius: 18px;
  border: 1px solid rgba(145, 87, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 245, 239, 0.93));
}

.feature-layout-system .system-home-highlight-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #915726, #c58d46);
}

.feature-layout-system .system-home-highlight-item p {
  margin: 0;
  line-height: 1.62;
  color: var(--text);
}

.feature-layout-system .gallery-heading h3,
.feature-layout-system .gallery-heading p {
  color: var(--text);
}

.feature-layout-system .media-card {
  background: rgba(255, 252, 247, 0.98);
  border-color: rgba(145, 87, 38, 0.1);
}

.feature-layout-system .media-card:hover {
  border-color: rgba(145, 87, 38, 0.24);
  box-shadow: 0 18px 40px rgba(120, 83, 26, 0.12);
}

.feature-layout-vla {
  background:
    radial-gradient(circle at top right, rgba(18, 79, 116, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(250, 252, 255, 0.95), rgba(244, 248, 252, 0.92));
}

.feature-layout-vla .feature-badge {
  background: #124f74;
}

.feature-layout-vla .feature-repo {
  background: rgba(18, 79, 116, 0.09);
  color: #124f74;
}

.feature-layout-vla .metric-card {
  background: rgba(18, 79, 116, 0.07);
}

.feature-layout-vla .metric-label {
  color: #124f74;
}

.feature-layout-vla .pipeline-step {
  background: rgba(18, 79, 116, 0.08);
}

.feature-layout-vla .pipeline-marker {
  background: #124f74;
}

.feature-layout-vla .feature-grid {
  align-items: stretch;
}

.vla-entry-focus {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(18, 79, 116, 0.1);
  background:
    radial-gradient(circle at top right, rgba(18, 79, 116, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(242, 247, 255, 0.94));
  box-shadow: 0 14px 30px rgba(18, 79, 116, 0.05);
}

.vla-entry-focus-label {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.1);
  color: #124f74;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vla-entry-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vla-entry-focus-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.06);
  border: 1px solid rgba(18, 79, 116, 0.08);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-layout-vla .feature-card {
  height: 100%;
  box-shadow: 0 16px 32px rgba(18, 79, 116, 0.06);
}

.feature-layout-vla .vla-entry-overview {
  background:
    radial-gradient(circle at top right, rgba(18, 79, 116, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 255, 0.94));
  border-color: rgba(18, 79, 116, 0.12);
}

.feature-layout-vla .vla-entry-snapshot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 248, 0.94));
  border-color: rgba(11, 110, 79, 0.1);
}

.feature-layout-vla .vla-entry-pipeline {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 255, 0.94));
}

.feature-layout-vla .vla-entry-highlights {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 242, 0.95));
  border-color: rgba(195, 141, 54, 0.12);
}

.feature-layout-vla #vla-summary {
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text);
}

.feature-layout-vla .feature-links a:first-child {
  background: #124f74;
  border-color: #124f74;
  color: #fff;
}

.feature-layout-vla .metric-card strong {
  line-height: 1.35;
}

.feature-layout-vla #vla-metrics .metric-card {
  min-height: 104px;
  align-content: start;
}

.feature-layout-vla #vla-pipeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.feature-layout-vla .vla-home-pipeline-step {
  grid-template-columns: 1fr;
  align-content: start;
  height: 100%;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(18, 79, 116, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 249, 255, 0.94));
}

.feature-layout-vla .vla-home-pipeline-step:nth-child(2) {
  border-color: rgba(11, 110, 79, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 250, 248, 0.94));
}

.feature-layout-vla .vla-home-pipeline-step:nth-child(3) {
  border-color: rgba(195, 141, 54, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 249, 242, 0.95));
}

.feature-layout-vla .vla-home-pipeline-step .pipeline-marker {
  width: auto;
  height: auto;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  justify-self: start;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.feature-layout-vla .vla-home-pipeline-step h4 {
  margin: 0 0 8px;
  line-height: 1.35;
}

.feature-layout-vla .vla-home-pipeline-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.feature-layout-vla .pipeline-step h4,
.feature-layout-vla .highlight-item p {
  color: var(--text);
}

.feature-layout-vla #vla-highlights {
  gap: 12px;
}

.feature-layout-vla .highlight-item {
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.feature-layout-vla .vla-home-highlight-item {
  position: relative;
  padding: 16px 18px 16px 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 255, 0.93));
}

.feature-layout-vla .vla-home-highlight-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #124f74, #4d92bf);
}

.feature-layout-vla .vla-home-highlight-item p {
  margin: 0;
  line-height: 1.62;
}

.feature-layout-agriculture {
  background:
    radial-gradient(circle at top right, rgba(125, 150, 136, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(245, 249, 247, 0.95), rgba(238, 244, 240, 0.92));
}

.feature-layout-agriculture .feature-badge {
  background: #7d9688;
}

.feature-layout-agriculture .feature-repo {
  background: rgba(125, 150, 136, 0.1);
  color: #7d9688;
}

.feature-layout-agriculture .metric-card {
  background: rgba(125, 150, 136, 0.06);
}

.feature-layout-agriculture .metric-label {
  color: #7d9688;
}

.feature-layout-agriculture .pipeline-step {
  background: rgba(125, 150, 136, 0.06);
}

.feature-layout-agriculture .pipeline-marker {
  background: #7d9688;
}

.agri-showcase-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
  margin-bottom: 14px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(125, 150, 136, 0.16);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.86), transparent 32%),
    linear-gradient(135deg, rgba(95, 120, 108, 0.94), rgba(125, 150, 136, 0.88) 46%, rgba(165, 185, 172, 0.74) 100%);
  box-shadow: 0 18px 44px rgba(125, 150, 136, 0.12);
}

.agri-showcase-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -64px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.agri-showcase-copy,
.agri-entry-grid {
  position: relative;
  z-index: 1;
}

.agri-showcase-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  color: #fffaf1;
}

.agri-showcase-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.16);
  border: 1px solid rgba(255, 250, 241, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agri-showcase-card h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.08;
  color: #fffdf8;
}

.agri-showcase-text {
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 250, 241, 0.92);
}

.agri-showcase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agri-showcase-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.12);
  border: 1px solid rgba(255, 250, 241, 0.18);
  color: #fff8eb;
  font-size: 0.84rem;
  font-weight: 700;
}

.agri-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.agri-entry-card {
  display: grid;
  gap: 8px;
  min-height: 122px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(245, 249, 247, 0.88);
  border: 1px solid rgba(125, 150, 136, 0.12);
  box-shadow: 0 12px 24px rgba(125, 150, 136, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.agri-entry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 150, 136, 0.24);
  box-shadow: 0 18px 32px rgba(125, 150, 136, 0.1);
}

.agri-entry-card span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d9688;
}

.agri-entry-card strong {
  font-size: 1.06rem;
  line-height: 1.3;
  color: var(--text);
}

.feature-layout-agriculture .feature-links a {
  background: rgba(245, 249, 247, 0.92);
  border-color: rgba(125, 150, 136, 0.14);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.feature-overview {
  grid-column: 1 / 8;
  display: grid;
  align-content: start;
  gap: 12px;
}

.feature-snapshot {
  grid-column: 8 / 13;
}

.feature-pipeline-card {
  grid-column: 1 / 8;
}

.feature-highlights {
  grid-column: 8 / 13;
}

.feature-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.feature-badge,
.feature-repo {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.feature-badge {
  background: var(--accent);
  color: #fff;
}

.feature-repo {
  background: rgba(11, 110, 79, 0.08);
  color: var(--accent);
}

.feature-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#featured-summary,
#agri-summary {
  max-width: 58ch;
  font-size: 0.97rem;
  line-height: 1.68;
}

.feature-overview h3 {
  margin-bottom: 2px;
  font-size: 1.36rem;
  line-height: 1.2;
}

.feature-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(11, 110, 79, 0.06);
}

.metric-label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}

.metric-card strong {
  font-size: 1rem;
}

.feature-gallery {
  grid-column: 1 / -1;
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 12px;
}

.gallery-heading p {
  max-width: 38ch;
  font-size: 0.9rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.media-card {
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(28, 36, 48, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.media-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 110, 79, 0.22);
  box-shadow: 0 18px 40px rgba(28, 36, 48, 0.1);
}

.media-card-large {
  grid-row: auto;
}

.media-card-overview {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  min-height: 100%;
}

.media-card-chart,
.media-card-diagram {
  aspect-ratio: 16 / 10;
}

.media-card-chart {
  grid-column: 8 / 13;
  grid-row: 1;
}

.media-card-diagram {
  grid-column: 8 / 13;
  grid-row: 2;
}

.media-card-trajectory {
  grid-column: 1 / 8;
  grid-row: 3;
  aspect-ratio: 1217 / 944;
  min-height: 320px;
}

.media-card-portrait {
  grid-column: 8 / 13;
  grid-row: 3;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  justify-self: stretch;
}

.media-card img {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(180deg, #fbf5ec 0%, #f3eadc 100%);
}

.media-label-row {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  max-width: calc(100% - 20px);
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  pointer-events: none;
}

.media-kicker,
.media-type {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.media-kicker {
  color: #fff;
  background: rgba(11, 110, 79, 0.88);
}

.media-type {
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(28, 36, 48, 0.08);
}

.media-illustration {
  flex: 1;
  width: 100%;
  padding: 14px;
  object-fit: contain;
  object-position: center;
}

.media-preview-shell {
  position: relative;
  display: flex;
  flex: 1;
}

.media-photo {
  padding: 0;
  object-fit: cover;
  object-position: center 38%;
}

.media-motion {
  padding: 8px;
  object-fit: cover;
  object-position: center;
}

.media-motion-preview {
  background: linear-gradient(180deg, #203040 0%, #314f66 100%);
}

.media-load-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(28, 36, 48, 0.78);
  color: #fff;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(28, 36, 48, 0.18);
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.media-load-button:hover,
.media-load-button:focus-visible {
  transform: translate(-50%, calc(-50% - 2px));
  background: rgba(11, 110, 79, 0.9);
}

.media-load-button.is-loading {
  cursor: progress;
  opacity: 0.92;
}

.media-card.is-motion-loaded .media-load-button {
  display: none;
}

.media-card-overview .media-illustration {
  aspect-ratio: 4 / 3;
  padding: 18px;
}

.media-card-chart .media-illustration,
.media-card-diagram .media-illustration {
  aspect-ratio: 16 / 10;
}

.media-card-trajectory .media-illustration {
  aspect-ratio: 1217 / 944;
  padding: 6px 6px 0;
  object-fit: contain;
  object-position: center 46%;
  background: linear-gradient(180deg, #24303b 0%, #2d3945 100%);
}

.media-card-trajectory .media-label-row .media-kicker {
  background: rgba(208, 140, 49, 0.92);
}

.media-card-trajectory .media-label-row .media-type {
  background: rgba(255, 255, 255, 0.86);
}

.media-card-portrait .media-illustration {
  aspect-ratio: 16 / 10;
  padding: 4px 4px 0;
  object-fit: cover;
  object-position: center 22%;
  background: linear-gradient(180deg, #f3eee6 0%, #e7ded2 100%);
}

.media-card figcaption {
  display: grid;
  gap: 6px;
  padding: 11px 12px 12px;
  border-top: 1px solid rgba(28, 36, 48, 0.08);
  background: rgba(255, 255, 255, 0.68);
}

.media-card figcaption strong {
  font-size: 0.93rem;
  color: var(--text);
}

.media-card figcaption span {
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--muted);
}

.pipeline,
.highlight-list {
  display: grid;
  gap: 10px;
}

.pipeline-step,
.highlight-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(208, 140, 49, 0.08);
}

.pipeline-marker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #fff;
  font-weight: 800;
}

.pipeline-step h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.highlight-item {
  grid-template-columns: 1fr;
  background: rgba(28, 36, 48, 0.04);
}

.highlight-item p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag-list li,
.filter-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(11, 110, 79, 0.08);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.timeline,
.publication-list,
.stack-list {
  display: grid;
  gap: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}

.timeline-date {
  font-weight: 800;
  color: var(--text);
}

.timeline-text {
  font-size: 0.9rem;
  line-height: 1.55;
}

.timeline-title,
.publication-title,
.project-card h3,
.stack-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}

.publication-meta,
.project-meta {
  margin-top: 8px;
  font-size: 0.95rem;
}

.publication-card {
  display: grid;
  gap: 8px;
  min-height: 100%;
}

.future-paper-section {
  background:
    radial-gradient(circle at top right, rgba(18, 79, 116, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.95), rgba(244, 248, 253, 0.92));
}

.future-paper-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.future-paper-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(18, 79, 116, 0.12);
  box-shadow: 0 14px 30px rgba(18, 79, 116, 0.06);
}

.future-paper-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #124f74, #c38d36);
}

.future-paper-head {
  display: grid;
  gap: 8px;
}

.future-paper-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.card-state-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.card-state-badge,
.card-state-track,
.future-paper-status,
.future-paper-track {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-state-badge,
.future-paper-status {
  background: rgba(18, 79, 116, 0.12);
  color: #124f74;
}

.card-state-track,
.future-paper-track {
  background: rgba(195, 141, 54, 0.12);
  color: #9a6714;
}

.future-paper-target {
  font-size: 0.88rem;
  color: var(--muted);
}

.future-paper-target strong {
  color: var(--text);
}

.future-paper-summary {
  font-size: 0.92rem;
  line-height: 1.62;
}

.future-paper-focus {
  display: grid;
  gap: 8px;
  padding: 12px 13px;
  border-radius: 16px;
  background: rgba(18, 79, 116, 0.05);
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.future-paper-focus strong {
  font-size: 0.84rem;
  color: #124f74;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.future-paper-focus p {
  font-size: 0.86rem;
  line-height: 1.58;
  color: var(--text);
}

.publication-list-compact {
  gap: 8px;
}

.publication-head,
.project-head {
  display: grid;
  gap: 3px;
}

.publication-meta-strong {
  margin-top: 0;
}

.publication-summary,
.project-summary {
  font-size: 0.9rem;
  line-height: 1.55;
}

.publication-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.publication-subcard {
  padding: 12px 13px;
  border-radius: 14px;
  background: rgba(11, 110, 79, 0.05);
  border: 1px solid rgba(11, 110, 79, 0.1);
}

.publication-subcard h4 {
  margin: 0 0 5px;
  font-size: 0.9rem;
  color: var(--text);
}

.publication-subcard p {
  font-size: 0.84rem;
  line-height: 1.55;
}

.publication-tagline {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.84rem;
}

.card-action-stack {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.card-action-primary,
.card-action-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.action-link:hover,
.action-link:focus-visible {
  transform: translateY(-1px);
}

.action-link-primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 20px rgba(11, 110, 79, 0.14);
}

.action-link-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

.action-link-secondary:hover,
.action-link-secondary:focus-visible {
  border-color: rgba(11, 110, 79, 0.22);
  box-shadow: 0 10px 20px rgba(28, 36, 48, 0.05);
}

.publication-actions,
.project-links,
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.publication-actions a,
.project-links a {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.filter-chip {
  border: none;
  cursor: pointer;
}

.filter-chip.is-active {
  background: var(--accent);
  color: #fff;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  display: grid;
  gap: 10px;
  min-height: 192px;
}

.project-grid-compact {
  gap: 12px;
}

.project-meta {
  font-size: 0.88rem;
}

.stack-card {
  padding: 16px;
}

.stack-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

.community-showcase {
  display: grid;
  gap: 12px;
}

.community-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.honors-showcase-card {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(195, 141, 54, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 255, 255, 0.92));
}

.honors-showcase-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.honors-showcase-head h3 {
  margin-bottom: 6px;
}

.honors-showcase-head p {
  max-width: 54ch;
  color: var(--muted);
}

.honors-highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.honors-highlight-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(195, 141, 54, 0.16);
  color: #8e5f1e;
  font-size: 0.82rem;
  font-weight: 700;
}

.honors-showcase-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(195, 141, 54, 0.12);
  color: #9a6714;
  border: 1px solid rgba(195, 141, 54, 0.18);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.honors-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.honors-media-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(28, 36, 48, 0.08);
  box-shadow: 0 12px 24px rgba(28, 36, 48, 0.05);
}

.honors-media-card-wide {
  grid-column: 1 / -1;
}

.honors-media-topline {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.honors-media-topline span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(28, 36, 48, 0.08);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.honors-media-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #fbf5ec 0%, #f3eadc 100%);
}

.honors-media-card-wide img {
  aspect-ratio: 16 / 8.2;
}

.honors-gallery .honors-media-card:not(.honors-media-card-wide) img {
  aspect-ratio: 4 / 4.4;
}

.honors-media-card figcaption {
  display: grid;
  gap: 6px;
  padding: 11px 12px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(28, 36, 48, 0.08);
}

.honors-media-card figcaption strong {
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--text);
}

.honors-media-card figcaption span {
  font-size: 0.82rem;
  line-height: 1.52;
  color: var(--muted);
}

.community-detail-card {
  display: grid;
  gap: 10px;
}

.community-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.community-detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.07);
  color: #124f74;
  font-size: 0.8rem;
  font-weight: 700;
}

.stack-groups {
  display: grid;
  gap: 10px;
}

.stack-intro {
  color: var(--muted);
}

.stack-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stack-overview-item {
  display: grid;
  gap: 6px;
  padding: 12px 13px;
  border-radius: 16px;
  background: rgba(18, 79, 116, 0.05);
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.stack-overview-item strong {
  font-size: 0.86rem;
  color: #124f74;
  line-height: 1.35;
}

.stack-overview-item span {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.stack-group-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.9));
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.stack-group-card strong {
  font-size: 0.9rem;
  color: #124f74;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.stack-group-card p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.stack-group-card:nth-child(1) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 255, 0.92));
}

.stack-group-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 248, 0.92));
  border-color: rgba(11, 110, 79, 0.1);
}

.stack-group-card:nth-child(2) strong {
  color: #0b6e4f;
}

.stack-group-card:nth-child(2) .stack-group-tags span {
  background: rgba(11, 110, 79, 0.08);
  color: #0b6e4f;
}

.stack-group-card:nth-child(3) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 241, 0.94));
  border-color: rgba(195, 141, 54, 0.12);
}

.stack-group-card:nth-child(3) strong {
  color: #9a6714;
}

.stack-group-card:nth-child(3) .stack-group-tags span {
  background: rgba(195, 141, 54, 0.1);
  color: #9a6714;
}

.stack-group-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-group-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.07);
  color: #124f74;
  font-size: 0.8rem;
  font-weight: 700;
}

.teaching-experience-grid {
  display: grid;
  gap: 10px;
}

.teaching-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(18, 79, 116, 0.04);
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.teaching-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.teaching-card-head strong {
  font-size: 0.98rem;
  color: var(--text);
}

.teaching-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.1);
  color: #124f74;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.teaching-duty-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.teaching-duty-list li {
  font-size: 0.88rem;
  line-height: 1.55;
}

.section-tools {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.experience-stack {
  display: grid;
  gap: 22px;
}

.experience-stack > div {
  display: grid;
  gap: 12px;
}

.experience-panel {
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(28, 36, 48, 0.08);
  box-shadow: 0 18px 40px rgba(28, 36, 48, 0.05);
}

.experience-panel .section-heading {
  position: relative;
  margin-bottom: 4px;
  padding-bottom: 10px;
}

.experience-panel .section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
}

.experience-panel .section-heading h2 {
  margin: 0;
}

.experience-panel-background {
  background:
    radial-gradient(circle at top right, rgba(18, 79, 116, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.93));
}

.experience-panel-background .section-heading::after {
  background: linear-gradient(90deg, rgba(18, 79, 116, 0.22), rgba(18, 79, 116, 0.04) 45%, transparent 100%);
}

.experience-panel-community {
  background:
    radial-gradient(circle at top right, rgba(195, 141, 54, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(255, 255, 255, 0.93));
}

.experience-panel-community .section-heading::after {
  background: linear-gradient(90deg, rgba(195, 141, 54, 0.24), rgba(195, 141, 54, 0.05) 45%, transparent 100%);
}

.experience-panel-background .stack-list {
  gap: 14px;
}

.experience-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 249, 255, 0.92));
  border: 1px solid rgba(18, 79, 116, 0.1);
  box-shadow: 0 12px 28px rgba(18, 79, 116, 0.05);
}

.experience-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 251, 249, 0.94));
  border-color: rgba(11, 110, 79, 0.1);
}

.experience-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 242, 0.95));
  border-color: rgba(195, 141, 54, 0.12);
}

.experience-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.experience-card-label,
.experience-card-period {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.experience-card-label {
  background: rgba(18, 79, 116, 0.1);
  color: #124f74;
}

.experience-card-period {
  background: rgba(28, 36, 48, 0.06);
  color: var(--muted);
}

.experience-card:nth-child(2) .experience-card-label {
  background: rgba(11, 110, 79, 0.1);
  color: #0b6e4f;
}

.experience-card:nth-child(3) .experience-card-label {
  background: rgba(195, 141, 54, 0.12);
  color: #9a6714;
}

.experience-card-body {
  display: grid;
  gap: 8px;
}

.experience-card-body h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.28;
  color: var(--text);
}

.experience-card-subtitle {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #124f74;
  font-weight: 700;
}

.experience-card-detail {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--muted);
}

.experience-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.experience-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.07);
  color: #124f74;
  font-size: 0.8rem;
  font-weight: 700;
}

.experience-card:nth-child(2) .experience-card-tags span {
  background: rgba(11, 110, 79, 0.08);
  color: #0b6e4f;
}

.experience-card:nth-child(3) .experience-card-tags span {
  background: rgba(195, 141, 54, 0.1);
  color: #9a6714;
}

.vla-research-page {
  --suite-accent: #124f74;
  --suite-accent-rgb: 18, 79, 116;
  --suite-accent-alt-rgb: 11, 110, 79;
}

.vla-research-page .suite-switch {
  gap: 12px;
  margin-bottom: 10px;
}

.vla-hero {
  background:
    radial-gradient(circle at top right, rgba(18, 79, 116, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.97), rgba(241, 247, 252, 0.93));
}

.vla-summary-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 249, 255, 0.94));
}

.vla-summary-head {
  display: grid;
  gap: 6px;
}

.vla-summary-head strong {
  font-size: 1.26rem;
  line-height: 1.3;
  color: var(--text);
}

.vla-summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vla-summary-list div {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(18, 79, 116, 0.05);
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.vla-summary-list span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #124f74;
}

.vla-summary-list strong {
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--text);
}

.vla-summary-footnote {
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(18, 79, 116, 0.06);
  border: 1px solid rgba(18, 79, 116, 0.08);
  color: var(--muted);
}

.vla-section-panel {
  background:
    radial-gradient(circle at top right, rgba(18, 79, 116, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 251, 255, 0.94));
}

.vla-subsection {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.vla-subsection-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.vla-subsection-head span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #124f74;
}

.vla-subsection-head strong {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
}

.vla-track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}

.vla-direction-grid,
.vla-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vla-track-card,
.vla-direction-card,
.vla-stage-card {
  display: grid;
  height: 100%;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 249, 255, 0.92));
  border: 1px solid rgba(18, 79, 116, 0.1);
  box-shadow: 0 12px 28px rgba(18, 79, 116, 0.05);
}

.vla-track-card:nth-child(2),
.vla-stage-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 250, 248, 0.93));
  border-color: rgba(11, 110, 79, 0.1);
}

.vla-track-card:nth-child(3),
.vla-stage-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 242, 0.94));
  border-color: rgba(195, 141, 54, 0.12);
}

.vla-track-card:nth-child(4),
.vla-stage-card:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 246, 251, 0.94));
  border-color: rgba(88, 92, 160, 0.12);
}

.vla-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.vla-card-topline span,
.vla-stage-index {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.1);
  color: #124f74;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vla-card-topline strong {
  font-size: 1rem;
  line-height: 1.38;
  color: var(--text);
}

.vla-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vla-tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.07);
  color: #124f74;
  font-size: 0.8rem;
  font-weight: 700;
}

.vla-two-column,
.vla-roadmap-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vla-focus-card {
  display: grid;
  gap: 12px;
}

.vla-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.vla-list li {
  font-size: 0.92rem;
  line-height: 1.65;
}

.vla-kpi-grid,
.vla-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.vla-kpi-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(18, 79, 116, 0.06);
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.vla-kpi-card span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #124f74;
}

.vla-kpi-card strong {
  font-size: 1.24rem;
  line-height: 1.2;
  color: var(--text);
}

.vla-kpi-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.vla-direction-card.is-primary {
  background:
    radial-gradient(circle at top right, rgba(18, 79, 116, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(245, 250, 255, 0.96), rgba(239, 246, 255, 0.94));
}

.vla-direction-summary {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.vla-thesis-card {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  background:
    radial-gradient(circle at top right, rgba(11, 110, 79, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 248, 0.95));
  border-color: rgba(11, 110, 79, 0.1);
}

.vla-stage-card h3,
.vla-source-card h3 {
  margin: 0;
}

.vla-stage-card strong {
  font-size: 0.9rem;
  color: #124f74;
}

.vla-source-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 250, 255, 0.95));
  border: 1px solid rgba(18, 79, 116, 0.1);
  box-shadow: 0 12px 28px rgba(18, 79, 116, 0.05);
}

.vla-source-list {
  list-style: none;
  padding-left: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.vla-source-list li {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(18, 79, 116, 0.05);
  border: 1px solid rgba(18, 79, 116, 0.08);
}

@media (max-width: 1180px) {
  .feature-layout-system #featured-pipeline,
  .feature-layout-vla #vla-pipeline {
    grid-template-columns: 1fr;
  }

  .vla-track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vla-summary-list,
  .vla-source-list {
    grid-template-columns: 1fr;
  }
}

.vla-architecture-shell {
  display: grid;
  grid-template-columns: 1fr 140px 1fr 140px 1fr;
  gap: 12px;
  align-items: center;
}

.vla-architecture-column {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.93));
  border: 1px solid rgba(18, 79, 116, 0.1);
  box-shadow: 0 12px 28px rgba(18, 79, 116, 0.05);
}

.vla-architecture-stack {
  display: grid;
  gap: 12px;
}

.vla-architecture-node {
  display: grid;
  gap: 7px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(18, 79, 116, 0.05);
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.vla-architecture-node strong {
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text);
}

.vla-architecture-node p {
  font-size: 0.86rem;
  line-height: 1.62;
  color: var(--muted);
}

.vla-architecture-bridge {
  position: relative;
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 14px 10px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.08);
  border: 1px solid rgba(18, 79, 116, 0.1);
  text-align: center;
}

.vla-architecture-bridge::before,
.vla-architecture-bridge::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: rgba(18, 79, 116, 0.2);
}

.vla-architecture-bridge::before {
  left: -18px;
}

.vla-architecture-bridge::after {
  right: -18px;
}

.vla-architecture-bridge span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #124f74;
}

.vla-architecture-bridge strong {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text);
}

.vla-architecture-bridge-warm {
  background: rgba(195, 141, 54, 0.1);
  border-color: rgba(195, 141, 54, 0.14);
}

.vla-architecture-bridge-warm span {
  color: #9a6714;
}

.vla-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.vla-figure-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.vla-figure-note-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.vla-figure-note-card span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #124f74;
}

.vla-figure-note-card strong {
  font-size: 0.94rem;
  line-height: 1.42;
  color: var(--text);
}

.vla-figure-note-card p {
  font-size: 0.86rem;
  line-height: 1.62;
  color: var(--muted);
}

.vla-experiment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.vla-experiment-card {
  display: grid;
  height: 100%;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.vla-status-list {
  display: grid;
  gap: 10px;
}

.vla-status-item {
  display: grid;
  gap: 6px;
  padding: 12px 13px;
  border-radius: 16px;
  background: rgba(18, 79, 116, 0.04);
  border: 1px solid rgba(18, 79, 116, 0.06);
}

.vla-status-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--muted);
}

.vla-status-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vla-status-chip.is-done {
  background: rgba(11, 110, 79, 0.1);
  color: #0b6e4f;
}

.vla-status-chip.is-progress {
  background: rgba(18, 79, 116, 0.1);
  color: #124f74;
}

.vla-status-chip.is-plan {
  background: rgba(195, 141, 54, 0.12);
  color: #9a6714;
}

.vla-result-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.vla-result-summary,
.vla-result-placeholder-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.94));
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.vla-result-summary {
  background:
    radial-gradient(circle at top right, rgba(18, 79, 116, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.97), rgba(240, 247, 255, 0.95));
}

.vla-result-summary p,
.vla-result-placeholder-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--muted);
}

.vla-placeholder-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.vla-placeholder-head span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #124f74;
}

.vla-placeholder-head strong {
  font-size: 0.96rem;
  line-height: 1.4;
  color: var(--text);
}

.vla-placeholder-bars {
  display: grid;
  gap: 10px;
}

.vla-placeholder-bars div {
  display: grid;
  gap: 6px;
}

.vla-placeholder-bars span {
  font-size: 0.82rem;
  color: var(--text);
}

.vla-placeholder-bars i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #124f74, rgba(18, 79, 116, 0.35));
}

.vla-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.vla-mock-table {
  display: grid;
  gap: 8px;
}

.vla-mock-table div {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(18, 79, 116, 0.05);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
}

.vla-mock-table div span:first-child {
  color: var(--text);
  font-weight: 700;
}

.vla-mock-table .is-head {
  background: rgba(18, 79, 116, 0.1);
  color: #124f74;
  font-weight: 800;
}

.vla-mock-table .is-head span:first-child {
  color: #124f74;
}

.vla-mock-curve {
  position: relative;
  min-height: 180px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(18, 79, 116, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 79, 116, 0.06) 1px, transparent 1px);
  background-size: 100% 33.33%, 25% 100%;
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.vla-curve-axis {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #124f74;
}

.vla-curve-axis-x {
  right: 14px;
  bottom: 12px;
}

.vla-curve-axis-y {
  left: 14px;
  top: 12px;
}

.vla-curve-line {
  position: absolute;
  left: 16%;
  right: 14%;
  bottom: 26%;
  height: 2px;
  background: linear-gradient(90deg, rgba(18, 79, 116, 0.3), #124f74, rgba(11, 110, 79, 0.8));
  transform: rotate(-16deg);
  transform-origin: left center;
}

.vla-curve-point {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #124f74;
  box-shadow: 0 0 0 5px rgba(18, 79, 116, 0.12);
}

.vla-curve-point.point-a {
  left: 18%;
  bottom: 26%;
}

.vla-curve-point.point-b {
  left: 46%;
  bottom: 44%;
}

.vla-curve-point.point-c {
  right: 16%;
  top: 32%;
  background: #0b6e4f;
  box-shadow: 0 0 0 5px rgba(11, 110, 79, 0.12);
}

.vla-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vla-case-grid div {
  display: grid;
  place-items: center;
  min-height: 86px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(18, 79, 116, 0.12), rgba(11, 110, 79, 0.08));
  border: 1px dashed rgba(18, 79, 116, 0.18);
  color: #124f74;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.vla-timeline {
  display: grid;
  gap: 14px;
}

.vla-timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.94));
  border: 1px solid rgba(18, 79, 116, 0.08);
}

.vla-timeline-item time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.09);
  color: #124f74;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.vla-timeline-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.4;
}

.vla-timeline-item p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--muted);
}

.compact {
  grid-template-rows: repeat(3, 1fr);
}

.contact-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.agriculture-page .hero {
  grid-template-columns: 1.35fr 0.95fr;
}

.project-suite-section {
  margin-top: 0;
  padding: 20px 24px;
}

.project-suite-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.project-suite-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.project-suite-tab {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-suite-tab:hover,
.project-suite-tab:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(11, 110, 79, 0.22);
}

.project-suite-tab span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-suite-tab strong {
  color: var(--text);
  font-size: 0.98rem;
}

.project-suite-tab.is-active {
  background: linear-gradient(180deg, rgba(11, 110, 79, 0.12), rgba(255, 250, 244, 0.94));
  border-color: rgba(11, 110, 79, 0.28);
  box-shadow: inset 0 0 0 1px rgba(11, 110, 79, 0.08);
}

.page-role-banner {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(18, 79, 116, 0.12);
  border-radius: 16px;
  background: rgba(18, 79, 116, 0.06);
}

.page-role-banner p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-role-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #124f74;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.agriculture-sidebar {
  justify-content: flex-start;
}

.project-summary-card {
  display: grid;
  gap: 14px;
  align-content: start;
  width: 100%;
}

.project-summary-head {
  display: grid;
  gap: 6px;
}

.project-summary-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(11, 110, 79, 0.1);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.project-summary-head strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.85rem;
  line-height: 1.15;
  color: var(--text);
}

.project-summary-list {
  display: grid;
  gap: 8px;
}

.project-summary-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(28, 36, 48, 0.08);
}

.project-summary-list span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.project-summary-list strong {
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
}

.project-summary-card > p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.agri-kpis,
.agri-brief-grid,
.agri-pillar-grid,
.agri-status-grid,
.agri-breakdown-grid,
.agri-route-grid,
.agri-findings-grid,
.agri-phase-grid,
.agri-source-grid,
.dashboard-kpi-grid,
.dashboard-progress-grid,
.dashboard-timeline,
.topology-grid,
.dashboard-next-grid {
  display: grid;
  gap: 14px;
}

.agri-kpis {
  grid-template-columns: 1fr;
}

.kpi-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(11, 110, 79, 0.06);
  border: 1px solid rgba(11, 110, 79, 0.1);
}

.kpi-card strong {
  display: block;
  margin: 4px 0 6px;
  font-size: 1.16rem;
}

.kpi-card p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.agri-brief-grid,
.agri-pillar-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agri-status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agri-breakdown-grid,
.agri-findings-grid,
.agri-phase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.agri-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.agri-source-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agri-pillar,
.agri-route-card {
  height: 100%;
}

.agri-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.agri-list li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.agri-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.agri-amount {
  margin: 6px 0 10px;
  color: var(--accent);
  font-size: 1.42rem;
  font-weight: 800;
}

.route-title {
  margin: 6px 0 8px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.agri-route-card.is-recommended {
  background: linear-gradient(180deg, rgba(11, 110, 79, 0.09), rgba(255, 250, 244, 0.96));
  border-color: rgba(11, 110, 79, 0.18);
}

.agri-principles {
  margin-top: 14px;
}

.agri-source-grid .content-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.agri-source-grid .hero-actions {
  margin-top: 12px;
}

.agri-dashboard-page .hero {
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}

.agri-dashboard-page .section-heading {
  margin-bottom: 16px;
}

.agri-dashboard-page .section-heading.inline-heading {
  position: relative;
  align-items: center;
  padding: 0 0 8px;
}

.agri-dashboard-page .section-heading.inline-heading::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(11, 110, 79, 0.2), rgba(11, 110, 79, 0.04) 45%, transparent 100%);
}

.agri-dashboard-page .section-heading.inline-heading h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  line-height: 1.1;
}

.agri-dashboard-page .section-heading.inline-heading h2::before {
  content: "";
  display: inline-flex;
  width: 5px;
  height: 1.05em;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(11, 110, 79, 0.88), rgba(18, 79, 116, 0.42));
}

.agri-dashboard-page .section-heading.inline-heading + .dashboard-kpi-grid,
.agri-dashboard-page .section-heading.inline-heading + .dashboard-progress-grid,
.agri-dashboard-page .section-heading.inline-heading + .dashboard-timeline,
.agri-dashboard-page .section-heading.inline-heading + .topology-grid,
.agri-dashboard-page .section-heading.inline-heading + .dashboard-next-grid {
  margin-top: 4px;
}

.agri-dashboard-page .project-hero-cover {
  padding: 30px;
  border-radius: 30px;
}

.agri-dashboard-page .hero-copy,
.agri-dashboard-page .hero-card {
  padding: 30px;
  border-radius: 26px;
}

.agri-dashboard-page .hero-copy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 249, 240, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.agri-dashboard-page .hero-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 240, 230, 0.96));
  box-shadow: 0 16px 32px rgba(28, 36, 48, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.agri-dashboard-page .hero-text {
  max-width: 60ch;
  margin-top: 16px;
}

.agri-dashboard-page .hero + .section {
  margin-top: 12px;
}

.agri-dashboard-page .hero + .section .dashboard-kpi-grid {
  position: relative;
  margin-top: -6px;
}

.agri-dashboard-page .hero + .section::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, rgba(11, 110, 79, 0.12), rgba(18, 79, 116, 0.08), transparent 72%);
}

.dashboard-note {
  margin-top: 14px;
  padding: 15px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(236, 244, 249, 0.95), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(18, 79, 116, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.agri-dashboard-page .hero-actions {
  gap: 12px;
  margin-top: 24px;
}

.agri-dashboard-page .hero-actions .button,
.agri-dashboard-page .contact-actions .button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(28, 36, 48, 0.05);
}

.agri-dashboard-page .hero-actions .button.secondary,
.agri-dashboard-page .contact-actions .button.secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(28, 36, 48, 0.08);
}

.dashboard-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-kpi-card,
.progress-card,
.timeline-card,
.topology-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.progress-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px 22px;
  background:
    linear-gradient(180deg, rgba(252, 255, 253, 0.97), rgba(241, 247, 244, 0.92));
  border-color: rgba(11, 110, 79, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.timeline-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 242, 233, 0.93));
  border-color: rgba(166, 102, 20, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: 130px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(166, 102, 20, 0.08), rgba(166, 102, 20, 0.32), rgba(166, 102, 20, 0.08));
}

.dashboard-kpi-card strong {
  display: block;
  margin: 6px 0 8px;
  font-size: 1.46rem;
  color: var(--text);
}

.dashboard-kpi-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 20px 20px 18px;
  background: linear-gradient(180deg, rgba(253, 255, 254, 0.98), rgba(238, 247, 243, 0.93));
  border-color: rgba(11, 110, 79, 0.1);
  box-shadow: 0 14px 30px rgba(11, 110, 79, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.dashboard-kpi-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(11, 110, 79, 0.9), rgba(18, 79, 116, 0.38));
}

.dashboard-kpi-card .metric-label {
  padding-left: 10px;
  color: rgba(28, 36, 48, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.dashboard-kpi-card strong,
.dashboard-kpi-card p {
  padding-left: 10px;
}

.dashboard-kpi-card p {
  color: rgba(28, 36, 48, 0.72);
  line-height: 1.62;
}

.dashboard-progress-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.agri-dashboard-page .hero-card .stack-card {
  padding: 16px 16px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(28, 36, 48, 0.08);
  box-shadow: 0 10px 24px rgba(28, 36, 48, 0.04);
}

.agri-dashboard-page .hero-card .stack-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.3;
}

.agri-dashboard-page .hero-card .stack-card p {
  color: rgba(28, 36, 48, 0.72);
  line-height: 1.66;
}

.progress-card h3 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-left: 14px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.progress-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(11, 110, 79, 0.86), rgba(31, 138, 103, 0.45));
}

.progress-list {
  display: grid;
  gap: 14px;
}

.progress-item {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(28, 36, 48, 0.08);
  box-shadow: 0 10px 24px rgba(28, 36, 48, 0.04);
}

.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.progress-head strong {
  font-size: 0.96rem;
}

.progress-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 110, 79, 0.08);
  color: rgba(11, 110, 79, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.progress-track {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(28, 36, 48, 0.08);
  box-shadow: inset 0 1px 2px rgba(28, 36, 48, 0.08);
}

.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #1f8a67);
  box-shadow: 0 6px 18px rgba(11, 110, 79, 0.22);
}

.progress-bar.is-pending {
  background: linear-gradient(90deg, var(--accent-2), #e2a64d);
  box-shadow: 0 6px 18px rgba(166, 102, 20, 0.18);
}

.progress-card .agri-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.progress-card .agri-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(28, 36, 48, 0.76);
}

.progress-card .agri-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(11, 110, 79, 0.72);
  transform: translateY(-50%);
}

.dashboard-summary {
  display: grid;
  gap: 12px;
}

.dashboard-summary .stack-card {
  height: 100%;
}

.dashboard-step {
  position: relative;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  align-items: start;
  padding: 6px 0;
}

.dashboard-step time {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(166, 102, 20, 0.1);
  border: 1px solid rgba(166, 102, 20, 0.14);
  box-shadow: 0 10px 20px rgba(166, 102, 20, 0.06);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #9b6115;
}

.dashboard-step::before {
  content: "";
  position: absolute;
  left: 123px;
  top: 19px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(166, 102, 20, 0.68);
  box-shadow: 0 0 0 6px rgba(166, 102, 20, 0.08);
}

.dashboard-step > div {
  position: relative;
  padding: 14px 16px 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(28, 36, 48, 0.08);
  box-shadow: 0 14px 28px rgba(28, 36, 48, 0.04);
}

.dashboard-step > div::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 18px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.9);
  border-left: 1px solid rgba(28, 36, 48, 0.08);
  border-bottom: 1px solid rgba(28, 36, 48, 0.08);
  transform: rotate(45deg);
}

.dashboard-step h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
  line-height: 1.3;
}

.dashboard-step p {
  margin: 0;
  color: rgba(28, 36, 48, 0.74);
  line-height: 1.68;
}

.topology-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.topology-board {
  display: grid;
  gap: 12px;
}

.topology-board-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(18, 79, 116, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(252, 254, 255, 0.97), rgba(239, 246, 251, 0.93));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.topology-summary-copy {
  display: grid;
  gap: 8px;
}

.topology-summary-copy strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 0.98rem;
}

.topology-summary-copy p {
  font-size: 0.88rem;
  line-height: 1.58;
}

.topology-board-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.1);
  color: #124f74;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.topology-board-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.topology-summary-step {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(28, 36, 48, 0.08);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
}

.topology-band {
  display: grid;
  grid-template-columns: minmax(168px, 168px) minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(253, 255, 255, 0.93);
  box-shadow: 0 12px 28px rgba(18, 79, 116, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.agri-dashboard-page .contact-strip {
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(252, 247, 239, 0.96), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(28, 36, 48, 0.08);
}

.agri-dashboard-page .contact-strip h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.agri-dashboard-page .contact-strip h2::before {
  content: "";
  display: inline-flex;
  width: 5px;
  height: 1em;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(166, 102, 20, 0.82), rgba(11, 110, 79, 0.4));
}

.agri-dashboard-page .contact-actions {
  gap: 12px;
  margin-top: 18px;
}

.topology-band-side {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px 12px;
  border-radius: 16px;
  min-height: 100%;
}

.topology-band-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 32px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.topology-band-side strong {
  font-size: 0.96rem;
  line-height: 1.36;
  max-width: 12ch;
}

.topology-band-body {
  display: grid;
  gap: 12px;
}

.topology-band-flow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.topology-band-flow::before {
  content: "↓";
  margin-right: 8px;
  font-size: 0.95rem;
}

.topology-node-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.topology-node {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 13px 13px 13px 17px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 36, 48, 0.08);
  overflow: hidden;
  min-height: 100%;
}

.topology-node-icon-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.topology-node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(28, 36, 48, 0.06);
  flex: 0 0 auto;
}

.topology-node-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topology-node-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(28, 36, 48, 0.06);
  position: relative;
  overflow: hidden;
}

.topology-node-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.25;
}

.topology-node-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-bottom: 7px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(28, 36, 48, 0.06);
  color: rgba(28, 36, 48, 0.62);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.topology-node strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 0.9rem;
}

.topology-node p {
  font-size: 0.9rem;
  line-height: 1.58;
}

.topology-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
}

.topology-band-connector {
  display: flex;
  justify-content: center;
  margin: -1px 0;
}

.topology-band-connector span {
  position: relative;
  width: 3px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 79, 116, 0.22), rgba(18, 79, 116, 0.62));
}

.topology-link-muted {
  color: rgba(28, 36, 48, 0.58);
}

.topology-band-connector span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(18, 79, 116, 0.18);
  transform: translateX(-50%);
}

.topology-band-connector span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(18, 79, 116, 0.56);
  border-bottom: 2px solid rgba(18, 79, 116, 0.56);
  transform: translateX(-50%) rotate(45deg);
}

.topology-layer-1 {
  border-color: rgba(11, 110, 79, 0.14);
  background: linear-gradient(180deg, rgba(243, 250, 247, 0.92), rgba(255, 255, 255, 0.9));
  position: relative;
}

.topology-layer-1 .topology-summary-step,
.topology-layer-1 .topology-band-index {
  background: rgba(11, 110, 79, 0.12);
  color: #0b6e4f;
}

.topology-layer-1 .topology-band-side {
  background: rgba(11, 110, 79, 0.06);
}

.topology-layer-1 .topology-band-flow {
  background: rgba(11, 110, 79, 0.08);
  color: #0b6e4f;
}

.topology-layer-1 .topology-node::before {
  background: rgba(11, 110, 79, 0.35);
}

.topology-layer-1 .topology-node-mark {
  color: #0b6e4f;
}

.topology-layer-1 .topology-node-icon {
  color: #0b6e4f;
}

.topology-layer-2 {
  border-color: rgba(18, 79, 116, 0.14);
  background: linear-gradient(180deg, rgba(245, 249, 253, 0.94), rgba(255, 255, 255, 0.9));
  position: relative;
}

.topology-layer-2 .topology-summary-step,
.topology-layer-2 .topology-band-index {
  background: rgba(18, 79, 116, 0.12);
  color: #124f74;
}

.topology-layer-2 .topology-band-side {
  background: rgba(18, 79, 116, 0.06);
}

.topology-layer-2 .topology-band-flow {
  background: rgba(18, 79, 116, 0.09);
  color: #124f74;
}

.topology-layer-2 .topology-node::before {
  background: rgba(18, 79, 116, 0.32);
}

.topology-layer-2 .topology-node-mark {
  color: #124f74;
}

.topology-layer-2 .topology-node-icon {
  color: #124f74;
}

.topology-layer-3 {
  border-color: rgba(166, 102, 20, 0.14);
  background: linear-gradient(180deg, rgba(252, 248, 242, 0.94), rgba(255, 255, 255, 0.9));
  position: relative;
}

.topology-layer-3 .topology-summary-step,
.topology-layer-3 .topology-band-index {
  background: rgba(166, 102, 20, 0.12);
  color: #9b6115;
}

.topology-layer-3 .topology-band-side {
  background: rgba(166, 102, 20, 0.06);
}

.topology-layer-3 .topology-band-flow {
  background: rgba(166, 102, 20, 0.1);
  color: #9b6115;
}

.topology-layer-3 .topology-node::before {
  background: rgba(166, 102, 20, 0.3);
}

.topology-layer-3 .topology-node-mark {
  color: #9b6115;
}

.topology-layer-3 .topology-node-icon {
  color: #9b6115;
}

.topology-band-note {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px dashed rgba(28, 36, 48, 0.1);
}

.topology-band-note p {
  color: var(--text);
  font-weight: 600;
  line-height: 1.58;
}

.topology-band-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topology-band-list li {
  position: relative;
  padding: 0 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.topology-band-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
}

.topology-layer-1 .topology-band-list li::before {
  background: rgba(11, 110, 79, 0.5);
}

.topology-layer-2 .topology-band-list li::before {
  background: rgba(18, 79, 116, 0.46);
}

.topology-layer-3 .topology-band-list li::before {
  background: rgba(166, 102, 20, 0.46);
}

.dashboard-next-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inventory-summary-grid,
.inventory-grid-two {
  display: grid;
  gap: 16px;
}

.inventory-brief-section {
  position: relative;
}

.inventory-legend-grid,
.inventory-highlight-strip {
  display: grid;
  gap: 16px;
}

.inventory-legend-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inventory-highlight-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.inventory-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.inventory-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.inventory-stat-card,
.inventory-detail-card {
  overflow: hidden;
}

.inventory-legend-card,
.inventory-highlight-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.inventory-legend-card h3,
.inventory-highlight-card strong {
  color: var(--text);
}

.inventory-legend-card h3 {
  margin: 8px 0 6px;
  font-size: 1rem;
}

.inventory-highlight-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 1.24rem;
}

.inventory-card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.inventory-highlight-card p {
  line-height: 1.55;
}

.inventory-highlight-card.is-pending {
  background: rgba(208, 140, 49, 0.1);
}

.inventory-legend-card.is-purchased {
  background: rgba(11, 110, 79, 0.08);
}

.inventory-legend-card.is-pending {
  background: rgba(208, 140, 49, 0.1);
}

.inventory-legend-card.is-reference {
  background: rgba(18, 79, 116, 0.08);
}

.inventory-legend-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.inventory-section {
  position: relative;
  border-width: 1px;
}

.inventory-section::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 6px;
  height: 58px;
  border-radius: 999px;
}

.inventory-section-purchased::before {
  background: linear-gradient(180deg, #0b6e4f, rgba(11, 110, 79, 0.22));
}

.inventory-section-pending::before {
  background: linear-gradient(180deg, #d08c31, rgba(208, 140, 49, 0.22));
}

.inventory-section-reference::before {
  background: linear-gradient(180deg, #124f74, rgba(18, 79, 116, 0.2));
}

.inventory-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.data-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin: 0 0 10px;
  padding: 0 2px;
}

.data-panel-head h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  color: var(--text);
}

.data-panel-head p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.data-panel-head-compact {
  margin-top: 8px;
}

.data-panel-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.data-panel-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.08);
  color: #124f74;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.report-table-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(11, 110, 79, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(250, 245, 237, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.report-table-panel-pending {
  border-color: rgba(208, 140, 49, 0.14);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.84), rgba(251, 244, 233, 0.96));
}

.report-table-panel-reference {
  border-color: rgba(18, 79, 116, 0.14);
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.82), rgba(243, 247, 252, 0.96));
}

.report-table-panel-sectioned {
  padding-top: 14px;
}

.report-section-kicker {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 14px;
}

.report-section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(18, 79, 116, 0.12);
  color: #124f74;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-section-copy {
  flex: 1;
}

.report-section-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1rem;
}

.report-section-copy p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.inventory-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}

.inventory-table thead {
  background: rgba(11, 110, 79, 0.08);
}

.inventory-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(235, 245, 240, 0.96);
  backdrop-filter: blur(8px);
}

.inventory-table th,
.inventory-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.inventory-table th {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.inventory-table td {
  color: var(--muted);
  line-height: 1.6;
}

.inventory-table td:first-child {
  color: var(--text);
  font-weight: 700;
}

.inventory-table td:first-child .file-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #0d6b57;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 107, 87, 0.22);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.inventory-table td:first-child .file-link-name {
  min-width: 0;
}

.inventory-table td:first-child .file-link-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(13, 107, 87, 0.1);
  color: #0d6b57;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.inventory-table td:first-child .file-link-preview.is-office {
  background: rgba(31, 92, 163, 0.1);
  color: #1f5ca3;
}

.inventory-table td:first-child .file-link:hover {
  color: #084b3d;
  border-color: rgba(13, 107, 87, 0.48);
  transform: translateY(-1px);
}

.inventory-table td:first-child .file-link.is-loading {
  opacity: 0.72;
  cursor: progress;
}

.inventory-table td:first-child .file-link:focus-visible {
  outline: 2px solid rgba(13, 107, 87, 0.28);
  outline-offset: 3px;
}

.inventory-table td:nth-child(2) {
  color: rgba(28, 36, 48, 0.88);
}

.inventory-table-structured .col-module {
  width: 13%;
}

.inventory-table-structured .col-system {
  width: 17%;
}

.inventory-table-structured .col-quantity {
  width: 25%;
}

.inventory-table-structured .col-money {
  width: 12%;
}

.inventory-table-structured .col-source {
  width: 19%;
}

.inventory-table-structured .col-status {
  width: 12%;
}

.inventory-table-structured .col-note {
  width: 17%;
}

.inventory-table-structured .col-note-wide {
  width: 44%;
}

.inventory-table-structured .col-file {
  width: 28%;
}

.inventory-table-structured .col-name {
  width: 28%;
}

.inventory-table-structured .col-model {
  width: 28%;
}

.inventory-table-structured .col-qty {
  width: 10%;
}

.inventory-table-structured .col-unit {
  width: 14%;
}

.inventory-table tbody tr:last-child td {
  border-bottom: none;
}

.inventory-table tbody tr:nth-child(even) {
  background: rgba(28, 36, 48, 0.02);
}

.inventory-table tbody td {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.inventory-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.56);
}

.inventory-group-row td {
  padding: 0;
  border-bottom: 1px solid rgba(11, 110, 79, 0.12);
  background: rgba(235, 245, 240, 0.92);
}

.inventory-group-cell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-left: 5px solid rgba(11, 110, 79, 0.35);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.45);
}

.inventory-group-cell strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.inventory-group-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inventory-group-cell span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}

.inventory-subtotal-row td {
  font-weight: 700;
  color: var(--text);
  background: rgba(11, 110, 79, 0.04);
}

.inventory-group-body td:first-child,
.inventory-subtotal-row td:first-child {
  position: relative;
}

.inventory-group-body td:first-child::before,
.inventory-subtotal-row td:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 999px;
  background: rgba(11, 110, 79, 0.18);
}

.inventory-group-gate td {
  background: rgba(11, 110, 79, 0.045);
}

.inventory-group-gate .inventory-group-cell {
  border-left-color: #0b6e4f;
  background: linear-gradient(90deg, rgba(11, 110, 79, 0.1), rgba(255, 255, 255, 0.35));
}

.inventory-group-gate .inventory-group-cell span {
  color: #0b6e4f;
}

.inventory-group-gate .inventory-group-index {
  color: #0b6e4f;
}

.inventory-group-gate-row td:first-child::before,
.inventory-subtotal-row.inventory-group-gate td:first-child::before {
  background: rgba(11, 110, 79, 0.36);
}

.inventory-group-monitor td {
  background: rgba(18, 79, 116, 0.045);
}

.inventory-group-monitor .inventory-group-cell {
  border-left-color: #124f74;
  background: linear-gradient(90deg, rgba(18, 79, 116, 0.11), rgba(255, 255, 255, 0.35));
}

.inventory-group-monitor .inventory-group-cell span {
  color: #124f74;
}

.inventory-group-monitor .inventory-group-index {
  color: #124f74;
}

.inventory-group-monitor-row td:first-child::before,
.inventory-subtotal-row.inventory-group-monitor td:first-child::before {
  background: rgba(18, 79, 116, 0.34);
}

.inventory-group-pest td {
  background: rgba(176, 110, 18, 0.05);
}

.inventory-group-pest .inventory-group-cell {
  border-left-color: #a56713;
  background: linear-gradient(90deg, rgba(165, 103, 19, 0.12), rgba(255, 255, 255, 0.35));
}

.inventory-group-pest .inventory-group-cell span {
  color: #a56713;
}

.inventory-group-pest .inventory-group-index {
  color: #a56713;
}

.inventory-group-pest-row td:first-child::before,
.inventory-subtotal-row.inventory-group-pest td:first-child::before {
  background: rgba(165, 103, 19, 0.34);
}

.inventory-group-weather td {
  background: rgba(23, 126, 110, 0.045);
}

.inventory-group-weather .inventory-group-cell {
  border-left-color: #177e6e;
  background: linear-gradient(90deg, rgba(23, 126, 110, 0.12), rgba(255, 255, 255, 0.35));
}

.inventory-group-weather .inventory-group-cell span {
  color: #177e6e;
}

.inventory-group-weather .inventory-group-index {
  color: #177e6e;
}

.inventory-group-weather-row td:first-child::before,
.inventory-subtotal-row.inventory-group-weather td:first-child::before {
  background: rgba(23, 126, 110, 0.34);
}

.inventory-group-soil td {
  background: rgba(126, 87, 44, 0.05);
}

.inventory-group-soil .inventory-group-cell {
  border-left-color: #7e572c;
  background: linear-gradient(90deg, rgba(126, 87, 44, 0.12), rgba(255, 255, 255, 0.35));
}

.inventory-group-soil .inventory-group-cell span {
  color: #7e572c;
}

.inventory-group-soil .inventory-group-index {
  color: #7e572c;
}

.inventory-group-soil-row td:first-child::before,
.inventory-subtotal-row.inventory-group-soil td:first-child::before {
  background: rgba(126, 87, 44, 0.32);
}

.inventory-group-water td {
  background: rgba(27, 104, 158, 0.045);
}

.inventory-group-water .inventory-group-cell {
  border-left-color: #1b689e;
  background: linear-gradient(90deg, rgba(27, 104, 158, 0.12), rgba(255, 255, 255, 0.35));
}

.inventory-group-water .inventory-group-cell span {
  color: #1b689e;
}

.inventory-group-water .inventory-group-index {
  color: #1b689e;
}

.inventory-group-water-row td:first-child::before,
.inventory-subtotal-row.inventory-group-water td:first-child::before {
  background: rgba(27, 104, 158, 0.34);
}

.inventory-money {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(11, 110, 79, 0.1);
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.inventory-money.is-total {
  background: rgba(208, 140, 49, 0.16);
  color: #8a5410;
}

.inventory-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.inventory-badge.is-good {
  background: rgba(11, 110, 79, 0.1);
  color: var(--accent);
}

.inventory-badge.is-warn {
  background: rgba(208, 140, 49, 0.14);
  color: #8a5410;
}

.inventory-badge.is-reference {
  background: rgba(18, 79, 116, 0.12);
  color: #124f74;
}

.inventory-badge.is-total {
  background: rgba(28, 36, 48, 0.08);
  color: var(--text);
}

.inventory-total-row td {
  color: var(--text);
  font-weight: 800;
  background: rgba(208, 140, 49, 0.08);
}

.inventory-kpis .kpi-card strong {
  font-size: 1.28rem;
}

@media (max-width: 980px) {
  .hero,
  .about-grid .about-content,
  .two-column,
  .project-grid,
  .contact-strip {
    grid-template-columns: 1fr;
    display: grid;
  }

  .agriculture-page .hero,
  .suite-switch,
  .project-suite-tabs,
  .agri-brief-grid,
  .agri-pillar-grid,
  .agri-status-grid,
  .agri-breakdown-grid,
  .agri-route-grid,
  .agri-findings-grid,
  .agri-phase-grid,
  .agri-source-grid,
  .inventory-summary-grid,
  .inventory-grid-two,
  .inventory-legend-grid,
  .inventory-highlight-strip,
  .dashboard-kpi-grid,
  .dashboard-progress-grid,
  .topology-grid,
  .dashboard-next-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .vla-track-grid,
  .vla-direction-grid,
  .vla-source-grid,
  .vla-two-column,
  .vla-roadmap-mini,
  .vla-principle-grid,
  .vla-figure-notes,
  .vla-experiment-grid,
  .vla-result-grid,
  .vla-stage-grid,
  .vla-kpi-grid {
    grid-template-columns: 1fr;
  }

  .vla-architecture-shell {
    grid-template-columns: 1fr;
  }

  .vla-result-hero {
    grid-template-columns: 1fr;
  }

  .vla-summary-list,
  .vla-source-list {
    grid-template-columns: 1fr;
  }

  .vla-architecture-bridge::before,
  .vla-architecture-bridge::after {
    display: none;
  }

  .vla-timeline-item {
    grid-template-columns: 1fr;
  }

  .project-suite-header {
    align-items: start;
    flex-direction: column;
  }

  .community-subgrid {
    grid-template-columns: 1fr;
  }

  .page-role-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .cover-headline-row {
    gap: 10px;
  }

  .data-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .data-panel-metrics {
    justify-content: flex-start;
  }

  .inventory-group-cell {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-section-kicker {
    flex-direction: column;
  }

  .topology-board-summary,
  .topology-band {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .topology-board-summary {
    display: grid;
  }

  .topology-board-steps,
  .topology-node-grid {
    justify-content: flex-start;
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 24px;
    align-items: start;
    flex-direction: column;
  }

  .header-tools {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav > a,
  .nav-dropdown > summary {
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    font-size: 0.88rem;
  }

  .nav-dropdown {
    width: auto;
    flex: 0 0 auto;
  }

  .nav-dropdown summary {
    width: auto;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-overview,
  .feature-snapshot,
  .feature-pipeline-card,
  .feature-highlights,
  .feature-gallery {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-links {
    grid-template-columns: 1fr 1fr;
  }

  .future-paper-grid {
    grid-template-columns: 1fr;
  }

  .page-footer-nav {
    grid-template-columns: 1fr;
  }

  .agri-showcase-card {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-card-large {
    grid-row: auto;
  }

  .media-card-overview,
  .media-card-chart,
  .media-card-diagram,
  .media-card-trajectory,
  .media-card-portrait {
    grid-column: auto;
    grid-row: auto;
  }

  .media-card-chart,
  .media-card-diagram,
  .media-card-trajectory,
  .media-card-portrait {
    aspect-ratio: auto;
  }

  .media-card-overview .media-illustration {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 14px 12px 40px;
  }

  .section,
  .hero-copy,
  .hero-card {
    padding: 18px;
  }

  .header-tools {
    gap: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy,
  .hero-card {
    padding: 20px;
  }

  .inline-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-tools {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 2.45rem;
    line-height: 1.02;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-text {
    margin-top: 12px;
    font-size: 0.93rem;
    line-height: 1.68;
  }

  .hero-actions,
  .contact-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .lang-switch {
    align-self: flex-start;
  }

  .page-trail {
    gap: 6px;
    font-size: 0.82rem;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-card {
    padding: 18px 16px;
  }

  .timeline-card::before {
    display: none;
  }

  .dashboard-step::before {
    display: none;
  }

  .dashboard-step time {
    justify-content: flex-start;
    width: fit-content;
    min-height: 34px;
    padding: 6px 10px;
  }

  .dashboard-step > div {
    padding: 14px 14px 14px 16px;
  }

  .dashboard-step > div::before {
    display: none;
  }

  .publication-subgrid {
    grid-template-columns: 1fr;
  }

  .feature-links {
    grid-template-columns: 1fr;
  }

  .vla-entry-focus {
    padding: 16px 18px;
    border-radius: 20px;
  }

  .system-entry-focus {
    padding: 16px 18px;
    border-radius: 20px;
  }

  .system-entry-focus-tags span,
  .vla-entry-focus-tags span {
    width: 100%;
    justify-content: center;
  }

  .future-paper-card {
    padding: 16px;
  }

  .publication-card,
  .project-card,
  .content-card {
    padding: 16px;
  }

  .project-card {
    min-height: 0;
  }

  .button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .quick-links {
    gap: 8px;
    margin-top: 16px;
    font-size: 0.86rem;
  }

  .feature-links a {
    min-height: 38px;
    font-size: 0.82rem;
  }

  .filter-chip {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .card-state-badge,
  .card-state-track,
  .future-paper-status,
  .future-paper-track {
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .card-action-primary,
  .card-action-secondary {
    display: grid;
    grid-template-columns: 1fr;
  }

  .action-link {
    width: 100%;
    min-height: 36px;
    padding: 0 11px;
  }

  .stack-overview {
    grid-template-columns: 1fr;
  }

  .experience-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .experience-card {
    padding: 16px;
    border-radius: 20px;
  }

  .experience-card-head {
    align-items: flex-start;
  }

  .vla-track-card,
  .vla-direction-card,
  .vla-stage-card,
  .vla-kpi-card {
    padding: 16px;
    border-radius: 20px;
  }

  .honors-showcase-head {
    flex-direction: column;
  }

  .honors-media-topline {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .honors-gallery {
    grid-template-columns: 1fr;
  }

  .agri-showcase-card {
    padding: 18px;
  }

  .contracts-gate-shell {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .contracts-gate-input {
    min-height: 46px;
  }

  .agri-entry-grid {
    grid-template-columns: 1fr;
  }

  .gallery-heading {
    align-items: start;
    flex-direction: column;
  }

  .media-label-row {
    top: 10px;
    left: 10px;
    right: 10px;
    flex-wrap: wrap;
    justify-content: start;
  }

  .media-illustration {
    padding: 10px;
  }

  .media-card-overview .media-illustration,
  .media-card-chart .media-illustration,
  .media-card-diagram .media-illustration,
  .media-card-trajectory .media-illustration,
  .media-card-portrait .media-illustration {
    aspect-ratio: 4 / 3;
  }

  .media-card-trajectory {
    min-height: 0;
  }

  .media-load-button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.8rem;
  }
}

/* Dual_Arm_UR5 final mobile guard */
@media (max-width: 680px) {
  .dual-ur5-body {
    overflow-x: hidden;
  }

  .dual-ur5-page {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding-inline: 12px;
  }

  .site-header.dual-site-header,
  .dual-hero,
  .dual-command-panel,
  .dual-resume-strip,
  .dual-reader-path,
  .dual-band {
    width: 100%;
    max-width: 100%;
  }

  .dual-hero {
    padding-inline: 16px;
  }

  .dual-hero-content,
  .dual-command-panel,
  .dual-resume-strip article,
  .dual-reader-path a {
    min-width: 0;
    overflow: hidden;
  }

  .dual-hero h1,
  .dual-hero-text,
  .dual-command-panel p,
  .dual-status-line strong {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .dual-hero h1 {
    font-size: clamp(1.78rem, 7.6vw, 2.08rem);
  }

  .dual-hero h1 .dual-title-code {
    font-size: clamp(1.68rem, 7.2vw, 1.94rem);
  }

  .dual-hero-text,
  .dual-command-panel p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .dual-hero-tags span,
  .dual-panel-tags span {
    max-width: 100%;
    white-space: normal;
  }

  .dual-hero-flow span {
    flex: 1 1 calc(50% - 8px);
  }

  .dual-stat-grid {
    grid-template-columns: 1fr;
  }

  .dual-terminal-body {
    font-size: 0.82rem;
  }
}

/* Dual_Arm_UR5 last-mile mobile containment */
@media (max-width: 680px) {
  html,
  body,
  .dual-ur5-body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .dual-ur5-page {
    width: 100%;
    max-width: 100vw;
    padding-inline: 0;
    overflow-x: hidden;
  }

  .site-header.dual-site-header,
  .dual-hero,
  .dual-resume-strip,
  .dual-reader-path,
  .dual-band {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .dual-hero {
    display: block;
    padding: 96px 16px 20px;
  }

  .dual-hero-content,
  .dual-command-panel {
    width: calc(100vw - 96px) !important;
    max-width: calc(100vw - 96px) !important;
    overflow: visible;
    transform: scale(0.9);
    transform-origin: left top;
  }

  .dual-command-panel {
    margin-top: -12px;
  }

  .dual-hero h1,
  .dual-hero h1 span,
  .dual-hero-text,
  .dual-hero-subtext,
  .dual-command-panel p,
  .dual-status-line strong {
    width: calc(100vw - 104px) !important;
    max-width: calc(100vw - 104px) !important;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .dual-hero-flow,
  .dual-hero-tags,
  .dual-panel-tags,
  .dual-hero-actions {
    width: calc(100vw - 96px) !important;
    max-width: calc(100vw - 96px) !important;
  }

  .dual-hero-flow,
  .dual-hero-tags {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dual-hero-flow span,
  .dual-hero-tags span,
  .dual-panel-tags span,
  .dual-hero-actions .button {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .dual-hero-actions .button {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* Dual_Arm_UR5 final reviewer override */
.dual-code-map {
  grid-template-columns: minmax(180px, 0.24fr) minmax(0, 1fr) !important;
  gap: 14px !important;
}

.dual-code-map-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.dual-code-map-grid div {
  min-width: 0 !important;
  overflow: hidden !important;
}

.dual-code-map-grid code {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.74rem !important;
}

.dual-system-architecture,
.dual-training-media {
  display: block;
}

.dual-training-media {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 980px) {
  .dual-code-map,
  .dual-code-map-grid,
  .dual-training-media {
    grid-template-columns: 1fr !important;
  }
}
*** End of File

/* Dual_Arm_UR5 absolute final overrides - keep at file end */
.dual-stack-band {
  border-radius: var(--dual-radius-section, 30px) !important;
  border-color: rgba(19, 33, 39, 0.1) !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(103, 216, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 248, 244, 0.9)),
    #fbf7ef !important;
  box-shadow: 0 24px 72px rgba(19, 33, 39, 0.08) !important;
}

.dual-skill-matrix {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(16px, 2vw, 22px) !important;
}

.dual-skill-matrix article {
  min-width: 0 !important;
  padding: clamp(20px, 2.3vw, 30px) !important;
  border: 1px solid rgba(19, 33, 39, 0.1) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.92)) !important;
  box-shadow: 0 18px 46px rgba(19, 33, 39, 0.08) !important;
}

.dual-skill-matrix article > span {
  display: inline-flex !important;
  margin-bottom: 12px !important;
  color: #087457 !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.dual-skill-matrix h3 {
  margin: 0 0 14px !important;
  color: #132127 !important;
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
}

.dual-skill-matrix p {
  margin: 16px 0 0 !important;
  color: #5a686d !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

.dual-system-diagram {
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  border-color: rgba(11, 110, 79, 0.22) !important;
  background:
    linear-gradient(rgba(11, 110, 79, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 79, 0.04) 1px, transparent 1px),
    rgba(255, 255, 214, 0.72) !important;
  background-size: 42px 42px !important;
}

.dual-control-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 760px !important;
}

.dual-svg-group {
  fill: rgba(255, 255, 214, 0.52) !important;
  stroke: rgba(166, 164, 82, 0.92) !important;
  stroke-width: 1.2 !important;
}

.dual-svg-node {
  fill: #f0ebff !important;
  stroke: rgba(121, 91, 255, 0.58) !important;
  stroke-width: 1.7 !important;
}

.dual-svg-line {
  fill: none !important;
  stroke: #203238 !important;
  stroke-width: 2.1 !important;
  marker-end: url(#dualControlArrow) !important;
}

.dual-svg-main,
.dual-svg-group-title,
.dual-svg-label {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
}

.dual-svg-main {
  fill: #16252b !important;
  font-size: 20px !important;
  font-weight: 900 !important;
}

.dual-svg-group-title {
  fill: #203238 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.dual-svg-label {
  fill: #36484f !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.dual-evidence-grid {
  display: none !important;
}

.dual-training-band {
  padding-block: clamp(46px, 5vw, 72px) !important;
}

.dual-training-grid {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr) !important;
  gap: clamp(18px, 2vw, 26px) !important;
  align-items: stretch !important;
}

.dual-training-grid .dual-state-panel {
  grid-column: 1 / -1 !important;
}

.dual-training-media {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 26px) !important;
  margin-top: clamp(22px, 3vw, 34px) !important;
}

.dual-training-media figure {
  min-height: 320px !important;
  border-radius: 24px !important;
}

.dual-training-media figure:nth-child(3) {
  grid-column: 1 / -1 !important;
  min-height: 390px !important;
}

.dual-deploy-layers {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: clamp(22px, 3vw, 34px) !important;
}

.dual-deploy-layers article {
  min-height: 0 !important;
}

@media (max-width: 980px) {
  .dual-skill-matrix,
  .dual-training-grid,
  .dual-training-media,
  .dual-deploy-layers {
    grid-template-columns: 1fr !important;
  }

  .dual-training-grid .dual-state-panel,
  .dual-training-media figure:nth-child(3) {
    grid-column: auto !important;
  }

  .dual-system-diagram {
    aspect-ratio: auto !important;
  }

  .dual-control-svg {
    min-height: 680px !important;
  }
}

@media (max-width: 680px) {
  .dual-system-diagram {
    overflow-x: auto !important;
  }

  .dual-control-svg {
    width: 760px !important;
    max-width: none !important;
    min-height: 570px !important;
  }

  .dual-training-media figure,
  .dual-training-media figure:nth-child(3) {
    min-height: 260px !important;
  }
}

/* Dual_Arm_UR5 absolute final overrides - keep at file end */
.dual-stack-band {
  border-radius: var(--dual-radius-section, 30px) !important;
  border-color: rgba(19, 33, 39, 0.1) !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(103, 216, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 248, 244, 0.9)),
    #fbf7ef !important;
  box-shadow: 0 24px 72px rgba(19, 33, 39, 0.08) !important;
}

.dual-skill-matrix {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(16px, 2vw, 22px) !important;
}

.dual-skill-matrix article {
  min-width: 0 !important;
  padding: clamp(20px, 2.3vw, 30px) !important;
  border: 1px solid rgba(19, 33, 39, 0.1) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.92)) !important;
  box-shadow: 0 18px 46px rgba(19, 33, 39, 0.08) !important;
}

.dual-skill-matrix article > span {
  display: inline-flex !important;
  margin-bottom: 12px !important;
  color: #087457 !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.dual-skill-matrix h3 {
  margin: 0 0 14px !important;
  color: #132127 !important;
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
}

.dual-skill-matrix p {
  margin: 16px 0 0 !important;
  color: #5a686d !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

.dual-system-diagram {
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  border-color: rgba(11, 110, 79, 0.22) !important;
  background:
    linear-gradient(rgba(11, 110, 79, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 79, 0.04) 1px, transparent 1px),
    rgba(255, 255, 214, 0.72) !important;
  background-size: 42px 42px !important;
}

.dual-control-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 760px !important;
}

.dual-svg-group {
  fill: rgba(255, 255, 214, 0.52) !important;
  stroke: rgba(166, 164, 82, 0.92) !important;
  stroke-width: 1.2 !important;
}

.dual-svg-node {
  fill: #f0ebff !important;
  stroke: rgba(121, 91, 255, 0.58) !important;
  stroke-width: 1.7 !important;
}

.dual-svg-line {
  fill: none !important;
  stroke: #203238 !important;
  stroke-width: 2.1 !important;
  marker-end: url(#dualControlArrow) !important;
}

.dual-svg-main,
.dual-svg-group-title,
.dual-svg-label {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
}

.dual-svg-main {
  fill: #16252b !important;
  font-size: 20px !important;
  font-weight: 900 !important;
}

.dual-svg-group-title {
  fill: #203238 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.dual-svg-label {
  fill: #36484f !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.dual-evidence-grid {
  display: none !important;
}

.dual-training-band {
  padding-block: clamp(46px, 5vw, 72px) !important;
}

.dual-training-grid {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr) !important;
  gap: clamp(18px, 2vw, 26px) !important;
  align-items: stretch !important;
}

.dual-training-grid .dual-state-panel {
  grid-column: 1 / -1 !important;
}

.dual-training-media {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 26px) !important;
  margin-top: clamp(22px, 3vw, 34px) !important;
}

.dual-training-media figure {
  min-height: 320px !important;
  border-radius: 24px !important;
}

.dual-training-media figure:nth-child(3) {
  grid-column: 1 / -1 !important;
  min-height: 390px !important;
}

.dual-deploy-layers {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: clamp(22px, 3vw, 34px) !important;
}

.dual-deploy-layers article {
  min-height: 0 !important;
}

@media (max-width: 980px) {
  .dual-skill-matrix,
  .dual-training-grid,
  .dual-training-media,
  .dual-deploy-layers {
    grid-template-columns: 1fr !important;
  }

  .dual-training-grid .dual-state-panel,
  .dual-training-media figure:nth-child(3) {
    grid-column: auto !important;
  }

  .dual-system-diagram {
    aspect-ratio: auto !important;
  }

  .dual-control-svg {
    min-height: 680px !important;
  }
}

@media (max-width: 680px) {
  .dual-system-diagram {
    overflow-x: auto !important;
  }

  .dual-control-svg {
    width: 760px !important;
    max-width: none !important;
    min-height: 570px !important;
  }

  .dual-training-media figure,
  .dual-training-media figure:nth-child(3) {
    min-height: 260px !important;
  }
}

/* Dual_Arm_UR5 final requested layout pass */
.dual-stack-band {
  border-radius: var(--dual-radius-section, 30px);
  border-color: rgba(19, 33, 39, 0.1);
  background:
    radial-gradient(circle at 88% 12%, rgba(103, 216, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 248, 244, 0.9)),
    #fbf7ef;
  box-shadow: 0 24px 72px rgba(19, 33, 39, 0.08);
}

.dual-skill-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.dual-skill-matrix article {
  min-width: 0;
  padding: clamp(20px, 2.3vw, 30px);
  border: 1px solid rgba(19, 33, 39, 0.1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.92));
  box-shadow: 0 18px 46px rgba(19, 33, 39, 0.08);
}

.dual-skill-matrix article > span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #087457;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dual-skill-matrix h3 {
  margin: 0 0 14px;
  color: #132127;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.dual-skill-matrix p {
  margin: 16px 0 0;
  color: #5a686d;
  font-size: 1rem;
  line-height: 1.72;
}

.dual-skill-matrix .dual-stack-tags {
  margin-top: 0;
}

.dual-system-architecture {
  padding: clamp(24px, 3vw, 36px) !important;
}

.dual-system-head {
  margin-bottom: 22px !important;
}

.dual-system-diagram {
  min-height: 920px !important;
  border-color: rgba(11, 110, 79, 0.22) !important;
  background:
    linear-gradient(rgba(11, 110, 79, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 79, 0.04) 1px, transparent 1px),
    rgba(255, 255, 214, 0.72) !important;
  background-size: 42px 42px;
}

.dual-system-hardware {
  top: 48px !important;
}

.dual-system-driver {
  top: 190px !important;
}

.dual-system-group {
  top: 330px !important;
  bottom: 42px !important;
}

.dual-system-group-title {
  top: 18px !important;
}

.dual-system-diamond {
  left: 82px !important;
  top: 118px !important;
  width: 132px !important;
  height: 132px !important;
  padding: 18px !important;
}

.dual-system-policy {
  left: 78px !important;
  top: 315px !important;
  width: 230px !important;
}

.dual-system-map {
  left: 56px !important;
  top: 495px !important;
  width: 280px !important;
}

.dual-system-fsm {
  bottom: 58px !important;
  width: 220px !important;
}

.label-feedback {
  top: 145px !important;
}

.label-execute {
  top: 145px !important;
}

.label-joint {
  left: 116px !important;
  top: 470px !important;
}

.label-observation {
  left: 88px !important;
  top: 610px !important;
}

.label-action {
  left: 150px !important;
  top: 720px !important;
}

.label-smooth {
  left: 86px !important;
  top: 842px !important;
}

.label-left {
  left: 360px !important;
  top: 650px !important;
}

.label-right {
  right: 220px !important;
  top: 650px !important;
}

.dual-evidence-grid {
  display: none !important;
}

.dual-training-band {
  padding-block: clamp(56px, 6vw, 84px) !important;
}

.dual-training-grid {
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr) !important;
  gap: clamp(18px, 2vw, 26px) !important;
  align-items: stretch !important;
}

.dual-training-grid .dual-state-panel {
  grid-column: 1 / -1;
}

.dual-training-media {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 26px) !important;
  margin-top: clamp(22px, 3vw, 34px) !important;
}

.dual-training-media figure {
  min-height: 360px !important;
  border-radius: 24px !important;
}

.dual-training-media figure:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 440px !important;
}

.dual-deploy-layers {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: clamp(22px, 3vw, 34px) !important;
}

@media (max-width: 980px) {
  .dual-skill-matrix,
  .dual-training-grid,
  .dual-training-media,
  .dual-deploy-layers {
    grid-template-columns: 1fr !important;
  }

  .dual-training-grid .dual-state-panel,
  .dual-training-media figure:nth-child(3) {
    grid-column: auto !important;
  }

  .dual-system-diagram {
    min-height: 980px !important;
  }
}

@media (max-width: 680px) {
  .dual-system-diagram {
    min-height: 1040px !important;
  }

  .dual-system-node,
  .dual-system-label {
    font-size: 0.78rem !important;
  }

  .label-left,
  .label-right {
    max-width: 220px;
  }

  .dual-training-media figure,
  .dual-training-media figure:nth-child(3) {
    min-height: 260px !important;
  }
}

/* Dual_Arm_UR5 stable SVG control-chain diagram */
.dual-system-diagram {
  min-height: 0 !important;
  aspect-ratio: 4 / 3;
  overflow: hidden !important;
}

.dual-control-svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 780px;
}

.dual-svg-group {
  fill: rgba(255, 255, 214, 0.52);
  stroke: rgba(166, 164, 82, 0.92);
  stroke-width: 1.2;
}

.dual-svg-node {
  fill: #f0ebff;
  stroke: rgba(121, 91, 255, 0.58);
  stroke-width: 1.7;
  filter: url(#dualControlShadow);
}

.dual-svg-line {
  fill: none;
  stroke: #203238;
  stroke-width: 2.1;
  marker-end: url(#dualControlArrow);
}

.dual-svg-main,
.dual-svg-group-title,
.dual-svg-label {
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.dual-svg-main {
  fill: #16252b;
  font-size: 20px;
  font-weight: 900;
}

.dual-svg-group-title {
  fill: #203238;
  font-size: 18px;
  font-weight: 900;
}

.dual-svg-label {
  fill: #36484f;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .dual-system-diagram {
    aspect-ratio: auto;
  }

  .dual-control-svg {
    min-height: 680px;
  }
}

@media (max-width: 680px) {
  .dual-system-diagram {
    overflow-x: auto !important;
  }

  .dual-control-svg {
    width: 760px;
    max-width: none;
    min-height: 570px;
  }
}

/* Dual_Arm_UR5 final architecture readability pass */
.dual-system-diagram {
  min-height: 680px !important;
}

.dual-system-group {
  top: 230px !important;
  bottom: 26px !important;
  height: auto !important;
}

.dual-system-group-title {
  top: 14px !important;
  padding: 0 8px;
  background: rgba(255, 255, 214, 0.9);
}

.dual-system-diamond {
  color: #18232a !important;
  transform: none !important;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.dual-system-diamond::before {
  content: none !important;
}

.label-joint {
  left: 116px !important;
  top: 300px !important;
}

.label-observation {
  left: 82px !important;
  top: 458px !important;
}

.label-action {
  left: 132px !important;
  top: 572px !important;
}

.label-smooth {
  left: 82px !important;
  top: 640px !important;
}

.label-left,
.label-right {
  max-width: 330px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.label-left {
  left: 324px !important;
  top: 530px !important;
}

.label-right {
  right: 190px !important;
  top: 530px !important;
}

.dual-code-map {
  overflow: hidden !important;
}

.dual-code-map-grid {
  align-items: stretch !important;
}

.dual-code-map-grid div {
  padding: 16px !important;
}

/* Dual_Arm_UR5 scheme A final override */
.dual-hero {
  min-height: clamp(560px, 68vh, 760px);
}

.dual-framework-showcase {
  grid-template-columns: 1fr !important;
}

.dual-framework-card-main {
  grid-row: auto !important;
  min-height: clamp(420px, 48vw, 620px);
}

.dual-framework-card-main img {
  object-fit: contain;
}

.dual-career-band .dual-section-head,
.dual-engineering-band .dual-section-head,
.dual-training-band .dual-section-head,
#architecture .dual-section-head {
  margin-bottom: clamp(20px, 2.8vw, 34px);
}

@media (max-width: 680px) {
  .dual-hero {
    min-height: auto;
  }

  .dual-framework-card-main {
    min-height: 300px;
  }
}

/* Dual_Arm_UR5 reviewer pass: engineering architecture and media */
.dual-system-architecture {
  margin: 0 0 clamp(24px, 3vw, 36px);
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(19, 33, 39, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 238, 0.72), rgba(241, 255, 232, 0.68)),
    #fbfbe2;
  box-shadow: 0 22px 64px rgba(19, 33, 39, 0.08);
}

.dual-system-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
}

.dual-system-head span {
  color: #0b6e4f;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-system-head strong {
  color: #142026;
  font-size: clamp(1.28rem, 2vw, 1.7rem);
}

.dual-system-diagram {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(11, 110, 79, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 214, 0.68);
}

.dual-system-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 10px 16px;
  border: 1px solid rgba(121, 91, 255, 0.52);
  border-radius: 8px;
  color: #18232a;
  font-weight: 800;
  text-align: center;
  background: #f0ebff;
}

.dual-system-hardware {
  left: 50%;
  top: 42px;
  width: 230px;
  transform: translateX(-50%);
}

.dual-system-driver {
  left: 50%;
  top: 160px;
  width: 160px;
  transform: translateX(-50%);
}

.dual-system-group {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 24px;
  height: 420px;
  border: 1px solid rgba(183, 183, 89, 0.88);
  background: rgba(255, 255, 216, 0.7);
}

.dual-system-group-title {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  color: #1b2a30;
  font-size: 0.96rem;
  font-weight: 800;
}

.dual-system-diamond {
  left: 82px;
  top: 74px;
  width: 112px;
  height: 112px;
  transform: rotate(45deg);
}

.dual-system-diamond::before {
  content: "RL 控制节点";
  transform: rotate(-45deg);
}

.dual-system-diamond {
  color: transparent;
}

.dual-system-policy {
  left: 62px;
  top: 230px;
  width: 190px;
}

.dual-system-map {
  left: 40px;
  top: 340px;
  width: 236px;
}

.dual-system-fsm {
  left: 50%;
  bottom: 28px;
  width: 168px;
  transform: translateX(-50%);
}

.dual-system-label {
  position: absolute;
  z-index: 3;
  padding: 2px 5px;
  color: #142026;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.72);
}

.label-feedback { left: calc(50% - 170px); top: 126px; }
.label-execute { left: calc(50% + 38px); top: 126px; }
.label-joint { left: 110px; top: 292px; }
.label-observation { left: 82px; top: 402px; }
.label-action { left: 126px; top: 520px; }
.label-smooth { left: 82px; top: 602px; }
.label-left { left: 300px; top: 482px; }
.label-right { right: 180px; top: 482px; }

.dual-system-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dual-system-lines path {
  fill: none;
  stroke: #1b2a30;
  stroke-width: 1.4;
  marker-end: url(#dualFlowArrow);
}

.dual-code-map {
  grid-template-columns: minmax(180px, 0.24fr) minmax(0, 1fr) !important;
  gap: 14px;
}

.dual-code-map-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px;
}

.dual-code-map-grid div {
  min-height: 124px;
  min-width: 0;
  overflow: hidden;
}

.dual-code-map-grid code {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.74rem;
}

.dual-code-map-head strong {
  font-size: clamp(1.05rem, 1.5vw, 1.42rem);
  line-height: 1.22;
}

.dual-training-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.dual-training-media figure {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(19, 33, 39, 0.12);
  border-radius: 20px;
  background: #071215;
  box-shadow: 0 18px 46px rgba(19, 33, 39, 0.1);
}

.dual-training-media img,
.dual-training-media video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.dual-training-media figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #fff;
  background: rgba(6, 17, 20, 0.72);
  backdrop-filter: blur(10px);
}

.dual-training-media figcaption span {
  color: var(--dual-green);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dual-training-media figcaption strong {
  font-size: 0.96rem;
}

@media (max-width: 980px) {
  .dual-system-diagram {
    min-height: 720px;
  }

  .dual-code-map,
  .dual-code-map-grid,
  .dual-training-media {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 680px) {
  .dual-system-architecture {
    padding: 14px;
  }

  .dual-system-diagram {
    min-height: 780px;
  }

  .dual-system-group {
    left: 12px;
    right: 12px;
    height: 500px;
  }

  .dual-system-hardware,
  .dual-system-driver {
    width: 190px;
  }

  .dual-system-diamond {
    left: 38px;
  }

  .dual-system-policy,
  .dual-system-map {
    left: 28px;
    width: 210px;
  }

  .dual-system-fsm {
    width: 160px;
  }

  .dual-system-label {
    font-size: 0.76rem;
  }

  .label-left,
  .label-right {
    left: 26px;
    right: auto;
  }

  .label-right {
    top: 506px;
  }
}

/* Dual_Arm_UR5 scheme A: lean portfolio layout */
.dual-hero {
  min-height: clamp(560px, 68vh, 760px);
}

.dual-framework-showcase {
  grid-template-columns: 1fr;
}

.dual-framework-card-main {
  grid-row: auto;
  min-height: clamp(420px, 48vw, 620px);
}

.dual-framework-card-main img {
  object-fit: contain;
}

.dual-career-band .dual-section-head,
.dual-engineering-band .dual-section-head,
.dual-training-band .dual-section-head,
#architecture .dual-section-head {
  margin-bottom: clamp(20px, 2.8vw, 34px);
}

@media (max-width: 680px) {
  .dual-hero {
    min-height: auto;
  }

  .dual-framework-card-main {
    min-height: 300px;
  }
}

/* Dual_Arm_UR5 last-mile mobile containment */
@media (max-width: 680px) {
  html,
  body,
  .dual-ur5-body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .dual-ur5-page {
    width: 100%;
    max-width: 100vw;
    padding-inline: 0;
    overflow-x: hidden;
  }

  .site-header.dual-site-header,
  .dual-hero,
  .dual-resume-strip,
  .dual-reader-path,
  .dual-band {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .dual-hero {
    display: block;
    padding: 96px 16px 20px;
  }

  .dual-hero-content,
  .dual-command-panel {
    width: calc(100vw - 96px) !important;
    max-width: calc(100vw - 96px) !important;
    overflow: visible;
  }

  .dual-command-panel {
    margin-top: 26px;
  }

  .dual-hero h1,
  .dual-hero h1 span,
  .dual-hero-text,
  .dual-hero-subtext,
  .dual-command-panel p,
  .dual-status-line strong {
    width: calc(100vw - 104px) !important;
    max-width: calc(100vw - 104px) !important;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .dual-hero-flow,
  .dual-hero-tags,
  .dual-panel-tags,
  .dual-hero-actions {
    width: calc(100vw - 96px) !important;
    max-width: calc(100vw - 96px) !important;
  }

  .dual-hero-flow,
  .dual-hero-tags {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dual-hero-flow span,
  .dual-hero-tags span,
  .dual-panel-tags span,
  .dual-hero-actions .button {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .dual-hero-actions .button {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* Dual_Arm_UR5 portfolio evidence additions */
.dual-hero-subtext {
  max-width: 760px;
  margin: -8px 0 0;
  color: rgba(235, 248, 246, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.82;
}

.dual-summary-band,
.dual-evidence-band,
.dual-contribution-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--dual-radius-section);
  border: 1px solid var(--dual-edge);
  background:
    radial-gradient(circle at 84% 8%, rgba(103, 216, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(239, 250, 246, 0.9)),
    var(--dual-paper-solid);
  box-shadow: 0 24px 72px rgba(19, 33, 39, 0.08);
}

.dual-summary-band::before,
.dual-evidence-band::before,
.dual-contribution-band::before {
  content: "";
  position: absolute;
  left: clamp(22px, 4vw, 52px);
  right: clamp(22px, 4vw, 52px);
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dual-green), var(--dual-cyan), var(--dual-amber));
  opacity: 0.86;
}

.dual-summary-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.22fr);
  gap: clamp(18px, 2vw, 28px);
}

.dual-summary-card,
.dual-contribution-grid article {
  border: 1px solid rgba(19, 33, 39, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 249, 0.9)),
    #fff;
  box-shadow:
    0 18px 48px rgba(19, 33, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.dual-summary-card {
  padding: clamp(22px, 2.4vw, 32px);
}

.dual-summary-card > span,
.dual-contribution-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: #0b7c5a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dual-role-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.dual-role-list strong {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(11, 124, 90, 0.14);
  border-radius: 16px;
  color: var(--dual-text-main);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  background: rgba(89, 239, 174, 0.1);
}

.dual-capability-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.dual-capability-card li {
  position: relative;
  padding-left: 22px;
  color: var(--dual-text-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.dual-capability-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dual-green);
  box-shadow: 0 0 0 4px rgba(89, 239, 174, 0.16);
}

.dual-evidence-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(16px, 2vw, 24px);
}

.dual-evidence-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(19, 33, 39, 0.12);
  border-radius: 24px;
  background: #061114;
  box-shadow: 0 22px 58px rgba(6, 17, 20, 0.16);
}

.dual-evidence-large {
  grid-row: span 3;
  min-height: 560px;
}

.dual-evidence-card img,
.dual-evidence-card video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.dual-evidence-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(6, 17, 20, 0.72));
}

.dual-evidence-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #fff;
  background: rgba(6, 17, 20, 0.72);
  backdrop-filter: blur(12px);
}

.dual-evidence-card figcaption span {
  color: var(--dual-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-evidence-card figcaption strong {
  font-size: 1rem;
}

.dual-contribution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.dual-contribution-grid article {
  padding: clamp(22px, 2.2vw, 30px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.dual-contribution-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 110, 79, 0.26);
  box-shadow: 0 24px 70px rgba(19, 33, 39, 0.13);
}

.dual-contribution-grid h3 {
  margin: 14px 0 10px;
  color: var(--dual-text-main);
  font-size: clamp(1.14rem, 1.8vw, 1.34rem);
}

.dual-contribution-grid p {
  margin: 0;
  color: var(--dual-text-soft);
  font-size: 0.98rem;
  line-height: 1.72;
}

.dual-result-note {
  margin: clamp(18px, 2vw, 24px) 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(239, 177, 95, 0.28);
  border-radius: 18px;
  color: #48565c;
  line-height: 1.72;
  background: rgba(239, 177, 95, 0.12);
}

.dual-code-link {
  color: inherit;
  text-decoration: none;
}

.dual-code-link code {
  border-color: rgba(11, 124, 90, 0.22);
  background: rgba(89, 239, 174, 0.11);
}

.dual-code-link:focus-visible code,
.dual-code-link:hover code {
  color: #063f33;
  border-color: rgba(11, 124, 90, 0.36);
  background: rgba(89, 239, 174, 0.2);
}

@media (max-width: 980px) {
  .dual-summary-grid,
  .dual-evidence-showcase,
  .dual-contribution-grid {
    grid-template-columns: 1fr;
  }

  .dual-evidence-large {
    grid-row: auto;
    min-height: 360px;
  }

  .dual-evidence-card {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .dual-summary-band,
  .dual-evidence-band,
  .dual-contribution-band {
    border-radius: 24px;
  }

  .dual-hero-subtext,
  .dual-result-note,
  .dual-capability-card li,
  .dual-contribution-grid p {
    font-size: 0.94rem;
  }

  .dual-evidence-card,
  .dual-evidence-large {
    min-height: 260px;
  }

  .dual-evidence-card figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 680px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .dual-ur5-page,
  .dual-hero,
  .dual-hero-content,
  .dual-command-panel,
  .dual-summary-card,
  .dual-evidence-card,
  .dual-contribution-grid article {
    box-sizing: border-box;
    max-width: 100%;
  }

  .dual-ur5-page {
    padding-inline: 0;
  }

  .site-header.dual-site-header,
  .dual-hero,
  .dual-resume-strip,
  .dual-reader-path,
  .dual-band {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-left: auto;
    margin-right: auto;
  }

  .dual-hero {
    display: block;
    padding: 96px 16px 20px;
  }

  .dual-hero-content,
  .dual-command-panel {
    width: calc(100vw - 96px);
    overflow: visible;
  }

  .dual-command-panel {
    margin-top: 26px;
  }

  .dual-hero h1,
  .dual-hero h1 span,
  .dual-hero-text,
  .dual-hero-subtext,
  .dual-command-panel p,
  .dual-status-line strong {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .dual-hero h1,
  .dual-hero-text,
  .dual-hero-subtext,
  .dual-command-panel p {
    display: block;
    width: calc(100vw - 104px) !important;
    max-width: calc(100vw - 104px) !important;
    word-break: break-word;
  }

  .dual-hero-flow {
    width: calc(100vw - 96px);
    max-width: calc(100vw - 96px);
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .dual-hero-flow span {
    width: 100%;
    min-width: 0;
    justify-content: center;
    white-space: normal;
  }

  .dual-hero-tags,
  .dual-panel-tags,
  .dual-hero-actions {
    width: calc(100vw - 96px);
    max-width: calc(100vw - 96px);
  }

  .dual-hero-tags {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dual-hero-tags span,
  .dual-panel-tags span,
  .dual-hero-actions .button {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .dual-hero-actions .button {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* Dual_Arm_UR5 final narrative style system */
.dual-ur5-body {
  --dual-bg-deep: #061114;
  --dual-bg-soft: #0b2528;
  --dual-paper-solid: #fbf7ef;
  --dual-paper-soft: rgba(250, 247, 240, 0.92);
  --dual-text-main: #132127;
  --dual-text-soft: #5a686d;
  --dual-edge: rgba(19, 33, 39, 0.12);
  --dual-cyan: #67d8ff;
  --dual-green: #59efae;
  --dual-amber: #efb15f;
  --dual-radius-section: 30px;
  background:
    radial-gradient(circle at 12% 6%, rgba(89, 239, 174, 0.16), transparent 28%),
    radial-gradient(circle at 88% 3%, rgba(103, 216, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #061114 0%, #0a2225 34%, #f2eadf 34%, #fbf7ef 100%);
}

.dual-ur5-page {
  max-width: 1280px;
}

.site-header.dual-site-header {
  padding: 12px 14px 12px 20px;
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: rgba(5, 15, 17, 0.86);
  backdrop-filter: blur(24px);
}

.dual-site-header .site-nav {
  gap: 6px;
  font-size: 0.92rem;
}

.dual-site-header .site-nav a {
  min-height: 36px;
  padding: 0 11px;
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.07);
}

.dual-hero {
  min-height: clamp(660px, 80vh, 880px);
  border-radius: 34px;
  border-color: rgba(255, 255, 255, 0.13);
  background: #061114;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.3);
}

.dual-hero-media video {
  opacity: 0.42;
  filter: saturate(1.18) contrast(1.08) brightness(0.82);
}

.dual-hero-media::after {
  background:
    linear-gradient(90deg, rgba(6, 17, 20, 0.95) 0%, rgba(6, 17, 20, 0.64) 54%, rgba(6, 17, 20, 0.28) 100%),
    linear-gradient(180deg, rgba(6, 17, 20, 0.06) 0%, rgba(6, 17, 20, 0.96) 100%);
}

.dual-hero h1,
.dual-section-head h2,
.dual-closing-copy h2 {
  letter-spacing: 0;
}

.dual-command-panel,
.dual-resume-strip article {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(160deg, rgba(8, 24, 27, 0.84), rgba(9, 34, 36, 0.74)),
    rgba(6, 17, 20, 0.82);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.2);
}

.dual-reader-path {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(6, 17, 20, 0.7);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.14);
}

.dual-reader-path a {
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dual-reader-path strong {
  color: #fff;
}

.dual-reader-path small {
  color: rgba(247, 251, 248, 0.66);
}

.dual-outcome-band,
.dual-engineering-band,
.dual-training-band,
#future {
  border-radius: var(--dual-radius-section);
  border-color: var(--dual-edge);
  background:
    radial-gradient(circle at 88% 10%, rgba(103, 216, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 248, 244, 0.88)),
    var(--dual-paper-solid);
  box-shadow: 0 24px 72px rgba(19, 33, 39, 0.08);
}

.dual-career-band,
#architecture,
.dual-closing-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--dual-radius-section);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 14% 12%, rgba(89, 239, 174, 0.18), transparent 32%),
    radial-gradient(circle at 88% 26%, rgba(103, 216, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(6, 17, 20, 0.98), rgba(11, 35, 38, 0.96));
  box-shadow: 0 30px 92px rgba(6, 17, 20, 0.22);
}

.dual-outcome-band::before,
.dual-engineering-band::before,
.dual-training-band::before,
#future::before,
.dual-career-band::before,
#architecture::after,
.dual-closing-band::before {
  content: "";
  position: absolute;
  left: clamp(22px, 4vw, 52px);
  right: clamp(22px, 4vw, 52px);
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dual-green), var(--dual-cyan), var(--dual-amber));
  opacity: 0.82;
}

.dual-achievement-card,
.dual-stack-card,
.dual-proof-card,
.dual-branch-card,
.dual-checklist-panel,
.dual-matrix-panel,
.dual-spec-panel,
.dual-token-panel,
.dual-state-panel,
.dual-decision-grid article,
.dual-media-proof div,
.dual-future-grid article {
  border-color: rgba(19, 33, 39, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.9)),
    #fff;
  box-shadow:
    0 18px 48px rgba(19, 33, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.dual-achievement-card,
.dual-stack-card,
.dual-proof-card,
.dual-branch-card,
.dual-decision-grid article,
.dual-media-proof div,
.dual-future-grid article,
.dual-media-tile,
.dual-framework-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.dual-achievement-card:hover,
.dual-stack-card:hover,
.dual-proof-card:hover,
.dual-branch-card:hover,
.dual-decision-grid article:hover,
.dual-media-proof div:hover,
.dual-future-grid article:hover,
.dual-media-tile:hover,
.dual-framework-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 110, 79, 0.26);
  box-shadow: 0 24px 70px rgba(19, 33, 39, 0.13);
}

.dual-glance-card,
.dual-metric-strip,
.dual-code-map,
.dual-deploy-layers,
.dual-terminal-panel {
  box-shadow: 0 24px 70px rgba(6, 17, 20, 0.18);
}

.dual-media-tile {
  border: 1px solid rgba(19, 33, 39, 0.12);
}

.dual-media-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 46%, rgba(6, 17, 20, 0.6));
}

.dual-media-tile figcaption {
  z-index: 1;
  background: rgba(6, 17, 20, 0.74);
}

.dual-terminal-panel {
  border-color: rgba(89, 239, 174, 0.22);
  background:
    linear-gradient(135deg, rgba(5, 15, 17, 0.98), rgba(12, 37, 39, 0.96)),
    #061114;
}

@media (max-width: 980px) {
  .dual-site-header .site-nav {
    gap: 8px;
  }

  .dual-hero {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .dual-ur5-body {
    overflow-x: hidden;
  }

  .dual-ur5-page {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding-inline: 12px;
  }

  .site-header.dual-site-header,
  .dual-hero,
  .dual-command-panel,
  .dual-resume-strip,
  .dual-reader-path,
  .dual-band {
    width: 100%;
    max-width: 100%;
  }

  .dual-hero {
    padding-inline: 16px;
    border-radius: 26px;
  }

  .dual-hero-content,
  .dual-command-panel,
  .dual-resume-strip article,
  .dual-reader-path a {
    min-width: 0;
    overflow: hidden;
  }

  .dual-hero h1,
  .dual-hero-text,
  .dual-command-panel p,
  .dual-status-line strong {
    max-width: calc(100vw - 64px);
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .dual-hero h1 {
    font-size: clamp(1.78rem, 7.6vw, 2.08rem);
  }

  .dual-hero h1 .dual-title-code {
    font-size: clamp(1.68rem, 7.2vw, 1.94rem);
  }

  .dual-stat-grid {
    grid-template-columns: 1fr;
  }

  .dual-terminal-body {
    font-size: 0.82rem;
  }
}

/* Dual_Arm_UR5 final mobile containment override */
@media (max-width: 680px) {
  html,
  body,
  .dual-ur5-body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .dual-ur5-page {
    width: 100%;
    max-width: 100vw;
    padding-inline: 0;
    overflow-x: hidden;
  }

  .site-header.dual-site-header,
  .dual-hero,
  .dual-resume-strip,
  .dual-reader-path,
  .dual-band {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .dual-hero {
    display: block;
    padding: 96px 16px 20px;
  }

  .dual-hero-content,
  .dual-command-panel {
    width: calc(100vw - 96px) !important;
    max-width: calc(100vw - 96px) !important;
    overflow: visible;
  }

  .dual-command-panel {
    margin-top: 26px;
  }

  .dual-hero h1,
  .dual-hero h1 span,
  .dual-hero-text,
  .dual-hero-subtext,
  .dual-command-panel p,
  .dual-status-line strong {
    width: calc(100vw - 104px) !important;
    max-width: calc(100vw - 104px) !important;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .dual-hero-flow,
  .dual-hero-tags,
  .dual-panel-tags,
  .dual-hero-actions {
    width: calc(100vw - 96px) !important;
    max-width: calc(100vw - 96px) !important;
  }

  .dual-hero-flow,
  .dual-hero-tags {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dual-hero-flow span,
  .dual-hero-tags span,
  .dual-panel-tags span,
  .dual-hero-actions .button {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .dual-hero-actions .button {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* Dual_Arm_UR5 final reviewer override */
.dual-code-map {
  grid-template-columns: minmax(180px, 0.24fr) minmax(0, 1fr) !important;
  gap: 14px !important;
}

.dual-code-map-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.dual-code-map-grid div {
  min-width: 0 !important;
  overflow: hidden !important;
}

.dual-code-map-grid code {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.74rem !important;
}

.dual-training-media {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 980px) {
  .dual-code-map,
  .dual-code-map-grid,
  .dual-training-media {
    grid-template-columns: 1fr !important;
  }
}

/* Dual_Arm_UR5 absolute final overrides - appended after duplicated legacy blocks */
.dual-stack-band {
  border-radius: var(--dual-radius-section, 30px) !important;
  border-color: rgba(19, 33, 39, 0.1) !important;
  background: radial-gradient(circle at 88% 12%, rgba(103, 216, 255, 0.12), transparent 30%), linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 248, 244, 0.9)), #fbf7ef !important;
  box-shadow: 0 24px 72px rgba(19, 33, 39, 0.08) !important;
}

.dual-skill-matrix {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(16px, 2vw, 22px) !important;
}

.dual-skill-matrix article {
  min-width: 0 !important;
  padding: clamp(20px, 2.3vw, 30px) !important;
  border: 1px solid rgba(19, 33, 39, 0.1) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.92)) !important;
  box-shadow: 0 18px 46px rgba(19, 33, 39, 0.08) !important;
}

.dual-skill-matrix article > span {
  display: inline-flex !important;
  margin-bottom: 12px !important;
  color: #087457 !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.dual-skill-matrix h3 {
  margin: 0 0 14px !important;
  color: #132127 !important;
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
}

.dual-skill-matrix p {
  margin: 16px 0 0 !important;
  color: #5a686d !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

.dual-system-diagram {
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  border-color: rgba(11, 110, 79, 0.22) !important;
  background: linear-gradient(rgba(11, 110, 79, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 110, 79, 0.04) 1px, transparent 1px), rgba(255, 255, 214, 0.72) !important;
  background-size: 42px 42px !important;
}

.dual-control-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 760px !important;
}

.dual-svg-group { fill: rgba(255, 255, 214, 0.52) !important; stroke: rgba(166, 164, 82, 0.92) !important; stroke-width: 1.2 !important; }
.dual-svg-node { fill: #f0ebff !important; stroke: rgba(121, 91, 255, 0.58) !important; stroke-width: 1.7 !important; }
.dual-svg-line { fill: none !important; stroke: #203238 !important; stroke-width: 2.1 !important; marker-end: url(#dualControlArrow) !important; }
.dual-svg-main, .dual-svg-group-title, .dual-svg-label { font-family: "Manrope", "Segoe UI", sans-serif !important; }
.dual-svg-main { fill: #16252b !important; font-size: 20px !important; font-weight: 900 !important; }
.dual-svg-group-title { fill: #203238 !important; font-size: 18px !important; font-weight: 900 !important; }
.dual-svg-label { fill: #36484f !important; font-size: 16px !important; font-weight: 700 !important; }

.dual-evidence-grid { display: none !important; }

.dual-training-band { padding-block: clamp(46px, 5vw, 72px) !important; }

.dual-training-grid {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr) !important;
  gap: clamp(18px, 2vw, 26px) !important;
  align-items: stretch !important;
}

.dual-training-grid .dual-state-panel { grid-column: 1 / -1 !important; }

.dual-training-media {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 26px) !important;
  margin-top: clamp(22px, 3vw, 34px) !important;
}

.dual-training-media figure { min-height: 320px !important; border-radius: 24px !important; }
.dual-training-media figure:nth-child(3) { grid-column: 1 / -1 !important; min-height: 390px !important; }

.dual-deploy-layers {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: clamp(22px, 3vw, 34px) !important;
}

.dual-deploy-layers article { min-height: 0 !important; }

@media (max-width: 980px) {
  .dual-skill-matrix, .dual-training-grid, .dual-training-media, .dual-deploy-layers { grid-template-columns: 1fr !important; }
  .dual-training-grid .dual-state-panel, .dual-training-media figure:nth-child(3) { grid-column: auto !important; }
  .dual-system-diagram { aspect-ratio: auto !important; }
  .dual-control-svg { min-height: 680px !important; }
}

@media (max-width: 680px) {
  .dual-system-diagram {
    overflow: hidden !important;
  }
  .dual-control-svg {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .dual-training-media figure, .dual-training-media figure:nth-child(3) { min-height: 260px !important; }
}

/* Dual_Arm_UR5 stack and overview-board final styling */
.dual-stack-subhead {
  display: grid;
  gap: 8px;
  margin: clamp(26px, 3vw, 38px) 0 16px;
}

.dual-stack-subhead span {
  color: #087457;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dual-stack-subhead h3 {
  margin: 0;
  color: #132127;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.dual-decision-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.dual-decision-grid-compact article {
  min-height: 0 !important;
  padding: clamp(18px, 2vw, 24px) !important;
  border-color: rgba(19, 33, 39, 0.1) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 249, 0.92)) !important;
}

.dual-decision-grid-compact p {
  font-size: 0.96rem !important;
  line-height: 1.68 !important;
}

.dual-overview-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(19, 33, 39, 0.12);
  border-radius: 28px;
  color: #18232a;
  background: #f8f9fb;
  box-shadow: 0 28px 70px rgba(6, 17, 20, 0.18);
}

.dual-overview-title {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 2px;
}

.dual-overview-title span {
  color: #1f2933;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0;
}

.dual-overview-title strong {
  color: #1f2933;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.dual-overview-card {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 2px solid #bac1ca;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
}

.dual-overview-card::after {
  content: "";
  position: absolute;
  right: -17px;
  top: 50%;
  width: 16px;
  height: 3px;
  background: #f09a3d;
  transform: translateY(-50%);
}

.dual-overview-card:nth-last-child(1)::after,
.dual-overview-card:nth-last-child(2)::after {
  display: none;
}

.dual-overview-card h3 {
  margin: 0 0 6px;
  padding-left: 42px;
  color: #1f2933;
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
}

.dual-overview-card p {
  margin: 0 0 12px;
  color: #64717a;
  font-size: 0.95rem;
  line-height: 1.62;
}

.dual-overview-index {
  position: absolute;
  left: 18px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border-radius: 7px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  background: #3f7bd8;
}

.dual-overview-card:nth-child(n + 6) .dual-overview-index {
  background: #2f9b63;
}

.dual-overview-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(19, 33, 39, 0.12);
}

.dual-overview-real,
.dual-overview-sim {
  grid-column: span 3;
}

.dual-overview-policy,
.dual-overview-ros {
  grid-column: span 3;
}

.dual-overview-demo {
  grid-column: span 6;
}

.dual-overview-gap {
  grid-column: span 6;
}

.dual-overview-demo img {
  height: 230px;
}

.dual-overview-tags,
.dual-overview-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dual-overview-tags span,
.dual-overview-chain span,
.dual-overview-chain strong {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #b8c1cc;
  border-radius: 7px;
  color: #203238;
  background: #eef4fb;
  font-weight: 800;
}

.dual-overview-chain strong {
  background: #eef8ef;
}

.dual-overview-mini {
  display: grid;
  gap: 10px;
}

.dual-overview-mini div {
  padding: 12px;
  border: 1px solid #bac1ca;
  border-radius: 10px;
  background: #eef4fb;
}

.dual-overview-mini div:nth-child(2) {
  background: #fff3e7;
}

.dual-overview-mini div:nth-child(3) {
  background: #edf8ef;
}

.dual-overview-mini strong,
.dual-overview-mini span {
  display: block;
}

.dual-overview-mini strong {
  margin-bottom: 4px;
  color: #15252d;
  font-size: 1.02rem;
}

.dual-overview-mini span {
  color: #687781;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .dual-decision-grid-compact,
  .dual-skill-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dual-overview-real,
  .dual-overview-sim,
  .dual-overview-policy,
  .dual-overview-ros,
  .dual-overview-demo,
  .dual-overview-gap {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .dual-decision-grid-compact,
  .dual-skill-matrix {
    grid-template-columns: 1fr !important;
  }

  .dual-overview-board {
    grid-template-columns: 1fr;
  }

  .dual-overview-real,
  .dual-overview-sim,
  .dual-overview-policy,
  .dual-overview-ros,
  .dual-overview-demo,
  .dual-overview-gap {
    grid-column: auto;
  }

  .dual-overview-card::after {
    display: none;
  }
}

/* Dual_Arm_UR5 final polish for anchor jumps and overview board stability */
#overview,
#stack,
#architecture,
#engineering,
#training {
  scroll-margin-top: 112px;
}

.dual-overview-card {
  display: flex;
  flex-direction: column;
}

.dual-overview-card img {
  margin-top: auto;
}

.dual-overview-demo .dual-overview-tags,
.dual-overview-real .dual-overview-tags,
.dual-overview-sim .dual-overview-tags {
  margin-top: 12px;
}

.dual-overview-policy .dual-overview-mini,
.dual-overview-gap .dual-overview-mini {
  height: 100%;
}

@media (max-width: 1280px) {
  .dual-overview-title span {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
  }

  .dual-overview-title strong {
    font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  }

  .dual-overview-card {
    padding: 16px;
  }
}

/* Dual_Arm_UR5 final module consolidation */
#overview,
#stack,
#architecture,
#engineering {
  scroll-margin-top: 112px;
}

.dual-stack-band {
  color: #142127 !important;
  border: 1px solid rgba(18, 44, 45, 0.14) !important;
  background:
    radial-gradient(circle at 84% 10%, rgba(91, 210, 197, 0.16), transparent 32%),
    linear-gradient(135deg, #fbfffc 0%, #f3faf5 48%, #eef8f8 100%) !important;
  box-shadow: 0 26px 70px rgba(2, 22, 20, 0.18) !important;
}

.dual-stack-band .dual-section-head {
  margin-bottom: clamp(24px, 3vw, 34px) !important;
}

.dual-stack-band .dual-section-head h2,
.dual-stack-subhead h3 {
  color: #142127 !important;
}

.dual-stack-band .dual-kicker,
.dual-stack-subhead span {
  color: #087457 !important;
}

.dual-skill-matrix article,
.dual-decision-grid-compact article {
  border: 1px solid rgba(18, 44, 45, 0.12) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 18px 42px rgba(17, 42, 42, 0.08) !important;
}

.dual-skill-matrix article:hover,
.dual-decision-grid-compact article:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 190, 164, 0.34) !important;
}

.dual-overview-board {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(16px, 2vw, 22px) !important;
  padding: clamp(22px, 3vw, 32px) !important;
  border-radius: 26px !important;
  background: #f9fbfd !important;
}

.dual-overview-title {
  grid-column: 1 / -1 !important;
  margin-bottom: 4px !important;
}

.dual-overview-real,
.dual-overview-sim,
.dual-overview-policy,
.dual-overview-ros,
.dual-overview-demo,
.dual-overview-gap {
  grid-column: auto !important;
}

.dual-overview-card {
  min-height: 0 !important;
  padding: clamp(18px, 2vw, 24px) !important;
}

.dual-overview-card::after {
  display: none !important;
}

.dual-overview-card img,
.dual-overview-card video {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid rgba(19, 33, 39, 0.14);
  border-radius: 10px;
  background: #0b2028;
}

.dual-overview-demo video {
  height: 300px;
  margin-top: auto;
}

.dual-overview-ros img {
  margin: 12px 0 10px;
}

.dual-overview-chain {
  margin-top: auto !important;
}

.dual-overview-mini {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .dual-overview-board {
    grid-template-columns: 1fr !important;
  }

  .dual-overview-mini {
    grid-template-columns: 1fr;
  }

  .dual-overview-card img,
  .dual-overview-card video,
  .dual-overview-demo video {
    height: 230px;
  }
}

/* Dual_Arm_UR5 stack spacing and engineering link diagrams */
.dual-stack-band {
  padding: clamp(42px, 5vw, 72px) clamp(34px, 5vw, 62px) !important;
  border-color: rgba(69, 203, 181, 0.36) !important;
  background:
    radial-gradient(circle at 82% 14%, rgba(82, 214, 201, 0.24), transparent 30%),
    radial-gradient(circle at 12% 86%, rgba(238, 190, 96, 0.12), transparent 30%),
    linear-gradient(135deg, #f8fffb 0%, #eef9f1 48%, #edf9f9 100%) !important;
}

.dual-stack-band .dual-section-head {
  padding-left: clamp(8px, 1vw, 16px) !important;
}

.dual-skill-matrix,
.dual-decision-grid-compact {
  margin-inline: auto !important;
  width: min(100%, 1120px) !important;
}

.dual-skill-matrix {
  gap: clamp(22px, 2.6vw, 32px) !important;
}

.dual-decision-grid-compact {
  gap: clamp(16px, 2vw, 24px) !important;
}

.dual-skill-matrix article {
  padding: clamp(26px, 3vw, 36px) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 253, 251, 0.9)) !important;
  border-color: rgba(20, 82, 72, 0.14) !important;
}

.dual-skill-matrix article:nth-child(1) {
  box-shadow: inset 0 3px 0 rgba(55, 218, 184, 0.9), 0 18px 42px rgba(17, 42, 42, 0.08) !important;
}

.dual-skill-matrix article:nth-child(2) {
  box-shadow: inset 0 3px 0 rgba(87, 178, 255, 0.82), 0 18px 42px rgba(17, 42, 42, 0.08) !important;
}

.dual-skill-matrix article:nth-child(3) {
  box-shadow: inset 0 3px 0 rgba(238, 190, 96, 0.82), 0 18px 42px rgba(17, 42, 42, 0.08) !important;
}

.dual-skill-matrix article:nth-child(4) {
  box-shadow: inset 0 3px 0 rgba(92, 214, 148, 0.82), 0 18px 42px rgba(17, 42, 42, 0.08) !important;
}

.dual-stack-tags span {
  background: #e8faf3 !important;
  border-color: rgba(33, 176, 143, 0.28) !important;
  color: #075f4d !important;
}

.dual-skill-matrix article:nth-child(2) .dual-stack-tags span {
  background: #edf7ff !important;
  border-color: rgba(76, 160, 230, 0.28) !important;
  color: #145a78 !important;
}

.dual-skill-matrix article:nth-child(3) .dual-stack-tags span {
  background: #fff7e8 !important;
  border-color: rgba(217, 160, 61, 0.26) !important;
  color: #78551c !important;
}

.dual-skill-matrix article:nth-child(4) .dual-stack-tags span {
  background: #eefaf0 !important;
  border-color: rgba(66, 174, 103, 0.25) !important;
  color: #176235 !important;
}

.dual-link-diagrams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin: 0 0 clamp(24px, 3vw, 36px);
}

.dual-link-card {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(11, 110, 79, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(248, 255, 249, 0.94), rgba(232, 248, 246, 0.92));
  box-shadow: 0 22px 58px rgba(8, 26, 28, 0.08);
}

.dual-mini-flow-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 360px;
  padding: 14px;
  overflow: visible;
  border: 1px solid rgba(11, 110, 79, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(rgba(14, 92, 88, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 92, 88, 0.04) 1px, transparent 1px),
    rgba(255, 255, 246, 0.48);
  background-size: 38px 38px;
}

.dual-state-flow-svg {
  min-height: 560px;
}

.dual-svg-perception-line {
  marker-end: url(#dualPerceptionArrow) !important;
}

.dual-svg-state-line {
  marker-end: url(#dualStateArrow) !important;
}

.dual-mini-flow-svg .dual-svg-main {
  font-size: 18px !important;
}

.dual-mini-flow-svg .dual-svg-label {
  font-size: 15px !important;
}

.dual-svg-wide-node + text {
  font-size: 16px !important;
}

@media (max-width: 980px) {
  .dual-link-diagrams {
    grid-template-columns: 1fr;
  }

  .dual-stack-band {
    padding-inline: clamp(22px, 5vw, 34px) !important;
  }
}

/* Dual_Arm_UR5 make auxiliary link diagrams readable */
.dual-link-diagrams {
  grid-template-columns: 1fr !important;
  width: min(100%, 1120px);
  margin-inline: auto;
}

.dual-link-card {
  padding: clamp(22px, 3vw, 34px) !important;
}

.dual-mini-flow-svg {
  min-height: 500px !important;
}

.dual-state-flow-svg {
  min-height: 920px !important;
}

.dual-mini-flow-svg .dual-svg-main {
  font-size: 20px !important;
}

.dual-mini-flow-svg .dual-svg-label {
  font-size: 17px !important;
}

.dual-mini-flow-svg .dual-svg-topic {
  fill: #16252b !important;
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  font-size: 17px !important;
  font-weight: 850 !important;
}

.dual-link-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(11, 110, 79, 0.14);
  border-radius: 14px;
  color: #506068;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.78;
}

.dual-system-architecture > .dual-link-note {
  margin-top: 18px;
}

@media (max-width: 680px) {
  .dual-link-card {
    overflow: visible;
  }

  .dual-mini-flow-svg {
    width: 100%;
    max-width: none;
    min-height: 0 !important;
    height: auto !important;
  }

  .dual-state-flow-svg {
    width: 100%;
  }
}

/* Dual_Arm_UR5 architecture spacing and overview flow relationships */
#architecture .dual-architecture-panel {
  margin-top: clamp(34px, 5vw, 62px) !important;
  margin-bottom: clamp(42px, 6vw, 76px) !important;
}

#architecture .dual-overview-board {
  position: relative;
  margin-top: clamp(42px, 6vw, 72px) !important;
  padding-top: clamp(28px, 4vw, 42px) !important;
  gap: clamp(20px, 2.4vw, 30px) !important;
  overflow: visible;
}

#architecture .dual-overview-title {
  margin-bottom: 0 !important;
}

.dual-overview-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  margin: 2px 0 clamp(6px, 1vw, 12px);
  padding: 12px;
  border: 1px solid rgba(41, 108, 157, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(70, 216, 187, 0.13), rgba(93, 178, 232, 0.13), rgba(239, 184, 92, 0.12)),
    rgba(255, 255, 255, 0.72);
}

.dual-overview-flow span {
  position: relative;
  min-width: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(47, 125, 176, 0.2);
  border-radius: 12px;
  color: #17313c;
  background: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 10px 22px rgba(20, 55, 70, 0.06);
}

.dual-overview-flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  z-index: 2;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, #40d8ba, #efb85c);
  transform: translateY(-50%);
}

.dual-overview-flow span:not(:last-child)::before {
  content: "";
  position: absolute;
  right: -17px;
  top: 50%;
  z-index: 3;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #efb85c;
  transform: translateY(-50%);
}

#architecture .dual-overview-card {
  border-color: rgba(91, 118, 142, 0.42) !important;
  box-shadow: 0 16px 36px rgba(16, 46, 58, 0.06);
}

#architecture .dual-overview-card::after {
  display: grid !important;
  place-items: center;
  content: "→" !important;
  right: -27px !important;
  top: 50% !important;
  width: 28px !important;
  height: 28px !important;
  border: 1px solid rgba(239, 154, 61, 0.38);
  border-radius: 999px;
  color: #9a5d16;
  background: #fff8ec !important;
  font-size: 1rem;
  font-weight: 900;
  transform: translateY(-50%) !important;
}

#architecture .dual-overview-sim::after,
#architecture .dual-overview-ros::after {
  content: "↓" !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: -29px !important;
  transform: translateX(-50%) !important;
}

#architecture .dual-overview-gap::after {
  display: none !important;
}

@media (max-width: 900px) {
  .dual-overview-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dual-overview-flow span:not(:last-child)::after {
    right: auto;
    top: auto;
    bottom: -9px;
    left: 50%;
    width: 2px;
    height: 10px;
    transform: translateX(-50%);
  }

  .dual-overview-flow span:not(:last-child)::before {
    right: auto;
    top: auto;
    bottom: -15px;
    left: 50%;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #efb85c;
    border-bottom: 0;
    transform: translateX(-50%);
  }

  #architecture .dual-overview-card::after {
    display: none !important;
  }
}

/* Dual_Arm_UR5 hero hierarchy and clearer overview evidence board */
.dual-hero-title {
  display: grid !important;
  gap: clamp(10px, 1.6vw, 18px);
  max-width: 820px !important;
}

.dual-hero-title .dual-title-main,
.dual-hero-title .dual-title-sub {
  display: block;
  letter-spacing: 0;
}

.dual-hero-title .dual-title-main {
  color: #f7fffb;
  font-family: "Manrope", "Arial", sans-serif !important;
  font-size: clamp(3.15rem, 6vw, 5.8rem) !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
}

.dual-hero-title .dual-title-sub {
  color: rgba(245, 255, 250, 0.96);
  font-family: "Source Serif 4", "Georgia", serif !important;
  font-size: clamp(2.25rem, 4.4vw, 4.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.02 !important;
}

.dual-hero-text {
  max-width: 760px !important;
}

#architecture .dual-overview-board {
  grid-template-columns: repeat(2, minmax(420px, 1fr)) !important;
  width: min(100%, 1180px);
  padding: clamp(28px, 3.2vw, 42px) !important;
  row-gap: clamp(26px, 3vw, 38px) !important;
  column-gap: clamp(28px, 3.4vw, 44px) !important;
}

#architecture .dual-overview-title,
#architecture .dual-overview-flow {
  grid-column: 1 / -1 !important;
}

#architecture .dual-overview-title {
  display: grid !important;
  gap: 6px !important;
}

#architecture .dual-overview-title span {
  font-size: clamp(1.8rem, 3vw, 2.8rem) !important;
}

#architecture .dual-overview-title strong {
  font-size: clamp(1.45rem, 2.2vw, 2.2rem) !important;
}

.dual-overview-flow {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 14px !important;
  margin: 4px 0 6px !important;
}

.dual-overview-flow span {
  flex-direction: column;
  gap: 3px;
  min-height: 58px;
  padding: 8px 10px;
  font-size: clamp(0.78rem, 0.9vw, 0.9rem) !important;
}

.dual-overview-flow b {
  color: #0a735b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

#architecture .dual-overview-card {
  padding: clamp(18px, 2.1vw, 26px) !important;
}

#architecture .dual-overview-real,
#architecture .dual-overview-sim,
#architecture .dual-overview-policy,
#architecture .dual-overview-ros,
#architecture .dual-overview-demo,
#architecture .dual-overview-gap {
  grid-column: auto !important;
}

#architecture .dual-overview-real img,
#architecture .dual-overview-sim img,
#architecture .dual-overview-ros img {
  width: calc(100% + clamp(8px, 1vw, 14px)) !important;
  max-width: none !important;
  margin-left: calc(clamp(4px, 0.5vw, 7px) * -1);
  margin-right: calc(clamp(4px, 0.5vw, 7px) * -1);
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover !important;
  object-position: center;
}

#architecture .dual-overview-sim img,
#architecture .dual-overview-ros img {
  object-fit: contain !important;
  background: #223747;
}

#architecture .dual-overview-demo video {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

#architecture .dual-overview-policy .dual-overview-mini,
#architecture .dual-overview-gap .dual-overview-mini {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

#architecture .dual-overview-card::after {
  content: "" !important;
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  border-radius: 0 !important;
  border-top: 8px solid transparent !important;
  border-bottom: 8px solid transparent !important;
  border-left: 11px solid #e7a34a !important;
  border-right: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#architecture .dual-overview-sim::after,
#architecture .dual-overview-ros::after {
  border-left: 8px solid transparent !important;
  border-right: 8px solid transparent !important;
  border-top: 11px solid #e7a34a !important;
  border-bottom: 0 !important;
}

#architecture .dual-overview-gap::after {
  display: none !important;
}

@media (max-width: 1080px) {
  #architecture .dual-overview-board {
    grid-template-columns: 1fr !important;
  }

  .dual-overview-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  #architecture .dual-overview-card::after {
    display: none !important;
  }
}

@media (max-width: 680px) {
  .dual-hero-title .dual-title-main {
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
  }

  .dual-hero-title .dual-title-sub {
    font-size: clamp(1.45rem, 7vw, 2rem) !important;
  }

  .dual-overview-flow {
    grid-template-columns: 1fr !important;
  }

  #architecture .dual-overview-real img,
  #architecture .dual-overview-sim img,
  #architecture .dual-overview-ros img,
  #architecture .dual-overview-demo video {
    width: 100% !important;
    margin-inline: 0 !important;
  }
}

/* Dual_Arm_UR5 project overview moved to the first content module */
#project-overview {
  scroll-margin-top: 112px;
}

.dual-overview-band {
  margin-top: clamp(22px, 3.2vw, 42px) !important;
  padding-top: clamp(30px, 4vw, 54px) !important;
  padding-bottom: clamp(50px, 6vw, 78px) !important;
}

.dual-overview-band .dual-overview-board {
  grid-template-columns: repeat(2, minmax(420px, 1fr)) !important;
  width: min(100%, 1180px);
  margin-inline: auto !important;
  padding: clamp(28px, 3.2vw, 42px) !important;
  row-gap: clamp(26px, 3vw, 38px) !important;
  column-gap: clamp(28px, 3.4vw, 44px) !important;
  background:
    radial-gradient(circle at 88% 8%, rgba(88, 198, 222, 0.12), transparent 28%),
    linear-gradient(180deg, #fbfcfd 0%, #f7fafc 100%) !important;
}

.dual-overview-band .dual-overview-title,
.dual-overview-band .dual-overview-flow {
  grid-column: 1 / -1 !important;
}

.dual-overview-band .dual-overview-card {
  padding: clamp(18px, 2vw, 24px) !important;
}

.dual-overview-band .dual-overview-real img,
.dual-overview-band .dual-overview-sim img,
.dual-overview-band .dual-overview-ros img {
  width: calc(100% + clamp(12px, 1.4vw, 20px)) !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 16 / 9.6;
  margin-left: calc(clamp(6px, 0.7vw, 10px) * -1);
  margin-right: calc(clamp(6px, 0.7vw, 10px) * -1);
  object-fit: cover !important;
  object-position: center;
}

.dual-overview-band .dual-overview-sim img,
.dual-overview-band .dual-overview-ros img {
  object-fit: contain !important;
  background: #223747;
}

.dual-overview-band .dual-overview-demo video {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9.6;
  object-fit: cover;
}

.dual-overview-band .dual-overview-policy .dual-overview-mini,
.dual-overview-band .dual-overview-gap .dual-overview-mini {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.dual-overview-band .dual-overview-card::after {
  content: "" !important;
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  border-radius: 0 !important;
  border-top: 8px solid transparent !important;
  border-bottom: 8px solid transparent !important;
  border-left: 11px solid #e7a34a !important;
  border-right: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dual-overview-band .dual-overview-sim::after,
.dual-overview-band .dual-overview-ros::after {
  border-left: 8px solid transparent !important;
  border-right: 8px solid transparent !important;
  border-top: 11px solid #e7a34a !important;
  border-bottom: 0 !important;
}

.dual-overview-band .dual-overview-gap::after {
  display: none !important;
}

.dual-hero-title .dual-title-main {
  font-size: clamp(2.9rem, 5.4vw, 5.05rem) !important;
}

.dual-hero-title .dual-title-sub {
  font-size: clamp(1.65rem, 3.25vw, 3.05rem) !important;
  line-height: 1.06 !important;
}

@media (max-width: 1080px) {
  .dual-overview-band .dual-overview-board {
    grid-template-columns: 1fr !important;
  }

  .dual-overview-band .dual-overview-card::after {
    display: none !important;
  }
}

@media (max-width: 680px) {
  .dual-overview-band .dual-overview-real img,
  .dual-overview-band .dual-overview-sim img,
  .dual-overview-band .dual-overview-ros img,
  .dual-overview-band .dual-overview-demo video {
    width: 100% !important;
    margin-inline: 0 !important;
  }

  .dual-hero-title .dual-title-main {
    font-size: clamp(1.95rem, 8.6vw, 2.45rem) !important;
  }

  .dual-hero-title .dual-title-sub {
    font-size: clamp(1.22rem, 5.8vw, 1.72rem) !important;
  }
}

/* Dual_Arm_UR5 richer evidence images and module hover interactions */
.dual-overview-band .dual-overview-real img,
.dual-overview-band .dual-overview-sim img,
.dual-overview-band .dual-overview-ros img {
  height: clamp(420px, 32vw, 470px) !important;
  aspect-ratio: auto !important;
}

.dual-overview-band .dual-overview-real img {
  object-fit: cover !important;
  object-position: center 48%;
}

.dual-overview-band .dual-overview-sim img,
.dual-overview-band .dual-overview-ros img {
  object-fit: contain !important;
  object-position: center;
}

.dual-overview-band .dual-overview-card,
.dual-skill-matrix article,
.dual-decision-grid-compact article,
.dual-loop-node,
.dual-architecture-panel,
.dual-system-architecture,
.dual-link-card,
.dual-branch-grid article,
.dual-code-map,
.dual-execution-path article,
.dual-terminal-panel {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    filter 220ms ease;
}

.dual-overview-band .dual-overview-card:hover {
  transform: translateY(-8px);
  border-color: rgba(42, 162, 214, 0.62) !important;
  box-shadow: 0 24px 62px rgba(33, 104, 142, 0.18) !important;
}

.dual-overview-band .dual-overview-card:hover img,
.dual-overview-band .dual-overview-card:hover video {
  filter: saturate(1.08) contrast(1.04);
}

.dual-overview-flow span:hover {
  transform: translateY(-3px);
  border-color: rgba(44, 196, 166, 0.42);
  background: linear-gradient(180deg, #ffffff, #ecfbf6);
  box-shadow: 0 14px 28px rgba(10, 115, 91, 0.13);
}

.dual-skill-matrix article:hover {
  transform: translateY(-7px);
  border-color: rgba(39, 188, 157, 0.46) !important;
  box-shadow: 0 26px 60px rgba(8, 54, 53, 0.16) !important;
}

.dual-skill-matrix article:hover .dual-stack-tags span,
.dual-decision-grid-compact article:hover span {
  filter: saturate(1.14);
}

.dual-decision-grid-compact article:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 153, 128, 0.34) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 250, 244, 0.92)) !important;
  box-shadow: 0 20px 42px rgba(16, 61, 62, 0.12) !important;
}

.dual-loop-node:hover {
  transform: translateY(-8px);
  border-color: rgba(63, 216, 186, 0.56);
  box-shadow: 0 26px 58px rgba(17, 214, 177, 0.12);
}

.dual-loop-node:hover::before {
  box-shadow: 0 0 0 8px rgba(63, 216, 186, 0.12), 0 0 22px rgba(63, 216, 186, 0.5);
}

.dual-architecture-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(63, 216, 186, 0.44) !important;
  box-shadow: 0 28px 70px rgba(45, 207, 180, 0.14) !important;
}

.dual-architecture-panel:hover .dual-arch-rail strong {
  box-shadow: inset 0 0 0 1px rgba(10, 115, 91, 0.12), 0 0 24px rgba(63, 216, 186, 0.2);
}

.dual-system-architecture:hover,
.dual-link-card:hover {
  transform: translateY(-7px);
  border-color: rgba(31, 144, 194, 0.38);
  box-shadow: 0 30px 76px rgba(12, 71, 94, 0.16);
}

.dual-system-architecture:hover .dual-svg-line,
.dual-link-card:hover .dual-svg-line,
.dual-link-card:hover .dual-svg-perception-line,
.dual-link-card:hover .dual-svg-state-line {
  stroke-width: 2.6;
  filter: drop-shadow(0 0 5px rgba(48, 206, 186, 0.42));
}

.dual-branch-grid article:hover,
.dual-execution-path article:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 180, 148, 0.38);
  box-shadow: 0 22px 50px rgba(16, 61, 62, 0.12);
}

.dual-code-map:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 66px rgba(7, 26, 33, 0.18);
}

.dual-code-map:hover code {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(40, 213, 181, 0.14);
}

.dual-terminal-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 72px rgba(2, 28, 25, 0.26);
}

.dual-terminal-panel:hover code {
  color: #dffbf5;
}

@media (max-width: 1080px) {
  .dual-overview-band .dual-overview-real img,
  .dual-overview-band .dual-overview-sim img,
  .dual-overview-band .dual-overview-ros img {
    height: clamp(340px, 52vw, 430px) !important;
  }
}

@media (max-width: 680px) {
  .dual-overview-band .dual-overview-real img,
  .dual-overview-band .dual-overview-sim img,
  .dual-overview-band .dual-overview-ros img {
    height: clamp(260px, 64vw, 340px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dual-overview-band .dual-overview-card,
  .dual-overview-flow span,
  .dual-skill-matrix article,
  .dual-decision-grid-compact article,
  .dual-loop-node,
  .dual-architecture-panel,
  .dual-system-architecture,
  .dual-link-card,
  .dual-branch-grid article,
  .dual-code-map,
  .dual-execution-path article,
  .dual-terminal-panel {
    transition: none !important;
  }

  .dual-overview-band .dual-overview-card:hover,
  .dual-overview-flow span:hover,
  .dual-skill-matrix article:hover,
  .dual-decision-grid-compact article:hover,
  .dual-loop-node:hover,
  .dual-architecture-panel:hover,
  .dual-system-architecture:hover,
  .dual-link-card:hover,
  .dual-branch-grid article:hover,
  .dual-code-map:hover,
  .dual-execution-path article:hover,
  .dual-terminal-panel:hover {
    transform: none !important;
  }
}

/* Dual_Arm_UR5 guided motion effects for reading the system flow */
.dual-overview-flow {
  position: relative;
  overflow: hidden;
}

.dual-overview-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(64, 216, 186, 0.05) 38%, rgba(64, 216, 186, 0.28) 50%, rgba(239, 184, 92, 0.18) 58%, transparent 74%);
  transform: translateX(-120%);
  animation: dualFlowSweep 4.8s ease-in-out infinite;
}

.dual-overview-flow span {
  z-index: 1;
}

.dual-overview-flow span:nth-child(1) { animation: dualStepPulse 4.8s ease-in-out infinite 0s; }
.dual-overview-flow span:nth-child(2) { animation: dualStepPulse 4.8s ease-in-out infinite 0.45s; }
.dual-overview-flow span:nth-child(3) { animation: dualStepPulse 4.8s ease-in-out infinite 0.9s; }
.dual-overview-flow span:nth-child(4) { animation: dualStepPulse 4.8s ease-in-out infinite 1.35s; }
.dual-overview-flow span:nth-child(5) { animation: dualStepPulse 4.8s ease-in-out infinite 1.8s; }
.dual-overview-flow span:nth-child(6) { animation: dualStepPulse 4.8s ease-in-out infinite 2.25s; }

#architecture .dual-loop-node:nth-child(1) { animation: dualLoopPulse 6.4s ease-in-out infinite 0s; }
#architecture .dual-loop-node:nth-child(2) { animation: dualLoopPulse 6.4s ease-in-out infinite 1.1s; }
#architecture .dual-loop-node:nth-child(3) { animation: dualLoopPulse 6.4s ease-in-out infinite 2.2s; }
#architecture .dual-loop-node:nth-child(4) { animation: dualLoopPulse 6.4s ease-in-out infinite 3.3s; }

.dual-svg-line,
.dual-svg-perception-line,
.dual-svg-state-line {
  stroke-dasharray: 9 13;
  animation: dualSvgFlow 3.6s linear infinite;
}

.dual-system-architecture:hover .dual-svg-line,
.dual-link-card:hover .dual-svg-line,
.dual-link-card:hover .dual-svg-perception-line,
.dual-link-card:hover .dual-svg-state-line {
  animation-duration: 1.7s;
}

@keyframes dualFlowSweep {
  0% { transform: translateX(-120%); opacity: 0; }
  16% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes dualStepPulse {
  0%, 72%, 100% {
    border-color: rgba(47, 125, 176, 0.2);
    box-shadow: 0 10px 22px rgba(20, 55, 70, 0.06);
  }
  18%, 32% {
    border-color: rgba(44, 196, 166, 0.55);
    box-shadow: 0 14px 30px rgba(44, 196, 166, 0.16);
  }
}

@keyframes dualLoopPulse {
  0%, 58%, 100% {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  }
  14%, 30% {
    border-color: rgba(63, 216, 186, 0.52);
    box-shadow: 0 22px 56px rgba(63, 216, 186, 0.14);
  }
}

@keyframes dualSvgFlow {
  to {
    stroke-dashoffset: -44;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dual-overview-flow::after,
  .dual-overview-flow span,
  #architecture .dual-loop-node,
  .dual-svg-line,
  .dual-svg-perception-line,
  .dual-svg-state-line {
    animation: none !important;
  }
}

/* Dual_Arm_UR5 richer pointer interactions */
.dual-hero-actions .button,
.dual-hero-flow span,
.dual-hero-tags span,
.dual-panel-tags span,
.dual-stat-grid div,
.dual-overview-index,
.dual-overview-tags span,
.dual-overview-chain span,
.dual-overview-chain strong,
.dual-stack-tags span,
.dual-code-map-grid div,
.dual-code-map-grid code,
.dual-terminal-panel code {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    filter 180ms ease;
}

.dual-hero-actions .button:hover,
.dual-hero-flow span:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 18px 38px rgba(52, 223, 199, 0.18);
}

.dual-hero-tags span:hover,
.dual-panel-tags span:hover,
.dual-overview-tags span:hover,
.dual-stack-tags span:hover {
  transform: translateY(-3px);
  color: #052b2e;
  border-color: rgba(61, 213, 186, 0.62);
  background: linear-gradient(135deg, rgba(87, 236, 197, 0.92), rgba(117, 208, 236, 0.82));
  box-shadow: 0 12px 26px rgba(23, 151, 142, 0.16);
}

.dual-stat-grid div:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 218, 242, 0.56);
  background: rgba(37, 70, 78, 0.78);
  box-shadow: 0 18px 38px rgba(46, 214, 231, 0.12);
}

.dual-stat-grid div:hover strong {
  filter: drop-shadow(0 0 10px rgba(91, 218, 242, 0.34));
}

.dual-overview-band .dual-overview-card img,
.dual-overview-band .dual-overview-card video {
  transform-origin: center;
  transition:
    transform 260ms ease,
    filter 260ms ease,
    box-shadow 260ms ease;
}

.dual-overview-band .dual-overview-card:hover .dual-overview-index {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 12px 26px rgba(43, 126, 215, 0.24);
}

.dual-overview-band .dual-overview-card:hover img,
.dual-overview-band .dual-overview-card:hover video {
  transform: scale(1.018);
  filter: saturate(1.08) contrast(1.04);
  box-shadow: 0 18px 38px rgba(21, 71, 94, 0.16);
}

.dual-overview-chain span:hover,
.dual-overview-chain strong:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(239, 184, 92, 0.48);
  background: rgba(255, 249, 236, 0.92);
  box-shadow: 0 14px 30px rgba(239, 184, 92, 0.18);
}

.dual-skill-matrix article:hover h3,
.dual-decision-grid-compact article:hover h3,
.dual-loop-node:hover h3,
.dual-branch-grid article:hover h3,
.dual-execution-path article:hover h3 {
  color: #056b64;
}

.dual-skill-matrix article:hover .dual-stack-tags span:nth-child(odd),
.dual-decision-grid-compact article:hover .dual-stack-tags span:nth-child(odd) {
  transform: translateY(-3px);
}

.dual-skill-matrix article:hover .dual-stack-tags span:nth-child(even),
.dual-decision-grid-compact article:hover .dual-stack-tags span:nth-child(even) {
  transform: translateY(-1px);
}

.dual-code-map-grid div:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 221, 203, 0.4);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(3, 24, 31, 0.2);
}

.dual-code-map-grid div:hover code {
  transform: translateX(3px);
  color: #063031;
  background: rgba(94, 231, 204, 0.9);
}

.dual-terminal-panel:hover code:nth-child(odd) {
  transform: translateX(4px);
}

.dual-terminal-panel:hover code:nth-child(even) {
  transform: translateX(2px);
}

.dual-link-card:hover .dual-link-note,
.dual-system-architecture:hover .dual-system-head,
.dual-architecture-panel:hover h3 {
  filter: saturate(1.08);
}

/* Dual_Arm_UR5 GitHub README evidence strip */
.dual-repo-evidence {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
  padding: 16px;
  border: 1px solid rgba(18, 118, 112, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(226, 250, 244, 0.72)),
    radial-gradient(circle at 15% 0%, rgba(66, 226, 187, 0.16), transparent 34%);
  box-shadow: 0 24px 70px rgba(18, 80, 82, 0.09);
}

.dual-repo-evidence-head,
.dual-repo-evidence a {
  min-width: 0;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(22, 93, 101, 0.12);
}

.dual-repo-evidence-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #062f31;
  color: #f4fffb;
}

.dual-repo-evidence-head span,
.dual-repo-evidence a span {
  display: block;
  margin-bottom: 8px;
  color: #08786f;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dual-repo-evidence-head span {
  color: #58edcb;
}

.dual-repo-evidence-head strong,
.dual-repo-evidence a strong {
  display: block;
  color: inherit;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.25;
}

.dual-repo-evidence a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #14242d;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease;
}

.dual-repo-evidence a em {
  color: #61757e;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.55;
}

.dual-repo-evidence a:hover {
  transform: translateY(-5px);
  border-color: rgba(48, 205, 178, 0.44);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(221, 249, 243, 0.9));
  box-shadow: 0 20px 44px rgba(16, 102, 102, 0.13);
}

.dual-repo-evidence a:hover strong {
  color: #056b64;
}

@media (max-width: 980px) {
  .dual-repo-evidence {
    grid-template-columns: 1fr;
  }
}

/* Dual_Arm_UR5 overview board refinement */
.dual-overview-band .dual-overview-board {
  position: relative;
  overflow: visible;
  border-color: rgba(24, 128, 156, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(250, 253, 255, 0.98), rgba(244, 251, 252, 0.96)) !important;
  box-shadow:
    0 34px 90px rgba(8, 35, 46, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.dual-overview-band .dual-overview-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 0;
  pointer-events: none;
  border-radius: 28px;
  background:
    linear-gradient(rgba(24, 122, 132, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 122, 132, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 78%);
}

.dual-overview-band .dual-overview-title,
.dual-overview-band .dual-overview-summary,
.dual-overview-band .dual-overview-flow,
.dual-overview-band .dual-overview-card {
  position: relative;
  z-index: 1;
}

.dual-overview-band .dual-overview-title {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 12px 28px;
  align-items: end;
  padding-bottom: 6px;
}

.dual-overview-band .dual-overview-title span {
  align-self: center;
  width: max-content;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid rgba(15, 132, 121, 0.2);
  border-radius: 999px;
  background: rgba(221, 250, 244, 0.72);
  color: #08766f;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.dual-overview-band .dual-overview-title strong {
  justify-self: end;
  color: #14242d;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
}

.dual-overview-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(24, 128, 156, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(234, 253, 248, 0.9), rgba(244, 250, 255, 0.82)),
    radial-gradient(circle at 96% 0%, rgba(94, 220, 238, 0.16), transparent 34%);
}

.dual-overview-summary p {
  margin: 0;
  color: #496370;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.8;
}

.dual-overview-summary div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dual-overview-summary span {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(37, 139, 153, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #526b76;
  font-weight: 750;
  box-shadow: 0 14px 34px rgba(15, 65, 72, 0.08);
}

.dual-overview-summary strong {
  color: #043f43;
  font-size: 1rem;
}

.dual-overview-band .dual-overview-flow {
  padding: 14px;
  border: 1px solid rgba(24, 128, 156, 0.16);
  background: linear-gradient(90deg, rgba(227, 251, 244, 0.86), rgba(255, 247, 234, 0.72));
}

.dual-overview-band .dual-overview-flow span {
  min-height: 62px;
  border-color: rgba(40, 141, 160, 0.2);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(10, 45, 58, 0.07);
}

.dual-overview-band .dual-overview-flow b {
  display: block;
  color: #08847b;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.dual-overview-lightline {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  height: 34px;
  margin: -6px 12px 8px;
  pointer-events: none;
}

.dual-overview-lightline::before {
  content: "";
  position: absolute;
  left: 7.5%;
  right: 7.5%;
  top: 50%;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(44, 196, 166, 0.18), rgba(93, 170, 230, 0.52), rgba(239, 184, 92, 0.6), rgba(44, 196, 166, 0.2));
  box-shadow: 0 0 18px rgba(77, 201, 209, 0.22);
  transform: translateY(-50%);
}

.dual-overview-lightline::after {
  content: "";
  position: absolute;
  left: 7.5%;
  top: 50%;
  width: 18%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(70, 239, 211, 0.98), rgba(239, 184, 92, 0.84), transparent);
  filter: blur(0.2px);
  box-shadow:
    0 0 18px rgba(70, 239, 211, 0.5),
    0 0 28px rgba(239, 184, 92, 0.26);
  transform: translate(-50%, -50%);
  animation: dualLightlineRun 5.8s ease-in-out infinite;
}

.dual-overview-lightline span {
  position: relative;
  justify-self: center;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  background: #25bfa8;
  box-shadow:
    0 0 0 7px rgba(49, 207, 178, 0.12),
    0 8px 18px rgba(16, 95, 105, 0.18);
  animation: dualLightlineNode 5.8s ease-in-out infinite;
}

.dual-overview-lightline span:nth-child(1) { animation-delay: 0s; }
.dual-overview-lightline span:nth-child(2) { animation-delay: 0.58s; }
.dual-overview-lightline span:nth-child(3) { animation-delay: 1.16s; }
.dual-overview-lightline span:nth-child(4) { animation-delay: 1.74s; }
.dual-overview-lightline span:nth-child(5) { animation-delay: 2.32s; }
.dual-overview-lightline span:nth-child(6) { animation-delay: 2.9s; }

.dual-overview-lightline span.is-linked,
.dual-overview-flow span.is-linked {
  transform: translateY(-4px);
}

.dual-overview-lightline span.is-linked {
  background: #efb85c;
  box-shadow:
    0 0 0 9px rgba(239, 184, 92, 0.2),
    0 0 26px rgba(239, 184, 92, 0.48);
}

.dual-overview-flow span.is-linked {
  border-color: rgba(44, 196, 166, 0.5) !important;
  background: linear-gradient(180deg, #ffffff, #e9fbf7) !important;
  box-shadow:
    0 16px 34px rgba(10, 115, 91, 0.16),
    inset 0 0 0 1px rgba(49, 207, 178, 0.14) !important;
  color: #052f34;
}

.dual-overview-band .dual-overview-card {
  border: 2px solid rgba(51, 89, 110, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 252, 253, 0.92)) !important;
  box-shadow: 0 20px 52px rgba(9, 37, 50, 0.1);
}

.dual-overview-band .dual-overview-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: inherit;
  background: linear-gradient(90deg, #3fd8ba, #5aa9e6, #efb85c);
  opacity: 0.72;
}

.dual-overview-band .dual-overview-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #14242d;
}

.dual-overview-band .dual-overview-card p {
  color: #607480;
}

.dual-overview-band .dual-overview-index {
  background: linear-gradient(135deg, #3a78d8, #32cab0);
  box-shadow: 0 12px 28px rgba(47, 127, 184, 0.18);
}

.dual-overview-band .dual-overview-card:hover {
  border-color: rgba(42, 187, 175, 0.48) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 252, 249, 0.95)) !important;
}

.dual-overview-band .dual-overview-card:hover::before {
  opacity: 1;
}

.dual-overview-band .dual-overview-mini div {
  border-color: rgba(45, 105, 126, 0.18);
  background: rgba(238, 247, 251, 0.74);
}

.dual-overview-band .dual-overview-policy .dual-overview-mini div:nth-child(2),
.dual-overview-band .dual-overview-gap .dual-overview-mini div:nth-child(2) {
  background: rgba(255, 244, 229, 0.78);
}

.dual-overview-band .dual-overview-policy .dual-overview-mini div:nth-child(3),
.dual-overview-band .dual-overview-gap .dual-overview-mini div:nth-child(3) {
  background: rgba(232, 249, 237, 0.78);
}

.dual-overview-detail {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(21, 126, 136, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(229, 250, 246, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(86, 212, 232, 0.12), transparent 36%);
}

.dual-overview-detail > span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(49, 207, 178, 0.14);
  color: #07786f;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dual-overview-detail p {
  margin: 0 0 10px;
  color: #4f6570;
  font-size: 0.95rem;
  line-height: 1.72;
}

.dual-overview-detail ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dual-overview-detail li {
  position: relative;
  padding-left: 18px;
  color: #263d47;
  font-size: 0.9rem;
  line-height: 1.55;
}

.dual-overview-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #31cfb2;
  box-shadow: 0 0 0 4px rgba(49, 207, 178, 0.13);
}

.dual-overview-band .dual-overview-policy,
.dual-overview-band .dual-overview-gap {
  display: flex;
  flex-direction: column;
}

.dual-overview-band .dual-overview-policy .dual-overview-detail,
.dual-overview-band .dual-overview-gap .dual-overview-detail {
  flex: 1;
}

.dual-overview-band .dual-overview-policy:hover .dual-overview-detail,
.dual-overview-band .dual-overview-gap:hover .dual-overview-detail {
  border-color: rgba(49, 207, 178, 0.34);
  box-shadow: inset 0 0 0 1px rgba(49, 207, 178, 0.08);
}

.dual-overview-band .dual-overview-board::after {
  display: none;
}

.dual-overview-band .dual-overview-card:nth-of-type(1) { --node-delay: 0s; }
.dual-overview-band .dual-overview-card:nth-of-type(2) { --node-delay: 0.55s; }
.dual-overview-band .dual-overview-card:nth-of-type(3) { --node-delay: 1.1s; }
.dual-overview-band .dual-overview-card:nth-of-type(4) { --node-delay: 1.65s; }
.dual-overview-band .dual-overview-card:nth-of-type(5) { --node-delay: 2.2s; }
.dual-overview-band .dual-overview-card:nth-of-type(6) { --node-delay: 2.75s; }

.dual-overview-band .dual-overview-card .dual-overview-index {
  animation: dualOverviewNode 5.8s ease-in-out infinite var(--node-delay, 0s);
}

@keyframes dualOverviewRail {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

@keyframes dualLightlineRun {
  0% {
    left: 7.5%;
    opacity: 0;
  }
  9%, 88% {
    opacity: 1;
  }
  100% {
    left: 92.5%;
    opacity: 0;
  }
}

@keyframes dualLightlineNode {
  0%, 70%, 100% {
    background: #25bfa8;
    box-shadow:
      0 0 0 7px rgba(49, 207, 178, 0.12),
      0 8px 18px rgba(16, 95, 105, 0.18);
  }
  14%, 26% {
    background: #efb85c;
    box-shadow:
      0 0 0 9px rgba(239, 184, 92, 0.18),
      0 0 24px rgba(239, 184, 92, 0.42);
  }
}

@keyframes dualLightlineRunMobile {
  0% {
    top: 8px;
    opacity: 0;
  }
  9%, 88% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 8px);
    opacity: 0;
  }
}

@keyframes dualOverviewNode {
  0%, 70%, 100% {
    filter: none;
    box-shadow: 0 12px 28px rgba(47, 127, 184, 0.18);
  }
  14%, 26% {
    filter: saturate(1.25);
    box-shadow: 0 0 0 6px rgba(49, 207, 178, 0.12), 0 16px 34px rgba(47, 127, 184, 0.24);
  }
}

@media (max-width: 1080px) {
  .dual-overview-band .dual-overview-title,
  .dual-overview-summary {
    grid-template-columns: 1fr;
  }

  .dual-overview-band .dual-overview-title strong {
    justify-self: start;
  }

  .dual-overview-summary div {
    grid-template-columns: 1fr;
  }

  .dual-overview-band .dual-overview-board::after {
    display: none;
  }

  .dual-overview-lightline {
    grid-template-columns: 1fr;
    height: 130px;
    margin: -2px 0 4px;
  }

  .dual-overview-lightline::before {
    left: 50%;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 3px;
    height: auto;
    transform: translateX(-50%);
  }

  .dual-overview-lightline::after {
    left: 50%;
    top: 8px;
    width: 7px;
    height: 22%;
    background: linear-gradient(180deg, transparent, rgba(70, 239, 211, 0.98), rgba(239, 184, 92, 0.84), transparent);
    transform: translate(-50%, -50%);
    animation-name: dualLightlineRunMobile;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dual-hero-actions .button,
  .dual-hero-flow span,
  .dual-hero-tags span,
  .dual-panel-tags span,
  .dual-stat-grid div,
  .dual-overview-index,
  .dual-overview-tags span,
  .dual-overview-chain span,
  .dual-overview-chain strong,
  .dual-stack-tags span,
  .dual-code-map-grid div,
  .dual-code-map-grid code,
  .dual-terminal-panel code,
  .dual-overview-band .dual-overview-card img,
  .dual-overview-band .dual-overview-card video,
  .dual-repo-evidence a {
    transition: none !important;
  }

  .dual-overview-band .dual-overview-board::after,
  .dual-overview-lightline::after,
  .dual-overview-lightline span,
  .dual-overview-band .dual-overview-card .dual-overview-index {
    animation: none !important;
  }

  .dual-hero-actions .button:hover,
  .dual-hero-flow span:hover,
  .dual-hero-tags span:hover,
  .dual-panel-tags span:hover,
  .dual-stat-grid div:hover,
  .dual-overview-band .dual-overview-card:hover .dual-overview-index,
  .dual-overview-lightline span.is-linked,
  .dual-overview-flow span.is-linked,
  .dual-overview-band .dual-overview-card:hover img,
  .dual-overview-band .dual-overview-card:hover video,
  .dual-overview-chain span:hover,
  .dual-overview-chain strong:hover,
  .dual-stack-tags span:hover,
  .dual-code-map-grid div:hover,
  .dual-code-map-grid div:hover code,
  .dual-terminal-panel:hover code,
  .dual-repo-evidence a:hover {
    transform: none !important;
  }
}

/* Homepage refinement: compact research overview, direct GIF evidence, and greener agriculture module. */
#publications {
  padding-top: clamp(34px, 4.2vw, 52px);
  padding-bottom: clamp(34px, 4.2vw, 52px);
}

#publications .section-heading {
  margin-bottom: 12px;
}

#publications .section-tools {
  margin-bottom: 14px;
}

#publications .filter-group {
  gap: 8px;
}

#publications .publication-list-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#publications .publication-card {
  align-content: start;
  gap: 7px;
  padding: 16px;
  min-height: 0;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 253, 249, 0.9));
}

#publications .publication-title {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.32;
}

#publications .publication-summary {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

#publications .publication-tagline {
  margin: 2px 0 0;
}

#publications .card-action-stack {
  gap: 6px;
  padding-top: 2px;
}

#publications .action-link {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.media-preview-shell .media-motion:not(.media-motion-preview) {
  filter: none;
}

.media-preview-shell:has(.media-motion:not(.media-motion-preview))::after {
  opacity: 0;
}

.feature-layout-agriculture {
  background:
    radial-gradient(circle at 12% 10%, rgba(119, 178, 74, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(92, 169, 136, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(248, 253, 239, 0.96), rgba(235, 248, 228, 0.92));
}

.feature-layout-agriculture .feature-badge,
.feature-layout-agriculture .pipeline-marker {
  background: #7d9688;
}

.feature-layout-agriculture .feature-repo {
  background: rgba(125, 150, 136, 0.1);
  color: #7d9688;
}

.feature-layout-agriculture .metric-card,
.feature-layout-agriculture .pipeline-step {
  background: rgba(125, 150, 136, 0.06);
  border-color: rgba(125, 150, 136, 0.1);
}

.feature-layout-agriculture .metric-label,
.agri-entry-card span {
  color: #7d9688;
}

.agri-showcase-card {
  border-color: rgba(125, 150, 136, 0.14);
  background:
    radial-gradient(circle at 88% 18%, rgba(125, 150, 136, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(95, 120, 108, 0.94), rgba(125, 150, 136, 0.88) 48%, rgba(165, 185, 172, 0.74) 100%);
  box-shadow: 0 18px 44px rgba(125, 150, 136, 0.12);
}

.agri-showcase-card::after {
  background:
    radial-gradient(circle, rgba(125, 150, 136, 0.08), transparent 65%);
}

.agri-showcase-kicker,
.agri-showcase-pill {
  background: rgba(125, 150, 136, 0.1);
  border-color: rgba(125, 150, 136, 0.16);
}

.agri-entry-card {
  background: rgba(242, 247, 244, 0.9);
  border-color: rgba(125, 150, 136, 0.1);
  box-shadow: 0 12px 24px rgba(125, 150, 136, 0.06);
}

.agri-entry-card:hover {
  border-color: rgba(125, 150, 136, 0.22);
  box-shadow: 0 18px 34px rgba(125, 150, 136, 0.1);
}

.feature-layout-agriculture .feature-links a {
  background: rgba(242, 247, 244, 0.95);
  border-color: rgba(125, 150, 136, 0.12);
}

@media (max-width: 980px) {
  #publications .publication-list-compact {
    grid-template-columns: 1fr;
  }
}

/* Mobile-only homepage fitting. Desktop layout above remains untouched. */
@media (max-width: 900px) {
  html {
    max-width: 100vw;
  }

  body:not(.dual-ur5-body) {
    width: 100%;
    max-width: 100vw;
  }

  body:not(.dual-ur5-body) .page-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 8px 8px 28px;
    overflow-x: clip;
  }

  /* ── Header grid: brand | lang ── */
  body:not(.dual-ur5-body) .site-header {
    top: 6px;
    z-index: 100;
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 8px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 22px;
    align-items: center;
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 252, 246, 0.92);
    box-shadow: 0 14px 36px rgba(31, 45, 61, 0.12);
  }

  body:not(.dual-ur5-body) .brand {
    display: flex;
    align-items: center;
    min-height: 40px;
    min-width: 0;
    padding: 0 6px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  body:not(.dual-ur5-body) .header-tools {
    display: contents !important;
  }

  /* ── Hide hamburger on mobile ── */
  .menu-toggle-icon {
    display: none;
  }

  /* ── Navigation: horizontal scroll ── */
  body:not(.dual-ur5-body) .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    padding: 4px 0 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body:not(.dual-ur5-body) .site-nav::-webkit-scrollbar {
    display: none;
  }

  /* ── Nav links ── */
  body:not(.dual-ur5-body) .site-nav > a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text, #2d3a3f);
    text-decoration: none;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }

  body:not(.dual-ur5-body) .site-nav > a:active {
    background: rgba(11, 110, 79, 0.08);
  }

  /* ── Research Directions dropdown ── */
  body:not(.dual-ur5-body) .nav-dropdown {
    flex-shrink: 0;
    border-radius: 10px;
  }

  body:not(.dual-ur5-body) .nav-dropdown > summary {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text, #2d3a3f);
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  body:not(.dual-ur5-body) .nav-dropdown > summary::-webkit-details-marker {
    display: none;
  }

  body:not(.dual-ur5-body) .nav-dropdown > summary::after {
    content: "▾";
    font-size: 0.7rem;
    color: var(--muted, #7a8a8f);
    transition: transform 0.2s ease;
  }

  body:not(.dual-ur5-body) .nav-dropdown[open] > summary {
    color: var(--accent-strong, #0b6e4f);
    background: rgba(218, 239, 224, 0.55);
  }

  body:not(.dual-ur5-body) .nav-dropdown[open] > summary::after {
    transform: rotate(180deg);
  }

  /* Submenu: fixed positioned to escape overflow-x clipping */
  body:not(.dual-ur5-body) .nav-dropdown-menu {
    position: fixed;
    display: none;
    flex-direction: column;
    gap: 1px;
    min-width: 150px;
    padding: 6px;
    background: rgba(255, 252, 246, 0.98);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(31, 45, 61, 0.18);
    z-index: 200;
  }

  body:not(.dual-ur5-body) .nav-dropdown[open] .nav-dropdown-menu {
    display: flex;
  }

  body:not(.dual-ur5-body) .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.8rem;
    color: var(--muted, #5a686d);
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
  }

  body:not(.dual-ur5-body) .nav-dropdown-menu a:active {
    background: rgba(11, 110, 79, 0.06);
    color: var(--accent-strong, #0b6e4f);
  }

  /* ── Language switch in header row ── */
  body:not(.dual-ur5-body) .lang-switch {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    gap: 3px;
    padding: 0;
  }

  body:not(.dual-ur5-body) .lang-button {
    min-width: 44px;
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.76rem;
    border-radius: 8px;
  }

  body:not(.dual-ur5-body) .page-trail {
    margin: 8px 2px 10px;
    font-size: 0.78rem;
  }

  body:not(.dual-ur5-body) .section {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 10px;
    padding: 12px;
    border-radius: 18px;
    overflow: hidden;
  }

  body:not(.dual-ur5-body) main,
  body:not(.dual-ur5-body) .section,
  body:not(.dual-ur5-body) .hero,
  body:not(.dual-ur5-body) .hero-copy,
  body:not(.dual-ur5-body) .hero-card,
  body:not(.dual-ur5-body) .content-card,
  body:not(.dual-ur5-body) .feature-card,
  body:not(.dual-ur5-body) .publication-card,
  body:not(.dual-ur5-body) .future-paper-card,
  body:not(.dual-ur5-body) .project-card {
    max-width: 100%;
    min-width: 0;
  }

  body:not(.dual-ur5-body) .hero.section {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px;
    padding: 10px;
  }

  body:not(.dual-ur5-body) .hero-copy,
  body:not(.dual-ur5-body) .hero-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px;
    border-radius: 16px;
  }

  body:not(.dual-ur5-body) .hero-copy::after,
  body:not(.dual-ur5-body) .hero-card::after {
    width: 110px;
    height: 110px;
  }

  body:not(.dual-ur5-body) .eyebrow {
    margin-bottom: 6px;
    font-size: 0.66rem;
  }

  body:not(.dual-ur5-body) .hero h1 {
    margin-bottom: 6px;
    font-size: clamp(1.86rem, 10vw, 2.55rem);
    line-height: 1;
  }

  body:not(.dual-ur5-body) .hero-subtitle {
    display: block;
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.38;
  }

  body:not(.dual-ur5-body) .hero-text {
    display: block;
    max-width: 100%;
    margin-top: 7px;
    font-size: 0.78rem;
    line-height: 1.42;
  }

  body:not(.dual-ur5-body) .hero-subtitle,
  body:not(.dual-ur5-body) .hero-text,
  body:not(.dual-ur5-body) .section p,
  body:not(.dual-ur5-body) .section h2,
  body:not(.dual-ur5-body) .section h3,
  body:not(.dual-ur5-body) .section h4,
  body:not(.dual-ur5-body) .section li,
  body:not(.dual-ur5-body) .section a {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  body:not(.dual-ur5-body) .hero-actions,
  body:not(.dual-ur5-body) .contact-actions {
    gap: 6px;
    margin-top: 9px;
  }

  body:not(.dual-ur5-body) .button {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  body:not(.dual-ur5-body) .quick-links {
    gap: 5px 8px;
    margin-top: 8px;
    font-size: 0.74rem;
  }

  body:not(.dual-ur5-body) .hero-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 12px;
    align-items: center;
  }

  body:not(.dual-ur5-body) .avatar {
    width: 52px;
    height: 52px;
    font-size: 1.02rem;
  }

  body:not(.dual-ur5-body) .identity h2 {
    font-size: 1.05rem;
    line-height: 1.1;
  }

  body:not(.dual-ur5-body) .identity p {
    font-size: 0.72rem;
    line-height: 1.28;
  }

  body:not(.dual-ur5-body) .hero-facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 0;
  }

  body:not(.dual-ur5-body) .hero-facts div {
    padding-top: 8px;
  }

  body:not(.dual-ur5-body) .hero-facts dt {
    margin-bottom: 4px;
    font-size: 0.62rem;
  }

  body:not(.dual-ur5-body) .hero-facts dd {
    font-size: 0.74rem;
    line-height: 1.34;
  }

  body:not(.dual-ur5-body) .section-heading {
    margin-bottom: 10px;
  }

  body:not(.dual-ur5-body) .section-heading h2 {
    font-size: clamp(1.42rem, 7.8vw, 2rem);
    line-height: 1.08;
  }

  body:not(.dual-ur5-body) .section-subtitle,
  body:not(.dual-ur5-body) .section-note {
    font-size: 0.76rem;
    line-height: 1.38;
  }

  body:not(.dual-ur5-body) .content-card,
  body:not(.dual-ur5-body) .project-card,
  body:not(.dual-ur5-body) .stack-card,
  body:not(.dual-ur5-body) .timeline-item,
  body:not(.dual-ur5-body) .publication-card,
  body:not(.dual-ur5-body) .feature-card,
  body:not(.dual-ur5-body) .future-paper-card,
  body:not(.dual-ur5-body) .media-card {
    padding: 10px;
    border-radius: 14px;
  }

  body:not(.dual-ur5-body) .content-card h3,
  body:not(.dual-ur5-body) .project-card h3,
  body:not(.dual-ur5-body) .feature-card h3,
  body:not(.dual-ur5-body) .future-paper-card h3,
  body:not(.dual-ur5-body) .publication-card h3,
  body:not(.dual-ur5-body) .stack-card h3,
  body:not(.dual-ur5-body) .media-card h3 {
    font-size: 0.98rem;
    line-height: 1.18;
  }

  body:not(.dual-ur5-body) .content-card p,
  body:not(.dual-ur5-body) .project-card p,
  body:not(.dual-ur5-body) .feature-card p,
  body:not(.dual-ur5-body) .future-paper-card p,
  body:not(.dual-ur5-body) .publication-card p,
  body:not(.dual-ur5-body) .stack-card p,
  body:not(.dual-ur5-body) .media-card p {
    font-size: 0.74rem;
    line-height: 1.36;
  }

  body:not(.dual-ur5-body) .stack-list,
  body:not(.dual-ur5-body) .research-pills,
  body:not(.dual-ur5-body) .feature-links,
  body:not(.dual-ur5-body) .card-action-row {
    gap: 6px;
  }

  body:not(.dual-ur5-body) .feature-layout {
    padding: 12px;
  }

  body:not(.dual-ur5-body) .system-entry-focus,
  body:not(.dual-ur5-body) .vla-entry-focus {
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 14px;
  }

  body:not(.dual-ur5-body) .system-entry-focus-tags,
  body:not(.dual-ur5-body) .vla-entry-focus-tags,
  body:not(.dual-ur5-body) .tag-list {
    gap: 6px;
  }

  body:not(.dual-ur5-body) .system-entry-focus-tags span,
  body:not(.dual-ur5-body) .vla-entry-focus-tags span,
  body:not(.dual-ur5-body) .tag-list span,
  body:not(.dual-ur5-body) .project-meta-pill {
    min-height: 26px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  body:not(.dual-ur5-body) .metric-grid,
  body:not(.dual-ur5-body) .about-grid .about-content,
  body:not(.dual-ur5-body) .two-column,
  body:not(.dual-ur5-body) .contact-strip,
  body:not(.dual-ur5-body) .future-paper-grid,
  body:not(.dual-ur5-body) .project-grid,
  body:not(.dual-ur5-body) .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body:not(.dual-ur5-body) .feature-layout-system #featured-pipeline,
  body:not(.dual-ur5-body) .feature-layout-vla #vla-pipeline,
  body:not(.dual-ur5-body) .publication-list,
  body:not(.dual-ur5-body) .publication-list-compact {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body:not(.dual-ur5-body) .metric-card,
  body:not(.dual-ur5-body) .feature-layout-system #featured-metrics .metric-card,
  body:not(.dual-ur5-body) .feature-layout-vla #vla-metrics .metric-card {
    min-height: 0;
    padding: 10px;
  }

  body:not(.dual-ur5-body) .feature-layout-system .system-home-pipeline-step,
  body:not(.dual-ur5-body) .feature-layout-vla .vla-home-pipeline-step {
    padding: 10px;
    border-radius: 14px;
  }

  body:not(.dual-ur5-body) #news .timeline {
    gap: 10px;
  }

  body:not(.dual-ur5-body) #news .timeline-item {
    position: relative;
    padding-left: 18px;
  }

  body:not(.dual-ur5-body) #news .timeline-item::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 16px;
    bottom: -12px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(11, 110, 79, 0.45), rgba(208, 140, 49, 0.16));
  }

  body:not(.dual-ur5-body) #news .timeline-item::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 18px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(11, 110, 79, 0.08);
  }

  body:not(.dual-ur5-body) .media-card img,
  body:not(.dual-ur5-body) .media-card video,
  body:not(.dual-ur5-body) .media-motion {
    max-height: 260px;
    object-fit: cover;
  }

  body:not(.dual-ur5-body) .agri-showcase-card {
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
  }

  body:not(.dual-ur5-body) .agri-entry-grid {
    gap: 10px;
  }
}

@media (max-width: 430px) {
  body:not(.dual-ur5-body) .site-header {
    top: 5px;
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    padding: 6px 8px;
    border-radius: 18px;
  }

  body:not(.dual-ur5-body) .brand {
    min-height: 36px;
    padding-inline: 4px;
    font-size: 0.76rem;
  }

  .menu-toggle-icon { display: none; }

  body:not(.dual-ur5-body) .site-nav {
    gap: 2px;
    padding: 2px 0 4px;
  }

  body:not(.dual-ur5-body) .site-nav > a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  body:not(.dual-ur5-body) .nav-dropdown > summary {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  body:not(.dual-ur5-body) .nav-dropdown-menu a {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  body:not(.dual-ur5-body) .lang-button {
    min-width: 40px;
    min-height: 34px;
    padding: 0 6px;
    font-size: 0.72rem;
  }

  body:not(.dual-ur5-body) .page-shell {
    padding-inline: 6px;
  }

  body:not(.dual-ur5-body) .section {
    padding: 10px;
    border-radius: 16px;
  }

  body:not(.dual-ur5-body) .hero-copy,
  body:not(.dual-ur5-body) .hero-card {
    padding: 10px;
  }

  body:not(.dual-ur5-body) .hero h1 {
    font-size: clamp(1.72rem, 10.5vw, 2.2rem);
  }

  body:not(.dual-ur5-body) .hero-subtitle {
    font-size: 0.78rem;
  }

  body:not(.dual-ur5-body) .hero-text {
    font-size: 0.74rem;
  }

  body:not(.dual-ur5-body) .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  body:not(.dual-ur5-body) .hero-facts div {
    padding-top: 6px;
  }

  body:not(.dual-ur5-body) .feature-links,
  body:not(.dual-ur5-body) .card-action-primary,
  body:not(.dual-ur5-body) .card-action-secondary {
    grid-template-columns: 1fr;
  }

  body:not(.dual-ur5-body) .feature-links a,
  body:not(.dual-ur5-body) .action-link {
    width: 100%;
  }

  body:not(.dual-ur5-body) .content-card,
  body:not(.dual-ur5-body) .project-card,
  body:not(.dual-ur5-body) .stack-card,
  body:not(.dual-ur5-body) .timeline-item,
  body:not(.dual-ur5-body) .publication-card,
  body:not(.dual-ur5-body) .feature-card,
  body:not(.dual-ur5-body) .future-paper-card,
  body:not(.dual-ur5-body) .media-card {
    padding: 9px;
  }

  body:not(.dual-ur5-body) .metric-grid,
  body:not(.dual-ur5-body) .future-paper-grid,
  body:not(.dual-ur5-body) .project-grid,
  body:not(.dual-ur5-body) .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
}

/* Mobile reading pass: keep information dense without shrinking the whole page. */
@media (max-width: 900px) {
  body:not(.dual-ur5-body) {
    font-size: 16px;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }

  body:not(.dual-ur5-body) .page-shell {
    padding: 10px 10px 30px;
  }

  body:not(.dual-ur5-body) .section {
    margin-top: 12px;
    padding: 15px;
    border-radius: 18px;
  }

  body:not(.dual-ur5-body) .hero.section {
    gap: 10px;
  }

  body:not(.dual-ur5-body) .hero-copy,
  body:not(.dual-ur5-body) .hero-card {
    padding: 14px;
  }

  body:not(.dual-ur5-body) .hero h1 {
    font-size: clamp(2.25rem, 11.6vw, 3.1rem);
    line-height: 0.98;
  }

  body:not(.dual-ur5-body) .hero-subtitle {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  body:not(.dual-ur5-body) .hero-text {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  body:not(.dual-ur5-body) .section-heading h2 {
    font-size: clamp(1.74rem, 8.4vw, 2.45rem);
    line-height: 1.08;
  }

  body:not(.dual-ur5-body) .section-subtitle,
  body:not(.dual-ur5-body) .section-note,
  body:not(.dual-ur5-body) .section p,
  body:not(.dual-ur5-body) .section li {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  body:not(.dual-ur5-body) .content-card,
  body:not(.dual-ur5-body) .project-card,
  body:not(.dual-ur5-body) .stack-card,
  body:not(.dual-ur5-body) .timeline-item,
  body:not(.dual-ur5-body) .publication-card,
  body:not(.dual-ur5-body) .feature-card,
  body:not(.dual-ur5-body) .future-paper-card,
  body:not(.dual-ur5-body) .media-card {
    padding: 12px;
  }

  body:not(.dual-ur5-body) .content-card h3,
  body:not(.dual-ur5-body) .project-card h3,
  body:not(.dual-ur5-body) .feature-card h3,
  body:not(.dual-ur5-body) .future-paper-card h3,
  body:not(.dual-ur5-body) .publication-card h3,
  body:not(.dual-ur5-body) .stack-card h3,
  body:not(.dual-ur5-body) .media-card h3 {
    font-size: 1.04rem;
    line-height: 1.25;
  }

  body:not(.dual-ur5-body) .content-card p,
  body:not(.dual-ur5-body) .project-card p,
  body:not(.dual-ur5-body) .feature-card p,
  body:not(.dual-ur5-body) .future-paper-card p,
  body:not(.dual-ur5-body) .publication-card p,
  body:not(.dual-ur5-body) .stack-card p,
  body:not(.dual-ur5-body) .media-card p {
    font-size: 0.84rem;
    line-height: 1.52;
  }

  body:not(.dual-ur5-body) .future-paper-grid,
  body:not(.dual-ur5-body) .project-grid,
  body:not(.dual-ur5-body) .feature-grid,
  body:not(.dual-ur5-body) .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body:not(.dual-ur5-body) .publication-list,
  body:not(.dual-ur5-body) .publication-list-compact {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body:not(.dual-ur5-body) .tag-list span,
  body:not(.dual-ur5-body) .project-meta-pill,
  body:not(.dual-ur5-body) .system-entry-focus-tags span,
  body:not(.dual-ur5-body) .vla-entry-focus-tags span,
  body:not(.dual-ur5-body) .button,
  body:not(.dual-ur5-body) .action-link {
    min-height: 31px;
    font-size: 0.82rem;
  }
}

@media (max-width: 430px) {
  body:not(.dual-ur5-body) .section {
    padding: 13px;
  }

  body:not(.dual-ur5-body) .hero h1 {
    font-size: clamp(2.05rem, 11.2vw, 2.7rem);
  }

  body:not(.dual-ur5-body) .hero-subtitle,
  body:not(.dual-ur5-body) .section-subtitle,
  body:not(.dual-ur5-body) .section-note,
  body:not(.dual-ur5-body) .section p,
  body:not(.dual-ur5-body) .section li {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  body:not(.dual-ur5-body) .content-card p,
  body:not(.dual-ur5-body) .project-card p,
  body:not(.dual-ur5-body) .feature-card p,
  body:not(.dual-ur5-body) .future-paper-card p,
  body:not(.dual-ur5-body) .publication-card p,
  body:not(.dual-ur5-body) .stack-card p,
  body:not(.dual-ur5-body) .media-card p {
    font-size: 0.82rem;
  }
}

/* Mobile single-column reading mode. */
@media (max-width: 900px) {
  body:not(.dual-ur5-body) .section {
    padding: 16px;
  }

  body:not(.dual-ur5-body) .hero.section,
  body:not(.dual-ur5-body) .about-grid .about-content,
  body:not(.dual-ur5-body) .two-column,
  body:not(.dual-ur5-body) .metric-grid,
  body:not(.dual-ur5-body) .future-paper-grid,
  body:not(.dual-ur5-body) .project-grid,
  body:not(.dual-ur5-body) .project-grid-compact,
  body:not(.dual-ur5-body) .feature-grid,
  body:not(.dual-ur5-body) .publication-list,
  body:not(.dual-ur5-body) .publication-list-compact,
  body:not(.dual-ur5-body) .contact-strip,
  body:not(.dual-ur5-body) .feature-layout-system #featured-metrics,
  body:not(.dual-ur5-body) .feature-layout-vla #vla-metrics,
  body:not(.dual-ur5-body) .feature-layout-system #featured-pipeline,
  body:not(.dual-ur5-body) .feature-layout-vla #vla-pipeline,
  body:not(.dual-ur5-body) .agri-entry-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
  }

  body:not(.dual-ur5-body) .hero-copy,
  body:not(.dual-ur5-body) .hero-card,
  body:not(.dual-ur5-body) .content-card,
  body:not(.dual-ur5-body) .project-card,
  body:not(.dual-ur5-body) .stack-card,
  body:not(.dual-ur5-body) .timeline-item,
  body:not(.dual-ur5-body) .publication-card,
  body:not(.dual-ur5-body) .feature-card,
  body:not(.dual-ur5-body) .future-paper-card,
  body:not(.dual-ur5-body) .media-card {
    padding: 14px;
    border-radius: 16px;
  }

  body:not(.dual-ur5-body) .hero h1 {
    font-size: clamp(2.1rem, 10.2vw, 2.75rem);
    line-height: 1.02;
  }

  body:not(.dual-ur5-body) .section-heading h2 {
    font-size: clamp(1.82rem, 8.2vw, 2.35rem);
  }

  body:not(.dual-ur5-body) .hero-subtitle,
  body:not(.dual-ur5-body) .hero-text,
  body:not(.dual-ur5-body) .section-subtitle,
  body:not(.dual-ur5-body) .section-note,
  body:not(.dual-ur5-body) .section p,
  body:not(.dual-ur5-body) .section li {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  body:not(.dual-ur5-body) .content-card p,
  body:not(.dual-ur5-body) .project-card p,
  body:not(.dual-ur5-body) .feature-card p,
  body:not(.dual-ur5-body) .future-paper-card p,
  body:not(.dual-ur5-body) .publication-card p,
  body:not(.dual-ur5-body) .stack-card p,
  body:not(.dual-ur5-body) .media-card p {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  body:not(.dual-ur5-body) .content-card h3,
  body:not(.dual-ur5-body) .project-card h3,
  body:not(.dual-ur5-body) .feature-card h3,
  body:not(.dual-ur5-body) .future-paper-card h3,
  body:not(.dual-ur5-body) .publication-card h3,
  body:not(.dual-ur5-body) .stack-card h3,
  body:not(.dual-ur5-body) .media-card h3 {
    font-size: 1.13rem;
    line-height: 1.28;
  }

  body:not(.dual-ur5-body) .tag-list span,
  body:not(.dual-ur5-body) .project-meta-pill,
  body:not(.dual-ur5-body) .system-entry-focus-tags span,
  body:not(.dual-ur5-body) .vla-entry-focus-tags span,
  body:not(.dual-ur5-body) .button,
  body:not(.dual-ur5-body) .action-link {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  body:not(.dual-ur5-body) .media-card img,
  body:not(.dual-ur5-body) .media-card video,
  body:not(.dual-ur5-body) .media-motion {
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  body:not(.dual-ur5-body) .teaching-experience-grid,
  body:not(.dual-ur5-body) .community-subgrid,
  body:not(.dual-ur5-body) .stack-overview,
  body:not(.dual-ur5-body) .stack-groups,
  body:not(.dual-ur5-body) .honors-gallery,
  body:not(.dual-ur5-body) .experience-stack > div {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.dual-ur5-body) .teaching-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  body:not(.dual-ur5-body) .honors-highlight-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  body:not(.dual-ur5-body) .honors-showcase-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  body:not(.dual-ur5-body) .experience-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  body:not(.dual-ur5-body) .hero-actions,
  body:not(.dual-ur5-body) .contact-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.dual-ur5-body) .hero-actions .button,
  body:not(.dual-ur5-body) .contact-actions .button {
    justify-content: center;
  }

  body:not(.dual-ur5-body) .button,
  body:not(.dual-ur5-body) .action-link,
  body:not(.dual-ur5-body) .feature-links a,
  body:not(.dual-ur5-body) .card-action-primary a,
  body:not(.dual-ur5-body) .card-action-secondary a {
    min-height: 44px;
  }

  body:not(.dual-ur5-body) .filter-chip {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 430px) {
  body:not(.dual-ur5-body) .page-shell {
    padding-inline: 8px;
  }

  body:not(.dual-ur5-body) .section {
    padding: 14px;
  }

  body:not(.dual-ur5-body) .hero-copy,
  body:not(.dual-ur5-body) .hero-card,
  body:not(.dual-ur5-body) .content-card,
  body:not(.dual-ur5-body) .project-card,
  body:not(.dual-ur5-body) .stack-card,
  body:not(.dual-ur5-body) .timeline-item,
  body:not(.dual-ur5-body) .publication-card,
  body:not(.dual-ur5-body) .feature-card,
  body:not(.dual-ur5-body) .future-paper-card,
  body:not(.dual-ur5-body) .media-card {
    padding: 13px;
  }

  body:not(.dual-ur5-body) .hero-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.dual-ur5-body) .hero-actions,
  body:not(.dual-ur5-body) .contact-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.dual-ur5-body) .hero-actions .button,
  body:not(.dual-ur5-body) .contact-actions .button {
    width: 100%;
    justify-content: center;
  }

  body:not(.dual-ur5-body) .teaching-experience-grid,
  body:not(.dual-ur5-body) .stack-overview,
  body:not(.dual-ur5-body) .stack-groups,
  body:not(.dual-ur5-body) .community-subgrid {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.dual-ur5-body) .teaching-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body:not(.dual-ur5-body) .honors-highlight-row {
    flex-wrap: wrap;
  }

  body:not(.dual-ur5-body) .honors-showcase-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body:not(.dual-ur5-body) .honors-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.dual-ur5-body) .honors-media-card-wide {
    grid-column: auto;
  }

  body:not(.dual-ur5-body) .agri-showcase-card {
    gap: 10px;
    padding: 14px;
  }

  body:not(.dual-ur5-body) .agri-showcase-copy {
    gap: 8px;
  }

  body:not(.dual-ur5-body) .tag-list,
  body:not(.dual-ur5-body) .system-entry-focus-tags,
  body:not(.dual-ur5-body) .vla-entry-focus-tags {
    gap: 5px;
  }

  body:not(.dual-ur5-body) .tag-list span,
  body:not(.dual-ur5-body) .tag-list li,
  body:not(.dual-ur5-body) .system-entry-focus-tags span,
  body:not(.dual-ur5-body) .vla-entry-focus-tags span {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  body:not(.dual-ur5-body) .button,
  body:not(.dual-ur5-body) .action-link,
  body:not(.dual-ur5-body) .feature-links a {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.86rem;
  }

  body:not(.dual-ur5-body) .quick-links a {
    min-height: 34px;
    padding: 6px 10px;
  }

  body:not(.dual-ur5-body) .media-card figcaption {
    padding: 10px;
  }

  body:not(.dual-ur5-body) .media-card figcaption strong {
    font-size: 0.88rem;
  }

  body:not(.dual-ur5-body) .media-card figcaption span {
    font-size: 0.78rem;
    line-height: 1.42;
  }

  body:not(.dual-ur5-body) .experience-panel {
    padding: 14px;
    border-radius: 20px;
  }

  body:not(.dual-ur5-body) .experience-card {
    padding: 13px;
    border-radius: 16px;
  }

  body:not(.dual-ur5-body) .experience-card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  body:not(.dual-ur5-body) .section-heading h2 {
    font-size: clamp(1.62rem, 8.6vw, 2rem);
  }

  body:not(.dual-ur5-body) .section-subtitle,
  body:not(.dual-ur5-body) .section-note {
    font-size: 0.84rem;
  }

  body:not(.dual-ur5-body) .content-card h3,
  body:not(.dual-ur5-body) .project-card h3,
  body:not(.dual-ur5-body) .feature-card h3,
  body:not(.dual-ur5-body) .future-paper-card h3,
  body:not(.dual-ur5-body) .publication-card h3,
  body:not(.dual-ur5-body) .stack-card h3,
  body:not(.dual-ur5-body) .media-card h3 {
    font-size: 1.02rem;
    line-height: 1.25;
  }

  body:not(.dual-ur5-body) .content-card p,
  body:not(.dual-ur5-body) .project-card p,
  body:not(.dual-ur5-body) .feature-card p,
  body:not(.dual-ur5-body) .future-paper-card p,
  body:not(.dual-ur5-body) .publication-card p,
  body:not(.dual-ur5-body) .stack-card p,
  body:not(.dual-ur5-body) .media-card p {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  body:not(.dual-ur5-body) .filter-chip {
    min-height: 34px;
    padding: 6px 11px;
    font-size: 0.78rem;
  }

  body:not(.dual-ur5-body) .card-action-primary a,
  body:not(.dual-ur5-body) .card-action-secondary a,
  body:not(.dual-ur5-body) .feature-links a {
    min-height: 40px;
    font-size: 0.82rem;
  }
}

/* ===== Dual UR5 手机端全面优化 @ ≤520px ===== */
@media (max-width: 520px) {
  /* ── 间距与基础排版 ── */
  .dual-ur5-body { font-size: 15px; }
  .dual-ur5-page { padding-inline: 10px; }
  .dual-ur5-body .dual-band { margin-top: clamp(32px, 7vw, 48px); }
  .dual-ur5-body .dual-section-head { grid-template-columns: 1fr; gap: 4px; margin-bottom: 14px; }
  .dual-ur5-body .dual-section-head .dual-kicker { font-size: 0.72rem; }
  .dual-ur5-body .dual-section-head h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); max-width: 100%; }

  /* ── 站点导航 ── */
  .dual-ur5-body .site-header.dual-site-header { padding: 6px 12px; border-radius: 20px; }
  .dual-ur5-body .site-header .header-tools { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .dual-ur5-body .site-header .site-nav a { font-size: 0.78rem; padding: 0 10px; min-height: 32px; }

  /* ── Hero ── */
  .dual-ur5-body .dual-hero { padding: 80px 14px 18px; border-radius: 20px; min-height: auto; }
  .dual-ur5-body .dual-hero h1 { font-size: clamp(1.5rem, 7vw, 1.8rem); }
  .dual-ur5-body .dual-hero h1 .dual-title-code { font-size: clamp(1.4rem, 6.5vw, 1.7rem); }
  .dual-ur5-body .dual-hero-text { font-size: 0.88rem; line-height: 1.55; }
  .dual-ur5-body .dual-hero-flow { padding: 5px; gap: 4px; }
  .dual-ur5-body .dual-hero-flow span { flex: 1 1 calc(50% - 6px); font-size: 0.72rem; padding: 0 6px; min-height: 28px; }
  .dual-ur5-body .dual-hero-tags span { font-size: 0.68rem; padding: 3px 8px; }
  .dual-ur5-body .dual-hero-actions { flex-direction: column; gap: 8px; }
  .dual-ur5-body .dual-hero-actions .button { width: 100%; justify-content: center; font-size: 0.82rem; min-height: 42px; }
  .dual-ur5-body .dual-command-panel { padding: 14px; font-size: 0.82rem; }
  .dual-ur5-body .dual-command-panel p { font-size: 0.78rem; line-height: 1.5; }
  .dual-ur5-body .dual-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .dual-ur5-body .dual-stat-grid div { min-height: 58px; padding: 8px; }
  .dual-ur5-body .dual-stat-grid strong { font-size: 1.2rem; }
  .dual-ur5-body .dual-stat-grid span { font-size: 0.68rem; }
  .dual-ur5-body .dual-panel-tags span { font-size: 0.65rem; padding: 2px 7px; }
  .dual-ur5-body .dual-status-line { font-size: 0.75rem; }

  /* ── 总览区 ── */
  .dual-ur5-body .dual-overview-board { padding: 12px; border-radius: 20px; gap: 10px; }
  .dual-ur5-body .dual-overview-board { opacity: 1 !important; transform: none !important; }
  .dual-ur5-body .dual-overview-board * { opacity: 1 !important; }
  .dual-ur5-body .dual-overview-title { grid-template-columns: 1fr !important; gap: 6px !important; }
  .dual-ur5-body .dual-overview-title span { font-size: clamp(1.2rem, 5.5vw, 1.5rem); width: auto; max-width: 100%; }
  .dual-ur5-body .dual-overview-title strong { font-size: clamp(1.1rem, 5vw, 1.4rem); }
  .dual-ur5-body .dual-overview-card { padding: 12px; border-radius: 18px; }
  .dual-ur5-body .dual-overview-card h3 { font-size: 1rem; }
  .dual-ur5-body .dual-overview-card p { font-size: 0.82rem; line-height: 1.5; }
  .dual-ur5-body .dual-overview-card img, .dual-ur5-body .dual-overview-card video { height: 130px; }
  .dual-ur5-body .dual-overview-demo img, .dual-ur5-body .dual-overview-demo video { height: 180px; }
  .dual-ur5-body .dual-overview-card .dual-overview-index { width: 28px; height: 24px; font-size: 0.9rem; top: 12px; left: 12px; }
  .dual-ur5-body .dual-overview-tags span, .dual-ur5-body .dual-overview-chain span, .dual-ur5-body .dual-overview-chain strong { font-size: 0.68rem; min-height: 24px; padding: 0 9px; }
  .dual-ur5-body .dual-overview-flow { gap: 6px; padding: 8px; flex-wrap: wrap; }
  .dual-ur5-body .dual-overview-flow span { font-size: 0.72rem; padding: 5px 10px; flex: 1 1 calc(50% - 4px); }
  .dual-ur5-body .dual-overview-flow b { font-size: 0.78rem; }
  .dual-ur5-body .dual-overview-flow span:not(:last-child)::after, .dual-ur5-body .dual-overview-flow span:not(:last-child)::before { display: none; }
  .dual-ur5-body .dual-overview-mini div { padding: 8px; font-size: 0.82rem; }
  .dual-ur5-body .dual-overview-mini strong { font-size: 0.85rem; }
  .dual-ur5-body .dual-overview-detail p, .dual-ur5-body .dual-overview-detail li { font-size: 0.82rem; }
  .dual-ur5-body .dual-overview-lightline { display: none; }
  .dual-ur5-body .dual-overview-summary p { font-size: 0.82rem; }
  .dual-ur5-body .dual-overview-summary div span { font-size: 0.72rem; padding: 4px 8px; }
  /* ── 技术栈 ── */
  .dual-ur5-body .dual-skill-matrix { grid-template-columns: 1fr; gap: 10px; }
  .dual-ur5-body .dual-skill-matrix article { padding: 14px; border-radius: 16px; }
  .dual-ur5-body .dual-skill-matrix h3 { font-size: 1rem; }
  .dual-ur5-body .dual-skill-matrix p { font-size: 0.82rem; line-height: 1.5; }
  .dual-ur5-body .dual-stack-tags { gap: 4px; margin-block: 8px; }
  .dual-ur5-body .dual-stack-tags span { font-size: 0.68rem; padding: 3px 9px; min-height: 24px; }
  .dual-ur5-body .dual-repo-evidence { padding: 14px; border-radius: 18px; gap: 8px; }
  .dual-ur5-body .dual-repo-evidence a { padding: 10px 12px; border-radius: 12px; }
  .dual-ur5-body .dual-repo-evidence a span { font-size: 0.65rem; }
  .dual-ur5-body .dual-repo-evidence a strong { font-size: 0.85rem; }
  .dual-ur5-body .dual-repo-evidence a em { font-size: 0.72rem; }
  .dual-ur5-body .dual-repo-evidence-head span { font-size: 0.72rem; }
  .dual-ur5-body .dual-repo-evidence-head strong { font-size: 1rem; }
  .dual-ur5-body .dual-interface-strip { grid-template-columns: 1fr; gap: 8px; }
  .dual-ur5-body .dual-interface-strip article { padding: 12px; border-radius: 14px; }
  .dual-ur5-body .dual-interface-strip article span { font-size: 0.65rem; }
  .dual-ur5-body .dual-interface-strip article strong { font-size: 0.85rem; }
  .dual-ur5-body .dual-interface-strip article p { font-size: 0.72rem; }
  .dual-ur5-body .dual-stack-subhead { padding-top: 8px; }
  .dual-ur5-body .dual-stack-subhead span { font-size: 0.68rem; }
  .dual-ur5-body .dual-stack-subhead h3 { font-size: 1rem; }

  /* ── 决策网格 ── */
  .dual-ur5-body .dual-decision-grid { grid-template-columns: 1fr; gap: 8px; }
  .dual-ur5-body .dual-decision-grid article { padding: 14px; min-height: 0; }
  .dual-ur5-body .dual-decision-grid article span { font-size: 0.68rem; }
  .dual-ur5-body .dual-decision-grid article h3 { font-size: 0.92rem; }
  .dual-ur5-body .dual-decision-grid article p { font-size: 0.82rem; line-height: 1.5; }

  /* ── 系统闭环 (Loop) ── */
  .dual-ur5-body .dual-loop { grid-template-columns: 1fr; gap: 8px; }
  .dual-ur5-body .dual-loop-node { min-height: 0; padding: 14px; }
  .dual-ur5-body .dual-loop-node h3 { font-size: 0.95rem; }
  .dual-ur5-body .dual-loop-node p { font-size: 0.82rem; line-height: 1.5; }
  .dual-ur5-body .dual-loop-node span { font-size: 0.68rem; }
  .dual-ur5-body .dual-loop-node::before { width: 18px; height: 18px; margin-bottom: 10px; border-width: 4px; }
  .dual-ur5-body .dual-architecture-panel { grid-template-columns: 1fr; gap: 12px; padding: 14px; margin-top: 10px; }
  .dual-ur5-body .dual-arch-rail { gap: 6px; }
  .dual-ur5-body .dual-arch-rail span, .dual-ur5-body .dual-arch-rail strong { font-size: 0.78rem; padding: 4px 10px; }
  .dual-ur5-body .dual-arch-copy h3 { font-size: 0.95rem; }
  .dual-ur5-body .dual-arch-copy p { font-size: 0.82rem; line-height: 1.5; }

  /* ── 工程落地 ── */
  .dual-ur5-body .dual-system-architecture { padding: 10px !important; border-radius: 18px !important; }
  .dual-ur5-body .dual-link-card { padding: 10px !important; border-radius: 18px !important; }
  .dual-ur5-body .dual-system-diagram { aspect-ratio: auto !important; min-height: 0 !important; }
  .dual-ur5-body .dual-system-diagram { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
  .dual-ur5-body .dual-link-card { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
  .dual-ur5-body .dual-control-svg { width: auto !important; max-width: none !important; min-width: 800px !important; height: auto !important; }
  .dual-ur5-body .dual-mini-flow-svg { width: auto !important; max-width: none !important; min-width: 700px !important; height: auto !important; }
  .dual-ur5-body .dual-state-flow-svg { width: auto !important; max-width: none !important; min-width: 700px !important; height: auto !important; }
  .dual-ur5-body .dual-link-note { font-size: 0.78rem !important; padding: 8px 10px !important; line-height: 1.55; }
  
  .dual-ur5-body .dual-branch-grid { grid-template-columns: 1fr; gap: 8px; }
  .dual-ur5-body .dual-branch-card { padding: 14px; border-radius: 16px; }
  .dual-ur5-body .dual-branch-card h3 { font-size: 0.95rem; }
  .dual-ur5-body .dual-branch-card p { font-size: 0.82rem; line-height: 1.5; }
  .dual-ur5-body .dual-branch-card li, .dual-ur5-body .dual-branch-card code { font-size: 0.78rem; }
  .dual-ur5-body .dual-branch-index { font-size: 0.75rem; width: 26px; height: 26px; }
  .dual-ur5-body .dual-code-map { padding: 14px; border-radius: 18px; }
  .dual-ur5-body .dual-code-map-head span { font-size: 0.72rem; }
  .dual-ur5-body .dual-code-map-head strong { font-size: 0.95rem; }
  .dual-ur5-body .dual-code-map-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .dual-ur5-body .dual-code-map-grid div { padding: 10px; }
  .dual-ur5-body .dual-code-map-grid span { font-size: 0.68rem; }
  .dual-ur5-body .dual-code-map-grid code { font-size: 0.65rem; padding: 2px 6px; }
  .dual-ur5-body .dual-execution-timeline { padding: 14px; border-radius: 18px; }
  .dual-ur5-body .dual-execution-timeline ol { gap: 14px; }
  .dual-ur5-body .dual-execution-timeline li { min-height: 0; padding-left: 40px; }
  .dual-ur5-body .dual-execution-timeline li > span { width: 28px; height: 28px; font-size: 0.75rem; }
  .dual-ur5-body .dual-execution-timeline li strong { font-size: 0.88rem; }
  .dual-ur5-body .dual-execution-timeline li p { font-size: 0.78rem; line-height: 1.5; }
  .dual-ur5-body .dual-execution-head span { font-size: 0.72rem; }
  .dual-ur5-body .dual-execution-head strong { font-size: 0.95rem; }
  .dual-ur5-body .dual-terminal-panel { border-radius: 18px; }
  .dual-ur5-body .dual-terminal-body { padding: 12px; font-size: 0.72rem; line-height: 1.6; }
  .dual-ur5-body .dual-terminal-head strong { font-size: 0.72rem; }
  .dual-ur5-body .dual-limit-note { padding: 12px; border-radius: 16px; }
  .dual-ur5-body .dual-limit-note span { font-size: 0.68rem; }
  .dual-ur5-body .dual-limit-note strong { font-size: 0.9rem; }
  .dual-ur5-body .dual-limit-note p { font-size: 0.78rem; line-height: 1.5; }
  .dual-ur5-body .dual-section-head-rich h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .dual-ur5-body .dual-section-head-rich p { font-size: 0.82rem; }

  /* ── 通用小元素 ── */
  .dual-ur5-body .button { font-size: 0.82rem; min-height: 42px; }
  .dual-ur5-body .dual-section-head p:last-child { font-size: 0.82rem; }

  /* mobile: force visible to bypass IntersectionObserver flicker */
  .dual-ur5-body [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Dual_Arm_UR5 SVG link-diagram readability fix */
.dual-control-svg,
.dual-mini-flow-svg {
  text-rendering: geometricPrecision;
}

@media (max-width: 680px) {
  .dual-ur5-body .dual-system-architecture,
  .dual-ur5-body .dual-link-card {
    overflow: visible !important;
  }

  .dual-ur5-body .dual-system-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    align-items: start !important;
    margin-bottom: 14px !important;
  }

  .dual-ur5-body .dual-system-head strong {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
  }

  .dual-ur5-body .dual-system-diagram {
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    border-radius: 14px !important;
  }

  .dual-ur5-body .dual-link-svg-scroll {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    border-radius: 14px !important;
  }

  .dual-ur5-body .dual-control-svg,
  .dual-ur5-body .dual-mini-flow-svg {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .dual-ur5-body .dual-control-svg {
    aspect-ratio: 4 / 3;
  }

  .dual-ur5-body .dual-mini-flow-svg {
    aspect-ratio: 1000 / 640;
  }

  .dual-ur5-body .dual-state-flow-svg {
    aspect-ratio: 1000 / 1180;
  }
}
