:root {
  --bg: #050816;
  --bg-2: #08111f;
  --panel: rgba(14, 27, 54, 0.74);
  --panel-strong: rgba(20, 39, 78, 0.92);
  --line: rgba(120, 180, 255, 0.25);
  --line-strong: rgba(61, 204, 255, 0.72);
  --text: #eef6ff;
  --muted: #9fb2c9;
  --dim: #73839a;
  --cyan: #19d5ff;
  --blue: #3577ff;
  --green: #4ce0a0;
  --amber: #ffd166;
  --red: #ff6b6b;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --radius: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(49, 124, 255, .23), transparent 32%),
    radial-gradient(circle at 86% 12%, rgba(0, 218, 255, .14), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(30, 220, 155, .08), transparent 26%),
    linear-gradient(135deg, #030613 0%, #08111f 44%, #040915 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 75%);
}

a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; }

.app-shell { min-height: 100vh; }
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(4, 9, 20, .72);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 300px; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(28,213,255,.18), rgba(53,119,255,.16));
  border: 1px solid rgba(25,213,255,.45);
  box-shadow: 0 0 26px rgba(25,213,255,.25);
}
.brand-text strong { display:block; font-size: 18px; letter-spacing: .2px; }
.brand-text span { display:block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav-link {
  padding: 10px 14px;
  color: #c9d9ee;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
}
.nav-link:hover, .nav-link.active {
  color: white;
  border-color: rgba(25,213,255,.45);
  background: rgba(25,213,255,.10);
}

.container { width: min(1440px, calc(100vw - 56px)); margin: 0 auto; }
.section { padding: 36px 0; }
.hero { padding: 54px 0 34px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 28px; align-items: stretch; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: #9defff;
  background: rgba(25,213,255,.08);
  border: 1px solid rgba(25,213,255,.35);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
h1 {
  font-size: clamp(48px, 6vw, 92px);
  line-height: .96;
  margin: 24px 0 18px;
  letter-spacing: -0.065em;
}
.gradient-text {
  background: linear-gradient(95deg, #fff 0%, #9defff 36%, #63f0c2 78%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 42px rgba(25,213,255,.18);
}
.lead {
  color: #c5d6eb;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.65;
  max-width: 820px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px;
  padding: 13px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  color: white;
  background: rgba(255,255,255,.06);
  transition: transform .18s ease, border .18s ease, background .18s ease;
  cursor: pointer;
  font-weight: 650;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(25,213,255,.55); background: rgba(25,213,255,.10); }
.btn.primary { background: linear-gradient(135deg, rgba(24,213,255,.92), rgba(53,119,255,.95)); box-shadow: 0 14px 34px rgba(25,213,255,.22); }
.btn.ghost { background: rgba(9,18,38,.54); }
.btn.small { padding: 9px 12px; min-height: 36px; border-radius: 10px; font-size: 13px; }

.glass-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 31, 64, .76), rgba(9, 17, 34, .72));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.glass-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25,213,255,.9), transparent);
  opacity: .7;
}
.card-pad { padding: 24px; }
.hero-visual { min-height: 520px; display: grid; grid-template-rows: auto 1fr auto; }
.preview-stack { position: relative; min-height: 350px; padding: 16px; }
.preview-card {
  position: absolute;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(150, 205, 255, .24);
  background: rgba(0,0,0,.25);
  box-shadow: 0 28px 60px rgba(0,0,0,.38);
}
.preview-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-card.main { left: 18px; right: 18px; top: 18px; height: 230px; }
.preview-card.sub-left { left: 24px; bottom: 26px; width: 48%; height: 168px; }
.preview-card.sub-right { right: 24px; bottom: 26px; width: 44%; height: 168px; }
.live-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(4,9,20,.72);
  border: 1px solid rgba(76,224,160,.45);
  color: #c8ffe5;
  font-size: 12px;
  z-index: 2;
}
.panel-title { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom: 18px; }
.panel-title h2, .panel-title h3 { margin: 0; letter-spacing: -.03em; }
.panel-title p { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }

.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 26px; }
.metric-card { padding: 20px; border-radius: 18px; background: rgba(9,18,38,.76); border: 1px solid rgba(148,185,255,.18); }
.metric-card .label { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.metric-subtitle { color: var(--dim); font-size: 11px; line-height: 1.35; min-height: 28px; margin-bottom: 10px; }
.metric-card .value { display:flex; align-items: baseline; gap: 8px; }
.metric-card .num { font-size: clamp(26px, 3vw, 42px); font-weight: 800; letter-spacing: -.045em; }
.metric-card .unit { color: var(--dim); font-size: 13px; }
.metric-card .tag { margin-top: 12px; font-size: 11px; color: #97e9ff; text-transform: uppercase; letter-spacing: .12em; }

.grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 22px; border-radius: 20px; border: 1px solid rgba(148,185,255,.18); background: rgba(9,18,38,.55); min-height: 180px; }
.feature-card h3 { margin: 10px 0 8px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.58; }
.icon-chip { width: 42px; height:42px; display:grid; place-items:center; border-radius: 14px; background: rgba(25,213,255,.1); border: 1px solid rgba(25,213,255,.32); color:#9defff; }

.pipeline { display: grid; gap: 13px; }
.pipeline-row { display: grid; grid-template-columns: 180px 1fr 120px; gap: 16px; align-items: center; padding: 15px; border-radius: 16px; background: rgba(9,18,38,.58); border: 1px solid rgba(148,185,255,.14); }
.stage-name strong { display:block; font-size: 15px; }
.stage-name span { display:block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.progress-track { position: relative; height: 14px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.progress-fill { position:absolute; inset:0 auto 0 0; width: 0%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green)); box-shadow: 0 0 20px rgba(25,213,255,.35); transition: width 1s ease; }
.progress-label { text-align: right; color: #dbeaff; font-weight: 750; }
.progress-label small { display:block; color: #dbeaff; font-weight: 750; margin-top: 0; }

.status-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.status-card { padding: 18px; border-radius:18px; background: rgba(9,18,38,.62); border: 1px solid rgba(148,185,255,.16); }
.status-card strong { display:block; margin-bottom: 8px; }
.status-card span { color: var(--muted); font-size: 13px; }
.ring { --p: 72; width: 86px; height:86px; border-radius: 50%; display:grid; place-items:center; margin: 16px auto 2px; background: conic-gradient(var(--cyan) calc(var(--p) * 1%), rgba(255,255,255,.09) 0); position: relative; }
.ring::after { content:""; position:absolute; inset: 9px; border-radius:50%; background: #0a1428; }
.ring b { position:relative; z-index:1; font-size: 18px; }

.media-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.media-card { overflow:hidden; border-radius:20px; background: rgba(9,18,38,.62); border: 1px solid rgba(148,185,255,.18); }
.media-thumb { aspect-ratio: 16/9; background:#030613; position: relative; overflow: hidden; }
.media-thumb img, .media-thumb video { width:100%; height:100%; object-fit:cover; display:block; }
.media-body { padding: 16px; }
.media-body h3 { margin:0 0 8px; font-size: 17px; }
.media-body p { margin:0; color:var(--muted); line-height:1.48; font-size: 13px; }
.play-overlay { position:absolute; inset:auto 14px 14px auto; width:44px; height:44px; display:grid; place-items:center; border-radius:50%; background:rgba(4,9,20,.75); border:1px solid rgba(25,213,255,.55); }

.live-layout { display:grid; grid-template-columns: 1.35fr .65fr; gap: 20px; min-height: calc(100vh - 120px); }
.iframe-panel { display:flex; flex-direction: column; min-height: calc(100vh - 128px); }
.frame-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding: 14px; border-bottom: 1px solid var(--line); }
.frame-toolbar .title { font-weight: 800; }
.frame-toolbar .hint { color:var(--muted); font-size: 12px; }
.live-frame { width:100%; flex:1; border:0; background:#050816; }
.backup-panel { display:flex; flex-direction:column; gap:16px; }
.backup-shot { border-radius:18px; overflow:hidden; border:1px solid rgba(148,185,255,.18); background:#040914; }
.backup-shot img { display:block; width:100%; }
.note-box { padding:16px; border-radius:18px; background:rgba(255,209,102,.08); border:1px solid rgba(255,209,102,.3); color:#ffe8a6; line-height:1.55; }

.arch-image { padding: 18px; }
.arch-image img { display:block; width:100%; border-radius: 18px; background:white; }
.step-line { display:grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top:18px; }
.step-pill { padding:14px; border-radius:16px; background: rgba(9,18,38,.62); border:1px solid rgba(25,213,255,.18); min-height: 105px; }
.step-pill strong { display:block; color:#dff8ff; margin-bottom:8px; }
.step-pill span { display:block; color:var(--muted); font-size:12px; line-height:1.4; }

.showcase-body { overflow: hidden; }
.showcase-stage { height: calc(100vh - 76px); display: grid; place-items: center; padding: 24px; }
.showcase-slide { width: min(1500px, 94vw); height: min(820px, 82vh); display:none; }
.showcase-slide.active { display:block; animation: fadeIn .7s ease; }
@keyframes fadeIn { from { opacity:0; transform: translateY(14px); } to { opacity:1; transform:none; } }
.full-image-card img { width:100%; height:100%; object-fit:contain; border-radius:22px; background:rgba(255,255,255,.02); }
.show-title { font-size: clamp(46px, 6vw, 92px); line-height:1; margin: 0 0 22px; letter-spacing:-.06em; }
.show-subtitle { font-size: clamp(20px, 2vw, 32px); color:#cce7ff; line-height:1.45; max-width: 1020px; }
.show-progress { position: fixed; left: 32px; right: 32px; bottom: 20px; height: 4px; background:rgba(255,255,255,.12); border-radius:999px; overflow:hidden; z-index: 20; }
.show-progress span { display:block; height:100%; width:0%; background:linear-gradient(90deg,var(--cyan),var(--green)); }

.footer { padding: 28px 0 40px; color: var(--dim); font-size: 13px; border-top: 1px solid rgba(148,185,255,.12); margin-top: 30px; }
.code-path { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; color:#c8f6ff; background:rgba(25,213,255,.08); padding:2px 6px; border-radius:7px; }

@media (max-width: 1100px) {
  .hero-grid, .grid-2, .live-layout { grid-template-columns: 1fr; }
  .metric-grid, .status-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid, .grid-3 { grid-template-columns: 1fr 1fr; }
  .step-line { grid-template-columns: repeat(2, 1fr); }
  .pipeline-row { grid-template-columns: 150px 1fr 100px; }
}
@media (max-width: 720px) {
  .navbar { align-items:flex-start; flex-direction:column; padding: 16px; }
  .container { width: min(100vw - 28px, 1440px); }
  .metric-grid, .status-grid, .media-grid, .grid-3 { grid-template-columns: 1fr; }
  .pipeline-row { grid-template-columns: 1fr; }
  .progress-label { text-align:left; }
  h1 { font-size: 46px; }
}


.missing-card .media-thumb {
  background: radial-gradient(circle at top, rgba(30, 215, 255, .14), rgba(2, 6, 17, .92));
}
.missing-asset {
  min-height: 220px;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  color: var(--muted);
  padding: 24px;
}
.missing-asset strong {
  color: var(--text);
  font-size: 20px;
}
.missing-asset span {
  word-break: break-all;
  font-size: 13px;
}
.asset-path {
  margin-top: 10px;
  font-size: 12px;
}

/* Updated video-first exhibition layout */
.preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #020611;
}
.preview-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(circle at 40% 20%, rgba(25, 213, 255, .22), transparent 38%),
    linear-gradient(135deg, rgba(8, 17, 35, .96), rgba(3, 6, 19, .98));
  color: var(--muted);
}
.preview-placeholder strong { color: var(--text); font-size: 20px; }
.preview-placeholder span { font-size: 13px; word-break: break-word; }
.preview-placeholder.small strong { font-size: 16px; }
.preview-placeholder.small span { font-size: 11px; }

.split-page {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(380px, .62fr);
  gap: 22px;
  width: min(1760px, calc(100vw - 48px));
  margin: 24px auto;
  min-height: calc(100vh - 124px);
}
.embed-panel {
  min-height: calc(100vh - 124px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 8, 22, .74);
  box-shadow: var(--shadow);
}
.embed-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 9, 20, .66);
}
.embed-topbar .title { font-weight: 800; font-size: 17px; }
.embed-topbar .hint { color: var(--muted); font-size: 12px; margin-top: 4px; }
.embed-panel iframe {
  width: 100%;
  flex: 1;
  border: 0;
  background: #030613;
}
.side-insight { min-height: calc(100vh - 124px); }
.backup-card { height: 100%; display: flex; flex-direction: column; }
.side-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #020611;
  border: 1px solid rgba(148,185,255,.18);
  border-radius: 18px;
}
.backup-missing {
  min-height: 320px;
  border-radius: 18px;
  border: 1px dashed rgba(25,213,255,.38);
  background: radial-gradient(circle at top, rgba(25,213,255,.12), rgba(2,6,17,.92));
}
.backup-missing small { color: var(--dim); max-width: 100%; word-break: break-word; }
.showcase-video-card {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
}
.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020611;
  border-radius: 20px;
  border: 1px solid rgba(148,185,255,.18);
}
.showcase-missing { height: 100%; }
.single-media-grid { grid-template-columns: minmax(320px, 760px); }

@media (max-width: 1200px) {
  .split-page { grid-template-columns: 1fr; }
  .side-insight, .embed-panel { min-height: auto; }
}

/* Exhibition overview redesign: story first, architecture second, data third */
.overview-grid { grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); }
.overview-hero-copy { min-height: 560px; display: flex; flex-direction: column; justify-content: center; }
.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.value-strip div {
  padding: 15px;
  border-radius: 16px;
  background: rgba(9,18,38,.62);
  border: 1px solid rgba(148,185,255,.16);
}
.value-strip strong { display:block; color:#e9fbff; margin-bottom:7px; font-size: 15px; }
.value-strip span { display:block; color: var(--muted); font-size: 12px; line-height: 1.42; }
.architecture-overview-card { display: flex; flex-direction: column; min-height: 560px; }
.architecture-mini-frame {
  flex: 1;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(148,185,255,.18);
}
.architecture-mini-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.architecture-stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.stack-item {
  padding: 14px;
  min-height: 108px;
  border-radius: 16px;
  background: rgba(9,18,38,.62);
  border: 1px solid rgba(25,213,255,.18);
}
.stack-item span { color: #9defff; font-size: 11px; letter-spacing: .12em; }
.stack-item strong { display:block; margin: 8px 0 5px; color:#fff; }
.stack-item small { color: var(--muted); line-height:1.35; }
.flow-chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.flow-node {
  position: relative;
  min-height: 150px;
  padding: 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 10%, rgba(25,213,255,.16), transparent 42%),
    rgba(9,18,38,.66);
  border: 1px solid rgba(148,185,255,.18);
}
.flow-node:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: #8aefff;
  font-weight: 900;
  font-size: 22px;
  z-index: 2;
}
.flow-node strong { display:block; color:#f4fbff; font-size: 18px; margin-bottom:10px; }
.flow-node span { color: var(--muted); line-height:1.5; font-size: 13px; }
.overview-metrics { margin-bottom: 24px; }
.overview-pipeline { margin-top: 10px; }
.recording-card { height: 100%; display: flex; flex-direction: column; }
.recording-missing {
  min-height: 320px;
  border-radius: 18px;
  border: 1px dashed rgba(25,213,255,.38);
  background: radial-gradient(circle at top, rgba(25,213,255,.12), rgba(2,6,17,.92));
}
.recording-missing small { color: var(--dim); max-width: 100%; word-break: break-word; }
.show-concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.show-concept-grid div {
  padding: 24px;
  min-height: 150px;
  border-radius: 22px;
  background: rgba(9,18,38,.66);
  border: 1px solid rgba(148,185,255,.18);
}
.show-concept-grid strong { display:block; font-size: 24px; margin-bottom: 12px; color:#eefaff; }
.show-concept-grid span { color: var(--muted); line-height: 1.5; font-size: 16px; }
.showcase-flow { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1300px) {
  .overview-grid { grid-template-columns: 1fr; }
  .overview-hero-copy, .architecture-overview-card { min-height: auto; }
  .flow-chain { grid-template-columns: 1fr; }
  .flow-node:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -22px; transform: translateX(50%); }
  .showcase-flow { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .value-strip, .architecture-stack, .show-concept-grid { grid-template-columns: 1fr; }
}

/* Current exhibition updates */
.logo-mark {
  width: 46px;
  height: 46px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  border-color: rgba(255,255,255,.38);
  box-shadow: 0 0 30px rgba(25,213,255,.28);
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}
.media-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.media-thumb video { width:100%; height:100%; object-fit:contain; display:block; background:#020611; }
.publication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.publication-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(9,18,38,.64);
  border: 1px solid rgba(148,185,255,.18);
  min-height: 560px;
  transition: transform .2s ease, border .2s ease, box-shadow .2s ease;
}
.publication-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25,213,255,.5);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}
.publication-card-large { min-height: 660px; }
.publication-cover {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(232,239,245,.98));
  border-bottom: 1px solid rgba(148,185,255,.16);
}
.publication-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.publication-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.paper-type {
  color: #9defff;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.publication-body h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.publication-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}
.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.paper-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #dffaff;
  background: rgba(25,213,255,.09);
  border: 1px solid rgba(25,213,255,.25);
  font-size: 12px;
}
.publication-actions { margin-top: 8px; }
.compact-publications .publication-card { min-height: 530px; }
.publication-showcase-card {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  gap: 36px;
  align-items: center;
  padding: 54px;
}
.publication-showcase-copy h2 {
  font-size: clamp(42px, 5vw, 76px);
  line-height: .98;
  margin: 26px 0 24px;
  letter-spacing: -.055em;
}
.publication-showcase-copy p {
  color: #c5d6eb;
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.55;
  max-width: 820px;
}
.publication-showcase-cover {
  height: 100%;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(148,185,255,.2);
  overflow: hidden;
}
.publication-showcase-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.showcase-tags { margin-top: 26px; }
.showcase-tags span { font-size: 15px; padding: 10px 13px; }
.showcase-venue { margin-top: 24px; color: #9defff; }
@media (max-width: 1200px) {
  .publication-grid { grid-template-columns: 1fr; }
  .publication-showcase-card { grid-template-columns: 1fr; overflow: auto; }
  .publication-showcase-cover { min-height: 360px; }
}


/* Materials Intelligence Portal module updates */
.brand { min-width: 380px; }
.brand-text strong { font-size: 19px; }
.brand-text span { font-size: 12px; letter-spacing: .01em; }
.nav-links { gap: 7px; }
.nav-link { padding: 9px 11px; font-size: 13px; }
.nav-link.exhibition-link {
  background: linear-gradient(135deg, rgba(24,213,255,.28), rgba(53,119,255,.26));
  border-color: rgba(25,213,255,.45);
  color: #eefcff;
  box-shadow: 0 0 20px rgba(25,213,255,.15);
}
.module-grid-home { grid-template-columns: repeat(3, 1fr); }
.module-carousel-window {
  position: relative;
  min-height: min(670px, 68vh);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(148,185,255,.16);
  background: rgba(4, 9, 20, .45);
}
.module-carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .55fr);
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}
.module-carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.module-video-frame {
  min-height: 100%;
  background: #020611;
  display: grid;
  place-items: center;
}
.module-video, .wide-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020611;
  display: block;
}
.module-video-copy {
  padding: 34px;
  border-left: 1px solid rgba(148,185,255,.14);
  background: linear-gradient(180deg, rgba(9,18,38,.78), rgba(9,18,38,.48));
  display: grid;
  align-content: center;
}
.module-video-copy h3 {
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.03;
  letter-spacing: -.05em;
  margin: 22px 0 18px;
}
.module-video-copy p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0; }
.carousel-dots { display: flex; gap: 9px; justify-content: center; margin-top: 18px; }
.carousel-dots span { width: 38px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.18); transition: background .25s ease, width .25s ease; }
.carousel-dots span.active { width: 62px; background: linear-gradient(90deg, var(--cyan), var(--green)); }
.large-missing { min-height: 520px; }
.wide-video { min-height: min(650px, 70vh); border-radius: 22px; border: 1px solid rgba(148,185,255,.16); }
.progress-label small { white-space: nowrap; }
@media (max-width: 1350px) {
  .navbar { padding: 14px 20px; }
  .brand { min-width: 320px; }
  .nav-link { padding: 8px 9px; font-size: 12.5px; }
}
@media (max-width: 1050px) {
  .module-carousel-slide { grid-template-columns: 1fr; overflow: auto; }
  .module-video-copy { border-left: 0; border-top: 1px solid rgba(148,185,255,.14); }
  .module-carousel-window { min-height: 820px; }
  .module-grid-home { grid-template-columns: 1fr; }
}


/* Final exhibition polish: compact Home layout and separated Robotics carousel */
:root { --nav-h: 66px; }
.container { width: min(1680px, calc(100vw - 48px)); }
.navbar { min-height: var(--nav-h); padding: 14px 30px; }
.brand { min-width: 330px; max-width: 430px; gap: 12px; }
.brand-text strong { font-size: 18px; line-height: 1.05; }
.brand-text span {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  color: #a8b9cf;
}
.logo-mark { width: 42px; height: 42px; flex: 0 0 42px; }
.nav-links { gap: 6px; }
.nav-link { padding: 8px 10px; font-size: 12.5px; }
.hero { padding: 32px 0 26px; }
.overview-grid {
  grid-template-columns: minmax(430px, .88fr) minmax(560px, 1.12fr);
  gap: 22px;
}
.overview-hero-copy,
.architecture-overview-card {
  min-height: 500px;
}
.overview-hero-copy { padding: 30px; }
.overview-hero-copy h1 {
  font-size: clamp(44px, 4.35vw, 74px);
  line-height: .99;
  margin: 20px 0 16px;
  letter-spacing: -.055em;
}
.overview-hero-copy .lead {
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.55;
  max-width: 720px;
}
.overview-hero-copy .value-strip {
  gap: 10px;
  margin-top: 22px;
}
.overview-hero-copy .value-strip div { padding: 13px; }
.overview-hero-copy .value-strip strong { font-size: 14px; }
.overview-hero-copy .value-strip span { font-size: 11.5px; line-height: 1.35; }
.overview-hero-copy .hero-actions { margin-top: 24px; }
.architecture-overview-card { padding: 24px 24px 20px; }
.architecture-overview-card .panel-title { margin-bottom: 14px; }
.architecture-overview-card .panel-title h2 { font-size: 26px; }
.architecture-overview-card .panel-title p { font-size: 15px; max-width: 720px; }
.architecture-mini-frame {
  min-height: 335px;
  padding: 10px;
}
.architecture-stack { gap: 8px; margin-top: 14px; }
.stack-item { min-height: 92px; padding: 12px; }
.stack-item strong { margin: 6px 0 4px; }
.stack-item small { font-size: 12px; }

.module-carousel-window.separate-video-rotation {
  min-height: min(620px, 66vh);
}
.module-carousel-window.separate-video-rotation .module-carousel-slide {
  grid-template-columns: minmax(0, 1.68fr) minmax(300px, .42fr);
}
.module-carousel-window.separate-video-rotation .module-video-copy {
  padding: 28px;
}
.module-carousel-window.separate-video-rotation .module-video-copy h3 {
  font-size: clamp(25px, 2.45vw, 40px);
}
.module-carousel-note {
  margin-top: 14px;
  color: var(--dim);
  font-size: 13px;
  text-align: center;
}
.video-index-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #dffaff;
  background: rgba(25,213,255,.10);
  border: 1px solid rgba(25,213,255,.28);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (min-width: 1700px) {
  .container { width: min(1720px, calc(100vw - 64px)); }
  .overview-grid { grid-template-columns: minmax(500px, .82fr) minmax(700px, 1.18fr); }
}
@media (max-width: 1450px) {
  .brand { min-width: 300px; max-width: 380px; }
  .brand-text strong { font-size: 17px; }
  .brand-text span { font-size: 10.5px; }
  .nav-link { padding: 7px 8px; font-size: 12px; }
  .overview-grid { grid-template-columns: minmax(390px, .92fr) minmax(500px, 1.08fr); }
  .overview-hero-copy h1 { font-size: clamp(42px, 4vw, 66px); }
}
@media (max-width: 1300px) {
  .overview-grid { grid-template-columns: 1fr; }
  .overview-hero-copy, .architecture-overview-card { min-height: auto; }
}
@media (max-width: 1050px) {
  .module-carousel-window.separate-video-rotation .module-carousel-slide { grid-template-columns: 1fr; }
  .module-carousel-window.separate-video-rotation { min-height: 820px; }
  .brand-text span { white-space: normal; }
}


/* Expert update: full names, plus marks, dedicated robotics video zones, and RLM overview */
.plus-mark {
  display: inline-block;
  margin: 0 6px 0 2px;
  color: #9defff;
  font-weight: 800;
  font-size: .92em;
}
.rlm-overview-grid {
  align-items: stretch;
}
.glass-subcard {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.rlm-side-grid {
  grid-template-columns: 1fr;
}
.robotics-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.robotics-video-card {
  min-height: min(760px, 76vh);
}
.robotics-wide-video {
  min-height: min(520px, 56vh);
}
.mir-split-page {
  margin-top: 0;
}
@media (max-width: 1250px) {
  .robotics-video-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1450px) {
  .nav-link {
    padding: 7px 7px;
    font-size: 11.3px;
  }
  .brand {
    min-width: 290px;
    max-width: 360px;
  }
  .brand-text strong {
    font-size: 17px;
  }
  .brand-text span {
    font-size: 10px;
  }
}
@media (max-width: 1200px) {
  .nav-links {
    justify-content: flex-start;
  }
}


/* Lab overview image and 50/50 live-system layouts */
.lab-overview-card {
  padding: 24px;
}
.lab-overview-frame {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(148,185,255,.18);
  background: rgba(4,9,20,.45);
  box-shadow: 0 28px 90px rgba(0,0,0,.32);
}
.lab-overview-frame img {
  width: 100%;
  display: block;
  object-fit: contain;
}
.fifty-fifty-page {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(1840px, calc(100vw - 48px));
  gap: 24px;
}
.fifty-fifty-page .embed-panel,
.fifty-fifty-page .side-insight {
  min-height: calc(100vh - 124px);
}
.fifty-fifty-page .side-insight .recording-card {
  min-height: calc(100vh - 124px);
}
.fifty-fifty-page .side-video {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
  height: 100%;
}
.feature-video-carousel {
  height: 100%;
}
.feature-video-window {
  flex: 1;
  min-height: min(680px, 68vh);
}
.feature-video-window .feature-video-slide {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}
.feature-video-copy {
  padding: 22px 24px 18px;
  background: linear-gradient(180deg, rgba(9,18,38,.88), rgba(9,18,38,.62));
  border-bottom: 1px solid rgba(148,185,255,.14);
}
.feature-video-copy h3 {
  margin: 12px 0 8px;
  font-size: clamp(24px, 2.2vw, 38px);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.feature-video-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}
.feature-video-frame {
  min-height: 0;
}
.feature-video-frame .recording-missing {
  height: 100%;
}
.mir-split-page .recording-card {
  min-height: calc(100vh - 124px);
}
.mir-split-page .side-video {
  flex: 1;
  min-height: min(620px, 64vh);
  aspect-ratio: auto;
}
@media (max-width: 1200px) {
  .fifty-fifty-page {
    grid-template-columns: 1fr;
  }
  .fifty-fifty-page .embed-panel,
  .fifty-fifty-page .side-insight,
  .fifty-fifty-page .side-insight .recording-card,
  .mir-split-page .recording-card {
    min-height: auto;
  }
}


/* Home intro full-width, side-by-side lab overview and architecture, and stacked Digital Twin videos */
.home-intro-section {
  padding-bottom: 12px;
}
.home-intro-card {
  min-height: auto;
  padding: 34px 34px 30px;
}
.home-intro-lead {
  max-width: 1180px;
}
.home-value-strip {
  margin-top: 26px;
}
.home-visual-section {
  padding-top: 12px;
}
.home-visual-grid {
  align-items: stretch;
}
.home-architecture-card,
.lab-overview-card {
  min-height: 100%;
}
.lab-overview-frame,
.home-architecture-card .architecture-mini-frame {
  min-height: 360px;
}
.digital-twin-stack-layout {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
}
.digital-twin-stack-layout .digital-twin-video-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.digital-twin-side-video {
  flex: 1;
  min-height: 250px;
  aspect-ratio: auto;
}
.digital-twin-stack-layout .recording-missing {
  flex: 1;
}
@media (max-width: 1200px) {
  .home-visual-grid {
    grid-template-columns: 1fr;
  }
  .digital-twin-stack-layout {
    grid-template-rows: auto auto;
  }
}


/* Digital Twin vertical layout: website on top, two videos below */
.digital-twin-vertical-page {
  display: grid;
  gap: 22px;
}
.digital-twin-top-panel {
  min-height: min(760px, 72vh);
}
.digital-twin-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-top: 0;
}
.digital-twin-bottom-grid .digital-twin-video-card {
  min-height: min(560px, 56vh);
}
.digital-twin-bottom-video {
  min-height: min(360px, 38vh);
}
@media (max-width: 1200px) {
  .digital-twin-bottom-grid {
    grid-template-columns: 1fr;
  }
  .digital-twin-top-panel {
    min-height: auto;
  }
}


/* Final update: Digital Twin videos first, full-width website below, compact Home intro */
.home-intro-section {
  padding: 18px 0 8px;
}
.home-intro-card {
  padding: 22px 26px 20px;
}
.home-intro-card .kicker {
  padding: 7px 12px;
  font-size: 11px;
}
.home-intro-card h1 {
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 1.02;
  margin: 12px 0 10px;
  letter-spacing: -.05em;
}
.home-intro-lead {
  font-size: clamp(14px, .95vw, 17px);
  line-height: 1.45;
  max-width: 1280px;
  margin-bottom: 0;
}
.home-value-strip {
  margin-top: 14px;
  gap: 10px;
}
.home-value-strip div {
  padding: 10px 12px;
}
.home-value-strip strong {
  font-size: 13px;
  margin-bottom: 5px;
}
.home-value-strip span {
  font-size: 11px;
  line-height: 1.32;
}
.home-intro-card .hero-actions {
  margin-top: 16px;
}
.home-intro-card .btn {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 13px;
}
.home-visual-section {
  padding-top: 8px;
}
.home-visual-grid .panel-title {
  margin-bottom: 10px;
}
.home-visual-grid .panel-title h2 {
  font-size: 22px;
}
.home-visual-grid .panel-title p {
  font-size: 13px;
  line-height: 1.4;
}
.lab-overview-frame,
.home-architecture-card .architecture-mini-frame {
  min-height: 330px;
}
.digital-twin-vertical-page {
  width: min(1840px, calc(100vw - 48px));
}
.digital-twin-video-grid-first {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}
.digital-twin-video-grid-first .digital-twin-video-card {
  min-height: min(560px, 52vh);
  display: flex;
  flex-direction: column;
}
.digital-twin-top-video {
  flex: 1;
  min-height: 360px;
  aspect-ratio: auto;
  object-fit: contain;
}
.digital-twin-website-panel {
  min-height: min(920px, 86vh);
  height: min(920px, 86vh);
  width: 100%;
}
.digital-twin-website-panel iframe {
  min-height: 0;
  height: 100%;
}
@media (max-width: 1200px) {
  .digital-twin-video-grid-first,
  .home-value-strip {
    grid-template-columns: 1fr;
  }
  .digital-twin-website-panel {
    height: 760px;
    min-height: 760px;
  }
}


/* Latest exhibition adjustment: make Digital Twin live website area taller.
   To tune sizes yourself:
   - Digital Twin website height: change .digital-twin-website-panel height/min-height below.
   - Digital Twin two video card height: change .digital-twin-video-grid-first .digital-twin-video-card.
   - Digital Twin video internal height: change .digital-twin-top-video min-height.
   - Home first intro height/text: change .home-intro-card h1, .home-intro-lead, .home-value-strip.
   - Home image/architecture height: change .lab-overview-frame and .home-architecture-card .architecture-mini-frame.
*/
.digital-twin-website-panel {
  min-height: 1180px;
  height: 1180px;
}
.digital-twin-website-panel iframe {
  height: 100%;
  min-height: 1080px;
}
@media (max-width: 1200px) {
  .digital-twin-website-panel {
    min-height: 940px;
    height: 940px;
  }
  .digital-twin-website-panel iframe {
    min-height: 860px;
  }
}


/* Materials intelligent manufacturing and separated robotics technical figures */
.manufacturing-section {
  padding-top: 14px;
}
.manufacturing-card {
  padding: 24px;
}
.manufacturing-frame {
  width: 100%;
  min-height: 360px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(148,185,255,.18);
}
.manufacturing-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.robotics-technical-section {
  padding-top: 20px;
}
.robotics-technical-card {
  padding: 26px;
}
.robotics-image-frame {
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(148,185,255,.18);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.robotics-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.wide-technical-image { min-height: 430px; }
.panoramic-technical-image { min-height: 320px; }
.generation-technical-image { min-height: 580px; }
@media (max-width: 1200px) {
  .manufacturing-frame { min-height: 280px; }
  .wide-technical-image, .panoramic-technical-image, .generation-technical-image { min-height: 260px; }
}


/* MIRecipe simplified metric display: minimal labels, no explanatory microcopy */
.mirecipe-metric-panel .panel-title,
.simple-panel-title {
  margin-bottom: 18px;
}
.mirecipe-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.clean-metric-card {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.clean-metric-card .label {
  font-size: 16px;
  color: #d8edff;
  margin-bottom: 12px;
}
.clean-metric-card .value {
  gap: 4px;
}
.clean-metric-card .num {
  font-size: clamp(34px, 3.6vw, 56px);
}
.mirecipe-pipeline-panel .panel-title,
.clean-pipeline .stage-name span,
.clean-metric-card .metric-subtitle,
.clean-metric-card .tag {
  display: none !important;
}
.clean-pipeline-row {
  grid-template-columns: 220px 1fr 150px;
  padding: 18px;
}
.clean-pipeline-row .stage-name strong {
  font-size: 17px;
}
.clean-pipeline-row .progress-track {
  height: 18px;
}
.clean-pipeline-row .progress-label small {
  font-size: 15px;
}
@media (max-width: 1200px) {
  .mirecipe-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .mirecipe-metric-grid {
    grid-template-columns: 1fr;
  }
  .clean-pipeline-row {
    grid-template-columns: 1fr;
  }
}


/* Physical AI exhibition update: larger heading/nav, cleaner Home, video-only RLM */
.brand-text strong {
  font-size: 26px !important;
  line-height: 1.02 !important;
  letter-spacing: -.02em;
}
.brand-text span {
  font-size: 13.5px !important;
  line-height: 1.2 !important;
  color: #b8c8dc !important;
}
.nav-link {
  font-size: 15px !important;
  font-weight: 760 !important;
  padding: 10px 13px !important;
}
.navbar {
  min-height: 78px !important;
}
.brand {
  min-width: 370px !important;
  max-width: 520px !important;
}
.physical-ai-home-hero {
  padding: 24px 0 10px !important;
}
.physical-ai-hero-card {
  padding: 24px 30px 22px !important;
}
.physical-ai-hero-card h1 {
  font-size: clamp(46px, 5vw, 82px) !important;
  margin: 14px 0 10px !important;
  line-height: .98 !important;
}
.compact-home-section {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}
.no-description-title {
  margin-bottom: 16px !important;
}
.no-description-title h2 {
  font-size: clamp(28px, 2.3vw, 42px);
}
.clean-module-grid .feature-card {
  min-height: 128px !important;
  display: grid;
  align-content: center;
}
.clean-module-grid .feature-card p,
.clean-publication-body p,
.panel-title p,
.stack-item small,
.flow-node span {
  display: none !important;
}
.physical-ai-stack .stack-item {
  min-height: 78px !important;
  display: grid;
  align-content: center;
}
.clean-flow-chain .flow-node {
  min-height: 110px !important;
  display: grid;
  place-items: center;
  text-align: center;
}
.clean-flow-chain .flow-node strong {
  margin: 0 !important;
}
.rlm-clean-page {
  padding-top: 34px;
}
.rlm-video-only-card {
  min-height: calc(100vh - 142px);
}
.rlm-only-video {
  flex: 1;
  min-height: min(760px, 72vh);
}
.rlm-video-only-card .panel-title {
  margin-bottom: 18px;
}
@media (max-width: 1500px) {
  .nav-link { font-size: 13.4px !important; padding: 9px 9px !important; }
  .brand { min-width: 330px !important; }
  .brand-text strong { font-size: 23px !important; }
  .brand-text span { font-size: 12px !important; }
}
@media (max-width: 1200px) {
  .brand { min-width: 290px !important; }
  .brand-text span { white-space: normal !important; }
}


/* Clean exhibition mode: remove public footer wording and simplify Robotics text density */
.robotics-clean-page .feature-card {
  min-height: 120px;
}
.robotics-clean-page .feature-card h3 {
  margin-bottom: 0;
}
.robotics-clean-page .panel-title.no-description-title {
  margin-bottom: 18px;
}


/* Branding update: Materials Intelligence (MI), Physical AI triad, GitHub call-to-action */
.brand {
  min-width: 500px !important;
  max-width: 650px !important;
}
.brand-text strong {
  font-size: 25px !important;
  letter-spacing: -.035em;
}
.brand-text span {
  font-size: 12.8px !important;
  white-space: nowrap;
}
.physical-ai-hero-card h1 {
  font-size: clamp(38px, 4.3vw, 72px) !important;
  line-height: 1.02 !important;
}
.materials-intelligent-title {
  align-items: flex-start !important;
}
.materials-intelligent-statement {
  display: block !important;
  max-width: 1180px;
  margin: 10px 0 0 !important;
  color: #c9d8ea !important;
  font-size: clamp(15px, 1.15vw, 19px) !important;
  line-height: 1.55 !important;
}
.github-link {
  white-space: nowrap;
  margin-top: 4px;
}
.showcase-materials-title {
  gap: 24px !important;
}
.showcase-statement {
  max-width: 1120px;
  font-size: clamp(17px, 1.45vw, 23px) !important;
}
.show-title {
  font-size: clamp(38px, 5vw, 82px) !important;
}
@media (max-width: 1500px) {
  .brand { min-width: 430px !important; max-width: 560px !important; }
  .brand-text strong { font-size: 22px !important; }
  .brand-text span { font-size: 11.4px !important; }
  .nav-link { font-size: 12.6px !important; padding: 8px 8px !important; }
}
@media (max-width: 1100px) {
  .brand { min-width: 300px !important; max-width: 100% !important; }
  .brand-text span { white-space: normal !important; }
  .materials-intelligent-title, .showcase-materials-title { flex-direction: column; align-items: flex-start !important; }
}


/* Update: keep the long Physical AI title on one line and simplify Robotics page */
.physical-ai-hero-card .home-physical-ai-title,
.physical-ai-hero-card h1.home-physical-ai-title {
  font-size: clamp(34px, 3.15vw, 56px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.055em !important;
}
.physical-ai-hero-card .title-nowrap,
.show-physical-ai-title .title-nowrap {
  white-space: nowrap;
}
.show-physical-ai-title {
  font-size: clamp(36px, 4.1vw, 70px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.055em !important;
}
.materials-intelligent-statement {
  margin: 12px 0 0;
  max-width: 1180px;
  color: var(--muted);
  font-size: clamp(15px, 1.1vw, 20px);
  line-height: 1.55;
}
.robotics-clean-page .section {
  margin-top: 28px;
}
.robotics-title-card {
  padding: 28px 32px;
}
.generation-card .panel-title {
  margin-bottom: 18px;
}
.generation-card h2 {
  font-size: clamp(32px, 3.4vw, 58px);
  letter-spacing: -0.04em;
}
.generation-four-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}
.generation-four-grid .robotics-image-frame {
  min-height: 420px;
}
.robotics-video-only-card {
  padding: 0;
  overflow: hidden;
}
.robotics-video-only-card .wide-video {
  min-height: min(760px, 78vh);
  border: 0;
  border-radius: 24px;
}
.engineering-chain-card,
.engineering-showcase-card {
  overflow: hidden;
}
.engineering-chain {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
  gap: 18px;
  align-items: center;
}
.engineering-step {
  background: linear-gradient(180deg, rgba(10, 20, 42, .9), rgba(6, 12, 28, .92));
  border: 1px solid rgba(148,185,255,.18);
  border-radius: 24px;
  padding: 16px;
  min-height: 280px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
}
.engineering-step img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 420px;
  object-fit: contain;
  background: rgba(255,255,255,.04);
  border-radius: 18px;
}
.engineering-step strong {
  color: var(--text);
  font-size: clamp(18px, 1.5vw, 28px);
  text-align: center;
}
.engineering-arrow {
  color: #8fffe8;
  font-size: clamp(34px, 3.8vw, 62px);
  font-weight: 900;
  line-height: 1;
}
.showcase-engineering-chain {
  height: 100%;
}
.engineering-showcase-card {
  height: 100%;
  display: grid;
  align-items: center;
}
@media (max-width: 1200px) {
  .generation-four-grid { grid-template-columns: 1fr; }
  .engineering-chain { grid-template-columns: 1fr; }
  .engineering-arrow { transform: rotate(90deg); text-align: center; }
}


/* Materials Intelligence statement and engineering prototype video */
.materials-intelligent-between {
  margin: -4px 0 20px;
  max-width: 1180px;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 22px);
  line-height: 1.55;
}
.engineering-step video,
.engineering-media {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 420px;
  object-fit: contain;
  background: rgba(255,255,255,.04);
  border-radius: 18px;
}
.engineering-missing {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 420px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(148,185,255,.25);
  border-radius: 18px;
}
.engineering-missing span { color: var(--text); font-weight: 800; }
.engineering-missing small { font-size: 12px; }


.digital-twin-story-page {
  display: grid;
  gap: 22px;
}
.digital-twin-image-section {
  padding-top: 0;
}
.story-image-card img {
  width: 100%;
  height: auto;
  max-height: 820px;
  object-fit: contain;
}
.digital-twin-post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.post-recording-card {
  display: flex;
  min-height: 340px;
}
.digital-twin-post-video {
  width: 100%;
  min-height: 340px;
  object-fit: contain;
  border-radius: 18px;
  background: #030712;
}
.showcase-post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  height: calc(100% - 72px);
}
.split-showcase-video {
  height: 100%;
}
@media (max-width: 980px) {
  .digital-twin-post-grid,
  .showcase-post-grid {
    grid-template-columns: 1fr;
  }
}


/* MIFactory block on Home and Showcase */
.mifactory-home-section {
  padding-top: 10px;
}
.mifactory-card {
  overflow: hidden;
}
.mifactory-media-frame {
  margin-top: 16px;
  min-height: 480px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(4, 10, 24, 0.55);
  border: 1px solid rgba(102, 220, 255, 0.16);
  overflow: hidden;
}
.mifactory-media {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  border-radius: 18px;
}
video.mifactory-media {
  height: 100%;
  min-height: 480px;
  background: #030712;
}
.mifactory-missing {
  min-height: 360px;
  width: 100%;
}
.showcase-mifactory-card img,
.showcase-mifactory-card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #030712;
  border-radius: 18px;
}
@media (max-width: 900px) {
  .mifactory-media-frame,
  video.mifactory-media {
    min-height: 320px;
  }
}


/* RLM literature upload and report generation panel */
.rlm-literature-uploader {
  padding-top: 6px;
}
.rlm-upload-layout {
  display: grid;
  grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: stretch;
}
.rlm-upload-zone {
  min-height: 420px;
  border: 1px dashed rgba(125, 170, 255, .55);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 15%, rgba(42, 155, 255, .18), transparent 38%),
    linear-gradient(180deg, rgba(11, 22, 48, .96), rgba(7, 13, 30, .92));
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rlm-upload-zone.drag-active {
  border-color: rgba(112,255,235,.9);
  box-shadow: 0 0 0 1px rgba(112,255,235,.35), 0 24px 80px rgba(23, 255, 232, .12);
  transform: translateY(-2px);
}
.upload-pdf-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  font-weight: 900;
  letter-spacing: .08em;
  color: white;
  background: linear-gradient(135deg, #ef4444, #991b1b);
  box-shadow: 0 18px 55px rgba(239, 68, 68, .24);
}
.rlm-upload-zone h3 {
  margin: 10px 0 0;
  font-size: clamp(30px, 2.8vw, 48px);
}
.rlm-upload-zone p {
  margin: 0;
  color: var(--text);
  font-size: clamp(18px, 1.45vw, 26px);
}
.rlm-upload-zone small {
  color: var(--muted);
  font-size: 14px;
}
.rlm-upload-button {
  margin-top: 8px;
}
.rlm-report-panel {
  min-height: 420px;
  border-radius: 28px;
  border: 1px solid rgba(148,185,255,.16);
  background: rgba(5, 13, 31, .72);
  padding: 24px;
  display: grid;
}
.rlm-report-empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px dashed rgba(148,185,255,.22);
  color: var(--muted);
  font-size: clamp(18px, 1.4vw, 24px);
}
.rlm-processing {
  align-self: center;
}
.rlm-processing-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.rlm-processing-head strong {
  color: var(--text);
  font-size: clamp(18px, 1.3vw, 24px);
}
.rlm-processing-head span {
  color: #8fffe8;
  font-weight: 800;
}
.rlm-processing-track {
  height: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  border: 1px solid rgba(148,185,255,.16);
}
.rlm-processing-track div {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6, #34d399);
  transition: width .55s cubic-bezier(.2,.8,.2,1);
}
.rlm-processing-steps {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.rlm-processing-steps span {
  color: var(--muted);
  border: 1px solid rgba(148,185,255,.16);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
}
.rlm-generated-report {
  display: grid;
  gap: 18px;
}
.report-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.report-topline h3 {
  margin: 4px 0 0;
  font-size: clamp(26px, 2.3vw, 40px);
}
.report-badge {
  border-radius: 999px;
  color: #06131f;
  background: linear-gradient(90deg, #8fffe8, #72b7ff);
  padding: 8px 14px;
  font-weight: 900;
}
.report-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.report-stat-grid div {
  border: 1px solid rgba(148,185,255,.16);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.05);
}
.report-stat-grid strong {
  display: block;
  color: var(--text);
  font-size: clamp(18px, 1.4vw, 26px);
}
.report-stat-grid span {
  color: var(--muted);
  font-size: 13px;
}
.report-preview {
  border: 1px solid rgba(148,185,255,.14);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255,255,255,.04);
}
.report-preview h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 18px;
}
.report-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 1100px) {
  .rlm-upload-layout {
    grid-template-columns: 1fr;
  }
  .report-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* RLM single-card literature upload flow: upload -> generated report -> progress */
.rlm-single-report-card {
  max-width: 1180px;
  margin: 0 auto;
}
.rlm-single-upload-zone {
  min-height: 460px;
  border: 1px dashed rgba(125, 170, 255, .58);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 14%, rgba(42, 155, 255, .18), transparent 38%),
    linear-gradient(180deg, rgba(11, 22, 48, .96), rgba(7, 13, 30, .92));
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
  padding: 36px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rlm-single-upload-zone.drag-active {
  border-color: rgba(112,255,235,.9);
  box-shadow: 0 0 0 1px rgba(112,255,235,.35), 0 24px 80px rgba(23, 255, 232, .12);
  transform: translateY(-2px);
}
.rlm-single-upload-zone h3 {
  margin: 10px 0 0;
  font-size: clamp(34px, 3vw, 54px);
}
.rlm-single-upload-zone p {
  margin: 0;
  color: var(--text);
  font-size: clamp(19px, 1.45vw, 28px);
}
.rlm-single-upload-zone small {
  color: var(--muted);
  font-size: 15px;
}
.rlm-upload-message {
  margin-top: 10px;
  border: 1px solid rgba(251, 191, 36, .28);
  background: rgba(251, 191, 36, .08);
  color: #fef3c7;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}
.rlm-single-processing,
.rlm-single-generated {
  min-height: 460px;
  border-radius: 30px;
  border: 1px solid rgba(148,185,255,.16);
  background:
    radial-gradient(circle at 10% 0%, rgba(50, 145, 255, .15), transparent 30%),
    rgba(5, 13, 31, .72);
  padding: clamp(24px, 2.8vw, 42px);
  align-content: center;
}
.rlm-single-processing .report-topline,
.rlm-single-generated .report-topline {
  margin-bottom: 28px;
}
.rlm-single-processing .report-topline h3,
.rlm-single-generated .report-topline h3 {
  font-size: clamp(30px, 2.8vw, 52px);
}
.completed-track {
  margin: -4px 0 20px;
}
@media (max-width: 900px) {
  .rlm-single-upload-zone,
  .rlm-single-processing,
  .rlm-single-generated {
    min-height: 360px;
  }
}


/* Strict state control for the RLM upload demo: only the upload module is visible before a file is selected. */
[hidden],
.is-hidden {
  display: none !important;
}
.rlm-single-report-card > .rlm-single-processing[hidden],
.rlm-single-report-card > .rlm-single-generated[hidden],
.rlm-upload-message[hidden] {
  display: none !important;
}
.rlm-upload-message {
  border-color: rgba(96, 165, 250, .34);
  background: rgba(37, 99, 235, .10);
  color: #dbeafe;
}


/* Media Wall: only the two dedicated exhibition videos */
.media-grid-two-only {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.media-grid-two-only .media-thumb {
  min-height: min(560px, 52vh);
}
.media-grid-two-only .media-body p {
  display: none;
}
@media (max-width: 1000px) {
  .media-grid-two-only {
    grid-template-columns: 1fr;
  }
}

/* Professional embedded RLM recipe report */
.rlm-report-document {
  align-content: stretch;
}
.rlm-report-content {
  max-height: min(980px, 72vh);
  overflow: auto;
  display: grid;
  gap: 18px;
  padding-right: 8px;
}
.json-report-section {
  border: 1px solid rgba(148,185,255,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  padding: 20px;
}
.json-report-section h4 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(18px, 1.4vw, 25px);
  letter-spacing: -.01em;
}
.json-report-section p,
.report-text-block p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14.5px;
}
.report-text-block p:last-child {
  margin-bottom: 0;
}
.report-table-wrap {
  overflow-x: auto;
}
.report-data-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--muted);
  font-size: 14px;
}
.report-data-table th,
.report-data-table td {
  border: 1px solid rgba(148,185,255,.16);
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
}
.report-data-table th {
  color: var(--text);
  background: rgba(114, 183, 255, .10);
  font-weight: 800;
}
.report-data-table td {
  background: rgba(255,255,255,.025);
}


/* RLM page expert alignment: make the video module and Literature-to-Recipe Report module the same width */
.rlm-clean-page {
  --rlm-module-width: 1280px;
}
.rlm-clean-page > .rlm-video-only-card,
.rlm-clean-page > .rlm-literature-uploader,
.rlm-clean-page .rlm-single-report-card {
  width: min(100%, var(--rlm-module-width));
  max-width: var(--rlm-module-width);
  margin-left: auto;
  margin-right: auto;
}
.rlm-clean-page > .rlm-literature-uploader {
  padding-left: 0;
  padding-right: 0;
}
.rlm-video-only-card {
  box-sizing: border-box;
}
.rlm-single-report-card {
  box-sizing: border-box;
}
@media (max-width: 1400px) {
  .rlm-clean-page {
    --rlm-module-width: 1180px;
  }
}

/* MIOS two-video module */
.mios-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.mios-video-card {
  min-height: min(760px, 76vh);
}
.mios-wide-video {
  min-height: min(560px, 58vh);
  object-fit: contain;
}
@media (max-width: 1100px) {
  .mios-video-grid {
    grid-template-columns: 1fr;
  }
}


.num-static {
  font-variant-numeric: tabular-nums;
}


/* MIRecipe metric refinement: 5 cards in one row and consistent Recipe Tokens number size */
.mirecipe-metric-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.clean-metric-card .num-static {
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--text);
}
.clean-metric-card .value {
  flex-wrap: nowrap;
}
@media (max-width: 1380px) {
  .mirecipe-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}


.mios-sequence-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.mios-sequence-card {
  width: 100%;
}
.mios-sequence-card .mios-wide-video,
.mios-sequence-card .large-missing {
  width: 100%;
  min-height: 520px;
}
@media (max-width: 980px) {
  .mios-sequence-card .mios-wide-video,
  .mios-sequence-card .large-missing {
    min-height: 320px;
  }
}


/* MIRecipe demonstration: local video first, external system opens in a new window */
.mirecipe-demo-section {
  padding-top: 0;
}
.mirecipe-demo-card {
  min-height: auto;
}
.mirecipe-demo-titlebar {
  align-items: center;
}
.mirecipe-demo-video {
  width: 100%;
  min-height: min(760px, 72vh);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 22px;
  background: #030712;
}
@media (max-width: 900px) {
  .mirecipe-demo-titlebar {
    align-items: flex-start;
  }
  .mirecipe-demo-video {
    min-height: 320px;
  }
}


/* Expanded exhibition mode */
.showcase-stage-expanded {
  height: calc(100vh - 56px);
  padding: 8px 18px 12px;
}
.showcase-stage-expanded .showcase-slide {
  width: min(1760px, 98vw);
  height: min(1040px, 95vh);
}
.showcase-fill-card {
  height: 100%;
}
.showcase-stage-expanded .showcase-video-card,
.showcase-stage-expanded .showcase-section-card,
.showcase-stage-expanded .publication-showcase-card,
.showcase-stage-expanded .engineering-showcase-card {
  height: 100%;
}
.showcase-stage-expanded .showcase-video {
  width: 100%;
  height: calc(100% - 78px);
  max-height: none;
  object-fit: contain;
}
.showcase-stage-expanded .full-image-card img,
.showcase-stage-expanded .showcase-mifactory-card img {
  width: 100%;
  height: calc(100% - 78px);
  max-height: none;
  object-fit: contain;
}
.showcase-stage-expanded .showcase-mifactory-card video {
  width: 100%;
  height: calc(100% - 78px);
  object-fit: contain;
}
.showcase-stage-expanded .panel-title {
  margin-bottom: 14px;
}
.showcase-stage-expanded .publication-showcase-card {
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
}
.showcase-stage-expanded .publication-showcase-cover {
  min-height: 0;
  height: 100%;
}
.showcase-stage-expanded .publication-showcase-cover img {
  height: 100%;
}
.showcase-stage-expanded .showcase-post-grid {
  height: calc(100% - 82px);
}
.showcase-stage-expanded .split-showcase-video {
  height: 100%;
}
.showcase-stage-expanded .engineering-showcase-card {
  overflow: hidden;
}
.showcase-stage-expanded .showcase-engineering-chain {
  height: calc(100% - 78px);
  align-items: center;
}
.showcase-stage-expanded .engineering-step {
  min-width: 260px;
}
.showcase-stage-expanded .engineering-step img,
.showcase-stage-expanded .engineering-media,
.showcase-stage-expanded .engineering-missing {
  width: 100%;
  height: 300px;
}
@media (max-width: 1200px) {
  .showcase-stage-expanded .showcase-slide {
    width: 98vw;
    height: 94vh;
  }
  .showcase-stage-expanded .publication-showcase-card {
    grid-template-columns: 1fr;
  }
}


/* Scrollable exhibition mode override */
.showcase-body {
  overflow-x: hidden;
  overflow-y: auto;
}
.showcase-stage {
  height: auto;
  min-height: calc(100vh - 76px);
  display: block;
  padding: 12px 18px 36px;
}
.showcase-stage-expanded {
  height: auto;
  min-height: calc(100vh - 56px);
  display: block;
  padding: 8px 18px 24px;
}
.showcase-stage-expanded .showcase-slide {
  width: min(1760px, 98vw);
  min-height: min(1040px, 95vh);
  height: auto;
  margin: 0 auto;
  overflow-y: auto;
  overflow-x: hidden;
}
.showcase-stage-expanded .showcase-fill-card {
  min-height: min(1040px, 95vh);
  height: auto;
}
.showcase-stage-expanded .showcase-video-card,
.showcase-stage-expanded .showcase-section-card,
.showcase-stage-expanded .publication-showcase-card,
.showcase-stage-expanded .engineering-showcase-card {
  min-height: min(1040px, 95vh);
  height: auto;
}
.showcase-stage-expanded .showcase-video,
.showcase-stage-expanded .full-image-card img,
.showcase-stage-expanded .showcase-mifactory-card img,
.showcase-stage-expanded .showcase-mifactory-card video {
  height: auto;
  min-height: 0;
  max-height: none;
}
