:root {
  --ink: #071735;
  --ink-soft: #24324d;
  --muted: #5d6980;
  --line: #d9e2ee;
  --paper: #ffffff;
  --mist: #f5f8fc;
  --blue: #1f7fff;
  --cyan: #14b8c6;
  --green: #63b96f;
  --amber: #c9862b;
  --deep: #081228;
  --panel: #0f1d3a;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(7, 23, 53, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 226, 238, 0.84);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand img {
  width: 210px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::before {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(90deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #eef5ff;
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: white;
  font-weight: 700;
}

.nav-cta:hover {
  background: #102d61;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--mist);
}

.section.dark {
  background: var(--deep);
  color: white;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section.dark .eyebrow {
  color: #78e0d7;
}

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

h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  font-weight: 820;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 780;
}

h3 {
  font-size: 1.28rem;
  font-weight: 760;
}

.lead {
  max-width: 720px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.section.dark .lead,
.section.dark .muted,
.hero .lead {
  color: #c9d7ec;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  background:
    linear-gradient(120deg, rgba(8, 18, 40, 0.96), rgba(13, 40, 82, 0.92)),
    radial-gradient(circle at 82% 28%, rgba(31, 127, 255, 0.24), transparent 34%),
    var(--deep);
  color: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
  gap: 56px;
  align-items: center;
}

.hero-simple {
  max-width: none;
}

.hero-title {
  width: 100%;
  max-width: none;
  display: grid;
  gap: 18px;
  font-size: clamp(2.7rem, 5.3vw, 4.25rem);
  line-height: 1;
}

.hero-title span {
  display: block;
}

@media (min-width: 761px) {
  .hero-title span {
    white-space: nowrap;
  }
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 780;
}

.button.primary {
  background: #ffffff;
  color: var(--ink);
}

.button.primary:hover {
  background: #eaf2ff;
}

.button.dark {
  background: var(--ink);
  color: white;
}

.button.dark:hover {
  background: #123267;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: white;
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.button.light:hover {
  background: #eef5ff;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}

.signal {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.signal strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.signal span {
  display: block;
  margin-top: 8px;
  color: #c9d7ec;
  font-size: 0.92rem;
}

.intelligence-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #77dfd7;
}

.window-dots span:nth-child(2) {
  background: #82b8ff;
}

.window-dots span:nth-child(3) {
  background: #e1a75a;
}

.panel-tag {
  color: #b9c8df;
  font-size: 0.84rem;
  font-weight: 700;
}

.panel-body {
  padding: 22px;
}

.query-box {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 23, 53, 0.72);
}

.query-box p {
  color: #e8f0fb;
  font-weight: 700;
}

.agent-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.agent-step {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(20, 184, 198, 0.18);
  color: #8ce8df;
  font-weight: 800;
}

.agent-step strong {
  display: block;
  color: white;
  font-size: 0.95rem;
}

.agent-step span {
  color: #b9c8df;
  font-size: 0.86rem;
}

.status {
  color: #82e4a6;
  font-size: 0.84rem;
  font-weight: 800;
}

.mini-chart {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.bar {
  display: grid;
  grid-template-columns: 92px 1fr 54px;
  gap: 10px;
  align-items: center;
  color: #d9e6f7;
  font-size: 0.85rem;
}

.bar-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.intro-grid,
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 54px;
  align-items: start;
}

.mode-grid,
.card-grid,
.research-grid,
.partner-grid,
.team-grid,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.card,
.mode,
.research-item,
.partner,
.team-card,
.quote-panel,
.metric-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
}

.card,
.mode,
.research-item,
.partner,
.quote-panel,
.metric-panel {
  padding: 24px;
}

.card h3,
.mode h3,
.research-item h3,
.partner h3 {
  margin-bottom: 12px;
}

.card p,
.mode p,
.research-item p,
.partner p,
.quote-panel .muted {
  color: var(--muted);
}

.mode {
  border-top: 4px solid var(--blue);
}

.mode:nth-child(2) {
  border-top-color: var(--cyan);
}

.mode:nth-child(3) {
  border-top-color: var(--amber);
}

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

.audience-card {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
}

.audience-institutions {
  background: white;
}

.audience-card h3 {
  max-width: 480px;
  font-size: clamp(1.8rem, 2.5vw, 2.25rem);
  line-height: 1.12;
}

.audience-card > p {
  max-width: 510px;
  margin-top: 12px;
  color: var(--muted);
}

.audience-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.audience-path li {
  position: relative;
  min-width: 0;
  min-height: 170px;
  padding: 22px;
  border-radius: 6px;
  background: #174ea6;
  color: white;
}

.audience-path li:nth-child(2) {
  background: #087589;
}

.audience-path li:nth-child(3) {
  background: #287b52;
}

.audience-institutions .audience-path li:nth-child(1) {
  background: #5b4da3;
}

.audience-institutions .audience-path li:nth-child(2) {
  background: #8e3f63;
}

.audience-institutions .audience-path li:nth-child(3) {
  background: #9d4e1d;
}

.audience-path li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -19px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(7, 23, 53, 0.18);
  content: "\2192";
  font-size: 1rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.audience-path span,
.audience-path strong,
.audience-path small {
  display: block;
}

.audience-path span {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.audience-institutions .audience-path span {
  color: rgba(255, 255, 255, 0.78);
}

.audience-path strong {
  font-size: 1.22rem;
}

.audience-path small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.45;
}

.advisory-band {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #eef3f8;
  color: var(--ink);
}

.advisory-band p {
  margin-top: 7px;
  color: var(--muted);
}

.advisory-band .button {
  flex: 0 0 auto;
}

.audience-head {
  display: block;
  margin-bottom: 34px;
}

.audience-head h2 {
  max-width: none;
  font-size: clamp(2.4rem, 4.3vw, 3.4rem);
}

@media (min-width: 761px) {
  .audience-head h2 {
    white-space: nowrap;
  }
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head .muted {
  max-width: 360px;
}

.usecase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.case-tabs-shell {
  display: grid;
  gap: 20px;
}

.case-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.case-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink-soft);
  font: inherit;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(7, 23, 53, 0.06);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.case-tab:hover {
  background: #eef5ff;
  color: var(--ink);
  transform: translateY(-1px);
}

.case-tab.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #0e3d79, #1f7fff);
  color: white;
  box-shadow: 0 18px 42px rgba(31, 127, 255, 0.22);
}

.case-tab[data-case-tab="partnership"].is-active {
  background: linear-gradient(135deg, #1d5f3a, #63b96f);
  box-shadow: 0 18px 42px rgba(99, 185, 111, 0.24);
}

.case-tab[data-case-tab="portfolio"].is-active {
  background: linear-gradient(135deg, #0e3d79, #1f7fff);
  box-shadow: 0 18px 42px rgba(31, 127, 255, 0.22);
}

.case-tab[data-case-tab="shock"].is-active {
  background: linear-gradient(135deg, #0f5d68, #14b8c6);
  box-shadow: 0 18px 42px rgba(20, 184, 198, 0.22);
}

.case-panels {
  min-width: 0;
}

.case-panel {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: 0 18px 50px rgba(7, 23, 53, 0.08);
}

.case-panel[hidden] {
  display: none;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: 24px;
  color: white;
}

.case-copy h3 {
  max-width: 190px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.case-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.case-blue .case-copy {
  background: linear-gradient(160deg, #0e3d79, #1f7fff);
}

.case-teal .case-copy {
  background: linear-gradient(160deg, #0f5d68, #14b8c6);
}

.case-green .case-copy {
  background: linear-gradient(160deg, #1d5f3a, #63b96f);
}

.case-visual {
  margin: 0;
  min-height: 560px;
  padding: 24px;
  display: grid;
  align-items: center;
  gap: 18px;
  background: #fbfdff;
}

.plot-frame {
  min-width: 0;
  height: 100%;
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid #d6e2ef;
  border-radius: var(--radius);
  background: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.plot-frame-large {
  width: 100%;
  min-height: 500px;
  justify-self: center;
}

.plot-frame img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
}

.plot-frame-large img {
  max-height: 430px;
  width: 100%;
}

.plot-frame img.zoom-out {
  width: 84%;
  max-height: 390px;
}

.case-portfolio .case-visual {
  justify-items: stretch;
}

.case-portfolio .plot-frame-large {
  width: 100%;
  justify-self: stretch;
}

.case-portfolio .plot-frame-large img.zoom-out {
  width: 100%;
  max-height: 520px;
}

.figure-pair {
  grid-template-columns: 1fr;
}

.publication-panel {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 18px 50px rgba(7, 23, 53, 0.08);
}

.publication-panel h3 {
  margin-bottom: 4px;
}

.publication-panel a {
  display: block;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.publication-panel strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.35;
}

.publication-panel span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.publication-panel a:hover strong {
  color: var(--blue);
}

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

.metric-strip div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.metric-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.metric-strip span {
  color: var(--muted);
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.partner-logo {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  text-align: center;
}

.partner-logo strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.partner-logo span {
  color: var(--muted);
  font-size: 0.9rem;
}

.compact-steps {
  display: grid;
  gap: 14px;
}

.compact-steps div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.compact-steps b {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

.compact-steps strong {
  align-self: end;
  font-size: 1.05rem;
}

.compact-steps span {
  color: var(--muted);
}

.publication-compact {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.publication-compact a {
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font-weight: 760;
}

.publication-compact a:hover {
  border-color: #9cc5ff;
  background: #f5f9ff;
  color: var(--blue);
}

.publication-row {
  margin-top: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.contact-band {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.contact-band h2 {
  text-align: center;
}

.kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf7ff;
  color: #105cae;
  font-size: 0.78rem;
  font-weight: 800;
}

.process {
  display: grid;
  gap: 14px;
}

.process-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.process-step b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
}

.process-step h3 {
  margin-bottom: 6px;
}

.visual-report {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  overflow: hidden;
}

.report-header {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.report-body {
  padding: 22px;
  display: grid;
  gap: 18px;
}

.report-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 18px;
  align-items: center;
}

.report-line {
  height: 12px;
  border-radius: 999px;
  background: #e5edf6;
  overflow: hidden;
}

.report-line span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.report-note {
  padding: 18px;
  border-left: 4px solid var(--green);
  background: #f0faf4;
  color: #224630;
}

.page-hero {
  padding: 76px 0 64px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.page-hero .lead {
  color: var(--ink-soft);
}

.breadcrumb {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.93rem;
}

.split-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.split-list li {
  margin: 0;
  padding: 0;
}

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

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.feature-list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-soft);
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #dff7ec;
  color: #177d4c;
  content: "✓";
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
}

.publication-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.publication {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.publication span {
  color: var(--blue);
  font-weight: 800;
}

.publication a {
  color: var(--ink);
  font-weight: 760;
}

.publication a:hover {
  color: var(--blue);
}

.team-card {
  overflow: hidden;
  width: 280px;
  flex: 0 0 280px;
}

.team-carousel {
  margin-top: 34px;
  overflow: hidden;
}

.team-track {
  width: max-content;
  display: flex;
  gap: 18px;
  animation: team-scroll 44s linear infinite;
  will-change: transform;
}

.team-set {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
}

.team-carousel:hover .team-track,
.team-carousel:focus-within .team-track {
  animation-play-state: paused;
}

@keyframes team-scroll {
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eaf0f7;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-photo img.portrait-crop {
  transform: translateY(-13%) scale(1.22);
  transform-origin: center 24%;
}

.team-photo img.portrait-anbang {
  transform-origin: 58% 24%;
}

.team-photo.placeholder {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 2.2rem;
  font-weight: 820;
  background:
    linear-gradient(135deg, rgba(31, 127, 255, 0.16), rgba(20, 184, 198, 0.12)),
    #edf3fa;
}

.team-info {
  padding: 20px;
}

.team-research {
  margin-top: 78px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.research-head {
  display: block;
  margin-bottom: 30px;
}

.research-head h2 {
  max-width: none;
}

.research-head .muted {
  max-width: none;
  margin-top: 14px;
  font-size: 1.05rem;
}

.research-tabs {
  margin-bottom: 0;
}

.research-evidence-layout {
  align-items: start;
}

.research-visual-column {
  min-width: 0;
}

.research-publication-panel {
  top: 98px;
}

.research-tab[data-research-tab="portfolio"].is-active {
  background: linear-gradient(135deg, #0e3d79, #1f7fff);
  box-shadow: 0 18px 42px rgba(31, 127, 255, 0.22);
}

.research-tab[data-research-tab="partnership"].is-active {
  background: linear-gradient(135deg, #1d5f3a, #63b96f);
  box-shadow: 0 18px 42px rgba(99, 185, 111, 0.24);
}

.research-tab[data-research-tab="resilience"].is-active {
  background: linear-gradient(135deg, #0f5d68, #14b8c6);
  box-shadow: 0 18px 42px rgba(20, 184, 198, 0.22);
}

.research-panel[hidden] {
  display: none;
}

.research-panel-summary {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

#research-panel-resilience .research-publications {
  grid-template-columns: minmax(0, 760px);
}

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

.research-publication {
  min-height: 174px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 13px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: white;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.research-publication:nth-child(3n + 2) {
  border-left-color: var(--cyan);
}

.research-publication:nth-child(3n) {
  border-left-color: var(--green);
}

.research-publication:hover {
  border-color: #9fc3ee;
  box-shadow: 0 14px 34px rgba(7, 23, 53, 0.09);
  transform: translateY(-2px);
}

.research-publication span,
.research-publication small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
}

.research-publication strong {
  font-size: 1.08rem;
  line-height: 1.4;
}

.research-publication small {
  color: var(--blue);
  font-weight: 800;
}

.role {
  margin: 8px 0 12px;
  color: var(--blue);
  font-weight: 780;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.contact-method {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
}

.contact-method a {
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 800;
}

.footer {
  padding: 44px 0;
  background: #f3f6fa;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer img {
  width: 162px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--blue);
}

.small {
  font-size: 0.92rem;
}

.product-demo-section {
  background: white;
}

.product-demo-head {
  display: block;
  margin-bottom: 30px;
}

.product-demo-head h2 {
  max-width: none;
}

.product-demo-head .muted {
  max-width: 720px;
  margin-top: 14px;
  font-size: 1.05rem;
}

.team-head {
  display: block;
}

.team-head h2 {
  max-width: none;
}

.team-head .muted {
  max-width: none;
  margin-top: 14px;
  font-size: 1.05rem;
}

@media (min-width: 761px) {
  .product-demo-head h2,
  .team-head .muted {
    white-space: nowrap;
  }
}

.product-demo-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.product-demo-tab {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7faff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 760;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.product-demo-tab span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid #bfd0e5;
  border-radius: 50%;
  color: #47617f;
  font-size: 0.78rem;
}

.product-demo-tab:hover {
  border-color: #97b9e7;
  background: #eef5ff;
  transform: translateY(-1px);
}

.product-demo-tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.product-demo-tab.is-active span {
  border-color: #66d8d0;
  background: #16365e;
  color: #9af1e9;
}

.product-demo-frame {
  overflow: hidden;
  border: 1px solid #cbd8e8;
  border-radius: var(--radius);
  background: #f7faff;
  box-shadow: 0 28px 70px rgba(7, 23, 53, 0.14);
}

.product-screen[hidden] {
  display: none;
}

.demo-topbar {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  border-bottom: 1px solid #d8e2ee;
  background: white;
}

.demo-topbar > strong {
  font-size: 1.05rem;
}

.demo-topbar > span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.demo-profile {
  justify-self: end;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3f6f3;
  color: #126b69;
  font-size: 0.76rem;
  font-weight: 800;
}

.demo-app-grid {
  min-height: 570px;
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr) 286px;
}

.demo-side-nav {
  padding: 20px 12px;
  border-right: 1px solid #d8e2ee;
  background: #0c1b35;
}

.demo-side-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #c8d4e7;
  font-size: 0.86rem;
  font-weight: 680;
}

.demo-side-nav a:hover,
.demo-side-nav a.is-current {
  background: #173154;
  color: white;
}

.demo-side-nav b {
  min-width: 24px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #224a76;
  color: #93eee5;
  font-size: 0.7rem;
  text-align: center;
}

.demo-main,
.application-brief {
  min-width: 0;
  padding: 28px;
  background: #fbfdff;
}

.demo-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.demo-title-row h3 {
  font-size: 1.35rem;
}

.demo-title-row p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.demo-status,
.insight-label {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e5f6f2;
  color: #126b5f;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.opportunity-list {
  margin-top: 24px;
  border: 1px solid #d7e1ed;
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}

.opportunity-row {
  width: 100%;
  min-height: 108px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid #e1e8f1;
  background: white;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

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

.opportunity-row.is-selected {
  background: #eff6ff;
}

.opportunity-row.is-selected {
  box-shadow: inset 4px 0 0 var(--blue);
}

.fit-score,
.deadline,
.opportunity-copy {
  display: flex;
  flex-direction: column;
}

.fit-score strong {
  color: #126b5f;
  font-size: 1.14rem;
}

.fit-score,
.deadline small,
.opportunity-copy small {
  color: var(--muted);
  font-size: 0.75rem;
}

.opportunity-copy strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.opportunity-copy small {
  margin-top: 5px;
}

.deadline {
  text-align: right;
}

.deadline strong {
  font-size: 0.84rem;
}

.demo-insight {
  padding: 28px 22px;
  border-left: 1px solid #d8e2ee;
  background: white;
}

.demo-insight h3 {
  margin-top: 16px;
  font-size: 1.55rem;
}

.fit-meter,
.readiness-meter {
  height: 7px;
  margin-top: 12px;
  border-radius: 999px;
  background: #e4ebf3;
  overflow: hidden;
}

.fit-meter span,
.readiness-meter span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #18a698;
}

.fit-meter span {
  width: 92%;
}

.insight-block {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e1e8f1;
}

.insight-block > strong,
.insight-block p strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
}

.insight-block p {
  color: var(--muted);
  font-size: 0.84rem;
}

.collaborator-match {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 11px;
}

.collaborator-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8effa;
  color: #28527f;
  font-size: 0.72rem;
  font-weight: 800;
}

.demo-action {
  width: 100%;
  min-height: 44px;
  margin-top: 28px;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 780;
  cursor: pointer;
}

.demo-action:hover {
  background: #123267;
}

.demo-plan-grid {
  min-height: 570px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 260px;
}

.plan-progress,
.next-actions {
  padding: 28px 20px;
  background: white;
}

.plan-progress {
  border-right: 1px solid #d8e2ee;
}

.plan-progress > p {
  color: var(--muted);
  font-size: 0.8rem;
}

.plan-progress > strong {
  display: block;
  margin-top: 3px;
  font-size: 1.65rem;
}

.readiness-meter span {
  width: 35%;
  background: var(--blue);
}

.plan-progress ol {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.plan-progress li {
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
}

.plan-progress li::after {
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 14px;
  width: 1px;
  background: #d8e2ee;
  content: "";
}

.plan-progress li:last-child::after {
  display: none;
}

.plan-progress li > span {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd7e5;
  border-radius: 50%;
  background: white;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.plan-progress li.is-done > span,
.plan-progress li.is-current > span {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.plan-progress li strong,
.plan-progress li small {
  display: block;
}

.plan-progress li strong {
  font-size: 0.82rem;
}

.plan-progress li small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.brief-section {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #d8e2ee;
  border-radius: var(--radius);
  background: white;
}

.brief-section h4 {
  margin: 0 0 9px;
  font-size: 0.9rem;
}

.brief-section p,
.brief-section li {
  color: var(--muted);
  font-size: 0.84rem;
}

.brief-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.brief-section ul {
  margin: 0;
  padding-left: 18px;
}

.brief-section li + li {
  margin-top: 6px;
}

.brief-gap {
  border-top: 3px solid #d69a42;
}

.next-actions {
  border-left: 1px solid #d8e2ee;
}

.next-actions h3 {
  margin-bottom: 17px;
  font-size: 1.08rem;
}

.next-actions button {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 2px 9px;
  padding: 15px 0;
  border: 0;
  border-top: 1px solid #e1e8f1;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.next-actions button:hover strong {
  color: var(--blue);
}

.next-actions button span {
  grid-row: span 2;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.next-actions button strong {
  font-size: 0.84rem;
}

.next-actions button small {
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .two-col,
  .contact-panel,
  .usecase-layout,
  .case-tabs-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .publication-panel {
    position: static;
  }

  .demo-app-grid {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .demo-insight {
    grid-column: 1 / -1;
    border-top: 1px solid #d8e2ee;
    border-left: 0;
  }

  .demo-plan-grid {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .next-actions {
    grid-column: 1 / -1;
    border-top: 1px solid #d8e2ee;
    border-left: 0;
  }

  .mode-grid,
  .card-grid,
  .research-grid,
  .partner-grid,
  .team-grid,
  .use-case-grid,
  .partner-strip,
  .publication-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav {
    width: min(100% - 28px, var(--max));
    min-height: 68px;
  }

  .brand img {
    width: 160px;
    max-height: 42px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
  }

  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding: 68px 0 54px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .audience-path {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 34px;
  }

  .audience-path li {
    min-height: 132px;
    padding: 20px;
  }

  .audience-path li + li {
    padding-left: 20px;
  }

  .audience-path li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -18px;
    left: 50%;
    content: "\2193";
    transform: translateX(-50%);
  }

  .audience-path strong {
    font-size: 1.05rem;
  }

  .audience-path small {
    font-size: 0.86rem;
  }

  .team-card {
    width: 250px;
    flex-basis: 250px;
  }

  .team-research {
    margin-top: 58px;
    padding-top: 52px;
  }

  .research-publications {
    grid-template-columns: 1fr;
  }

  .research-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #research-panel-resilience .research-publications {
    grid-template-columns: 1fr;
  }

  .research-publication {
    min-height: 0;
  }

  .advisory-band {
    display: block;
    padding: 24px 20px;
  }

  .advisory-band .button {
    width: 100%;
    margin-top: 20px;
  }

  .product-demo-tabs {
    gap: 6px;
  }

  .product-demo-tab {
    min-height: 64px;
    gap: 8px;
    padding: 12px;
    font-size: 0.86rem;
  }

  .product-demo-tab span {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .demo-topbar {
    grid-template-columns: 1fr auto;
    padding: 10px 14px;
  }

  .demo-topbar > span {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .demo-profile {
    grid-column: 2;
    grid-row: 1;
  }

  .demo-app-grid,
  .demo-plan-grid {
    grid-template-columns: 1fr;
  }

  .demo-side-nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 10px;
    border-right: 0;
  }

  .demo-side-nav a {
    flex: 0 0 auto;
  }

  .demo-main,
  .application-brief,
  .demo-insight,
  .plan-progress,
  .next-actions {
    padding: 20px 16px;
  }

  .opportunity-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 13px;
  }

  .deadline {
    grid-column: 2;
    text-align: left;
  }

  .demo-insight,
  .next-actions {
    grid-column: auto;
  }

  .plan-progress {
    border-right: 0;
    border-bottom: 1px solid #d8e2ee;
  }

  .brief-columns {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 58px 0 46px;
  }

  .case-panel {
    grid-template-columns: 1fr;
  }

  .case-tabs {
    gap: 4px;
  }

  .case-copy {
    min-height: auto;
    gap: 14px;
  }

  .case-copy h3 {
    max-width: none;
  }

  .case-visual {
    min-height: 0;
    padding: 14px;
  }

  .figure-pair {
    grid-template-columns: 1fr;
  }

  .plot-frame,
  .plot-frame-large {
    width: 100%;
    min-height: 0;
    padding: 14px;
  }

  .plot-frame img,
  .plot-frame-large img,
  .plot-frame img.zoom-out {
    width: 100%;
    max-height: none;
  }

  .contact-band {
    display: block;
  }

  .contact-band .button {
    margin-top: 18px;
  }

  .signal-row,
  .mode-grid,
  .card-grid,
  .research-grid,
  .partner-grid,
  .team-grid,
  .use-case-grid,
  .metric-strip,
  .partner-strip,
  .publication-compact {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .muted {
    margin-top: 16px;
  }

  .agent-step {
    grid-template-columns: 32px 1fr;
  }

  .agent-step .status {
    grid-column: 2;
  }

  .publication {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .team-carousel {
    overflow-x: auto;
  }

  .team-track {
    animation: none;
  }
}
