html,
body {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;

  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;

  border-bottom: 1px solid rgba(24, 23, 20, 0.09);

  backdrop-filter: blur(16px);
  background: rgba(245, 243, 238, 0.9);
}

:root {
  --bg: #f5f3ee;
  --paper: #fbfaf7;
  --ink: #181714;
  --muted: #6e6b64;
  --line: #d8d3ca;
  --accent: #d95f2a;
  --dark: #171817;
  --max: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }
.page-width { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { max-width: 860px; }
.section-pad { padding: 92px 0; }
.soft { background: #ece9e2; }
.dark { background: var(--dark); color: #f6f4ef; }

.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: rgba(245,243,238,.9); border-bottom: 1px solid rgba(24,23,20,.09); }
.nav-wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; min-height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--accent); font-family: Georgia, serif; font-style: italic; font-size: 20px; }
.top-nav { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.top-nav a:hover, .paper-link:hover { color: var(--accent); }
.paper-link { justify-self: end; font-size: 14px; font-weight: 700; }

/* Hero: no teaser, centered academic landing block */
.hero { padding-top: 82px; padding-bottom: 76px; }
.hero-single { max-width: 1040px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow, .section-index, .feature-tag, .result-kicker { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 800; }
.eyebrow { color: var(--accent); margin-bottom: 22px; }
h1 { margin: 0; max-width: 1000px; font-size: clamp(42px, 6vw, 76px); line-height: .99; letter-spacing: -.045em; font-weight: 760; }
.accent { color: var(--accent); font-family: Georgia, serif; font-style: italic; font-weight: 600; }
.dek { margin: 26px auto 24px; font-size: 19px; color: #504d47; max-width: 820px; }
.authors { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; font-weight: 650; }
.authors span { white-space: nowrap; }
.affiliations { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; color: var(--muted); font-size: 14px; }
.footnote { margin-top: 6px; color: var(--muted); font-size: 12px; }
.logo-row { width: min(760px, 100%); margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.logo-card { background: rgba(255,255,255,.52); border: 1px solid rgba(24,23,20,.12); border-radius: 16px; padding: 12px 14px; min-height: 88px; display: grid; place-items: center; }
.logo-placeholder { background: linear-gradient(145deg, #efeae2, #f8f5ef); }
.org-logo { width: auto; max-width: 100%; height: 52px; object-fit: contain; display: block; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { min-height: 44px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--ink); font-size: 14px; font-weight: 750; display: inline-flex; align-items: center; }
.btn-primary { background: var(--ink); color: white; }
.btn-secondary:hover { background: #e6e1d8; }
.btn-disabled { color: #9a968e; border-color: #cfc9bf; cursor: not-allowed; }

.section-index { color: var(--accent); margin-bottom: 16px; }
.light-index, .result-kicker { color: #e99268; }
h2 { margin: 0; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.03; letter-spacing: -.035em; }
.statement p, .narrow > p { font-size: 19px; color: #4f4c46; }
.section-title-row { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: end; margin-bottom: 32px; }
.section-title-row > p { margin: 0; color: var(--muted); font-size: 16px; }
.light-copy p { color: #aeadab; }

/* Figures: keep every image inside the content column and preserve its aspect ratio. */
.research-figure {
  width: min(100%, 1180px);
  margin: 30px auto 28px;
  text-align: center;
}
.research-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 640px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.method-figure {
  width: min(100%, 980px);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.method-figure img {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  max-height: none;
  object-fit: contain;
  margin: 0 auto;
}
.research-figure figcaption {
  width: min(100%, 1040px);
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}
.research-figure figcaption strong { color: var(--ink); }
.dark-figure img { border-color: #3b3d38; }
.dark-figure figcaption { color: #aeadab; }
.dark-figure figcaption strong { color: #f6f4ef; }

.feature-grid { display: grid; gap: 18px; margin-top: 26px; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card { border-top: 1px solid var(--line); padding-top: 18px; }
.feature-card h3 { font-size: 23px; margin: 14px 0 8px; }
.feature-card p { color: var(--muted); margin: 0; }
.feature-tag { color: var(--accent); }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #373835; border-bottom: 1px solid #373835; margin: 34px 0 28px; }
.stat { padding: 28px 24px; border-right: 1px solid #373835; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(36px, 5vw, 60px); letter-spacing: -.04em; }
.stat span { color: #aaa9a6; font-size: 14px; }

.phystwin-block { margin-top: 42px; padding-top: 38px; border-top: 1px solid #373835; }
.phystwin-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: end; margin-bottom: 24px; }
.result-kicker { margin-bottom: 10px; }
.phystwin-heading h3 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.06; letter-spacing: -.03em; }
.phystwin-heading p { margin: 0; color: #aeadab; font-size: 15px; }
.object-video-group { margin-top: 34px; }
.object-video-title { display: flex; gap: 14px; align-items: baseline; margin-bottom: 12px; }
.object-index { color: #e99268; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.object-video-title h4 { margin: 0; font-size: 22px; font-weight: 720; }

/* Video comparisons: always show all four videos in one row. */
.four-video-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
}
.four-video-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  gap: 12px;
}
.video-panel {
  flex: 1 1 0;
  width: calc((100% - 36px) / 4);
  max-width: calc((100% - 36px) / 4);
  min-width: 0;
}
.video-title {
  min-height: 42px;
  margin-bottom: 7px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1px;
  text-align: center;
}
.video-title strong {
  font-size: clamp(11px, 1.05vw, 14px);
  line-height: 1.2;
}
.video-title span {
  font-size: clamp(9px, .85vw, 11px);
  color: #999b96;
  line-height: 1.2;
}
.video-panel video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #3b3d38;
  background: #111;
}
.real2sim-video-row { margin-top: 30px; }
.light-panel .video-title span { color: var(--muted); }
.light-panel video { border-color: var(--line); }

.citation-box { position: relative; background: #1d1e1c; color: #f3f2ee; border-radius: 18px; overflow: hidden; margin-top: 24px; }
pre { margin: 0; padding: 28px; overflow-x: auto; font-size: 13px; line-height: 1.65; }
.copy-btn { position: absolute; right: 14px; top: 14px; border: 1px solid #565852; background: #2a2b28; color: white; border-radius: 999px; padding: 9px 13px; cursor: pointer; }
.copy-btn:hover { background: #343631; }
footer { border-top: 1px solid var(--line); padding: 44px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.footer-inner strong { color: var(--ink); }
.footer-links { display: flex; gap: 20px; align-items: center; }

@media (max-width: 900px) {
  .top-nav { display: none; }
  .nav-wrap { grid-template-columns: 1fr auto; }
  .section-title-row, .phystwin-heading { grid-template-columns: 1fr; }
  .feature-grid.three, .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid #373835; }
  .stat:last-child { border-bottom: 0; }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .research-figure img { max-height: 560px; }
  .method-figure img { max-height: none; }
}
@media (max-width: 620px) {
  .section-pad { padding: 66px 0; }
  .page-width, .nav-wrap { width: min(calc(100% - 26px), var(--max)); }
  h1 { font-size: 42px; }
  .dek { font-size: 17px; }
  .logo-row { grid-template-columns: 1fr; max-width: 360px; }
  .org-logo { height: 48px; }
  .research-figure img { max-height: 460px; border-radius: 12px; }
  .method-figure img { max-height: none; }
  .four-video-grid { gap: 6px; }
  .video-title { min-height: 36px; margin-bottom: 5px; }
  .video-panel video { border-radius: 7px; }
  .footer-inner { flex-direction: column; }
}

.logo-row {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.logo-card {
  height: 104px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

