:root {
  --page: #f5f7f3;
  --paper: #ffffff;
  --ink: #173039;
  --ink-deep: #0d2029;
  --muted: #64777a;
  --line: #dfe6e2;
  --lime: #d4ed78;
  --teal: #476f70;
  --shadow: 0 18px 55px rgba(24, 49, 50, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: "Segoe UI", "Aptos", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid #70aab2; outline-offset: 4px; }
.shell { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 100; padding: 12px 18px; background: var(--ink); color: white; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(19, 50, 55, 0.08); background: rgba(245, 247, 243, 0.9); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; gap: 30px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 750; letter-spacing: -0.055em; white-space: nowrap; }
.brand-icon { position: relative; width: 28px; height: 28px; transform: rotate(-15deg); }
.brand-icon span { position: absolute; display: block; width: 13px; height: 13px; border: 2px solid var(--ink); border-radius: 3px; }
.brand-icon span:nth-child(1) { top: 0; left: 0; background: var(--lime); }
.brand-icon span:nth-child(2) { top: 5px; right: 0; background: #add4cd; }
.brand-icon span:nth-child(3) { bottom: 0; left: 3px; background: #fff; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); margin-left: auto; }
.main-nav a { font-size: 13px; font-weight: 650; color: #4a6267; transition: color 180ms ease; }
.main-nav a:hover { color: #0f373a; }
.header-action { display: inline-flex; align-items: center; gap: 15px; margin-left: 10px; padding: 12px 18px; border: 1px solid var(--ink); border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; transition: background 180ms ease, color 180ms ease; }
.header-action:hover { color: white; background: var(--ink); }
.header-action span { font-size: 17px; line-height: .6; }

.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(38px, 5vw, 82px); min-height: 674px; padding-block: 72px 78px; }
.eyebrow, .section-kicker, .art-card-top, .stat-intro, .step-number, .structure-image figcaption, .state-pair figcaption, .object-type, .card-index, .motion-frame-top, .dialog-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 28px; color: #4f7274; }
.eyebrow-line { width: 24px; height: 2px; background: #527f80; }
.hero h1 { margin: 0 0 18px; font-size: clamp(64px, 7vw, 106px); line-height: .94; letter-spacing: -.08em; font-weight: 780; }
.hero h1 > span:first-child { font-weight: 500; }
.hero-period { color: #9ac859; }
.hero-subtitle { max-width: 650px; margin: 0 0 22px; font-size: clamp(19px, 2vw, 26px); line-height: 1.28; letter-spacing: -.035em; font-weight: 680; }
.hero-description { max-width: 600px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 50px; padding: 12px 21px; border-radius: 8px; font-size: 13px; font-weight: 750; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(12, 43, 45, .16); }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: #27535a; }
.button span { font-size: 17px; line-height: .6; }
.text-link { display: inline-flex; align-items: center; gap: 9px; border-bottom: 1px solid #91a6a0; padding-bottom: 4px; font-size: 12px; font-weight: 700; }
.text-link span { font-size: 17px; }
.hero-caption { display: flex; align-items: center; gap: 9px; margin: 54px 0 0; color: #7d8e8c; font-size: 11px; font-weight: 650; letter-spacing: .01em; }
.caption-mark { display: inline-block; width: 7px; height: 7px; border: 2px solid #84b68c; border-radius: 50%; }

.hero-art { position: relative; min-width: 0; }
.hero-art-grid { display: grid; grid-template-columns: 1.18fr .82fr; grid-template-rows: 229px 229px; gap: 14px; transform: rotate(1.5deg); }
.hero-art-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; box-shadow: 0 16px 36px rgba(35, 64, 62, .10); }
.hero-art-main { grid-row: 1 / 3; }
.tone-slate { background: radial-gradient(circle at 45% 40%, #d7e2dc, #9cbcb8 78%); }
.tone-sage { background: radial-gradient(circle at 45% 35%, #eef1dd, #b4cbb1 80%); }
.tone-amber { background: radial-gradient(circle at 50% 40%, #f8e6ca, #d9c2a1 80%); }
.tone-mint { background: radial-gradient(circle at 50% 45%, #deeee6, #a4cab9 80%); }
.tone-lime { background: radial-gradient(circle at 50% 45%, #edf0cd, #c5d1a2 80%); }
.tone-silver { background: radial-gradient(circle at 50% 45%, #e4e9e9, #b9c6cb 80%); }
.tone-ice { background: radial-gradient(circle at 50% 45%, #e7f3f1, #b1d5d7 80%); }
.tone-coral { background: radial-gradient(circle at 50% 45%, #f4e6d7, #d9c3b2 80%); }
.tone-cream { background: radial-gradient(circle at 50% 45%, #f9f1d7, #dfd5b1 80%); }
.hero-art-card::after, .object-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.20), transparent 32%, rgba(18,41,42,.08)); }
.hero-art-card img { width: 100%; height: 100%; object-fit: contain; }
.hero-art-main img { transform: scale(1.13); }
.hero-art-small img { transform: scale(1.02); }
.art-card-top, .art-card-bottom { position: absolute; z-index: 1; left: 19px; color: #224b4f; }
.art-card-top { top: 18px; }
.art-card-bottom { right: 19px; bottom: 17px; display: flex; justify-content: space-between; font-size: 13px; font-weight: 750; }
.art-card-bottom span { font-size: 18px; }
.hero-art-note { position: absolute; right: -26px; bottom: -62px; display: flex; align-items: center; gap: 12px; padding: 14px 17px; border: 1px solid #e1e7db; border-radius: 12px; background: white; box-shadow: var(--shadow); color: #5f7874; font-size: 11px; font-weight: 650; line-height: 1.35; transform: rotate(-3deg); }
.note-glyph { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--lime); color: var(--ink); font-size: 18px; }

.dataset-strip { background: #17343c; color: white; }
.dataset-strip-inner { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr 1.08fr; align-items: center; gap: 20px; min-height: 145px; }
.stat-intro { display: flex; align-items: center; gap: 11px; color: #a6c5c1; line-height: 1.5; }
.stat-line { width: 18px; height: 1px; background: var(--lime); }
.stat, .stat-sample { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.15); }
.stat strong, .stat-sample strong { font-size: 34px; font-weight: 740; letter-spacing: -.055em; line-height: 1; }
.stat span, .stat-sample span { font-size: 11px; color: #b3c6c4; }
.stat-sample strong { color: var(--lime); }

.section { padding-block: 105px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 80px; margin-bottom: 42px; }
.section-kicker { margin: 0 0 21px; color: #638989; }
.section-heading h2 { margin: 0; font-size: clamp(36px, 4.1vw, 58px); letter-spacing: -.06em; line-height: 1.07; font-weight: 750; }
.section-heading h2 em { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.055em; }
.section-heading > p { max-width: 440px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.structure-grid { display: grid; grid-template-columns: 1.28fr 1fr 1fr; gap: 15px; }
.structure-card { min-width: 0; padding: 22px; border: 1px solid #e2e9e5; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(30, 55, 55, .035); }
.structure-card-heading { display: flex; align-items: start; gap: 16px; min-height: 72px; }
.step-number { padding-top: 5px; color: #74918c; }
.structure-card h3 { margin: 0 0 5px; font-size: 17px; letter-spacing: -.025em; }
.structure-card p { margin: 0; color: #849390; font-size: 11px; line-height: 1.5; }
.state-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.state-pair figure, .structure-image { position: relative; overflow: hidden; height: 251px; border-radius: 9px; background: #edf1ed; }
.state-pair img, .structure-image img { width: 100%; height: 100%; object-fit: cover; }
.state-pair figcaption, .structure-image figcaption { position: absolute; bottom: 12px; left: 12px; padding: 7px 9px; border-radius: 4px; background: rgba(255,255,255,.94); color: #285056; font-size: 9px; letter-spacing: .09em; }
.mask-image { background: #03070a; }
.asset-callout { display: flex; align-items: center; gap: 19px; margin-top: 16px; padding: 20px 24px; border: 1px solid #d7e3d2; border-radius: 12px; background: #eaf0e5; }
.asset-callout-symbol { display: grid; flex: 0 0 37px; place-items: center; height: 37px; border-radius: 8px; background: #d4ebbc; font-size: 19px; }
.asset-callout p { flex: 1; margin: 0; color: #526a63; font-size: 12px; line-height: 1.6; }
.asset-callout strong { color: var(--ink); }
.callout-link { border: 0; border-bottom: 1px solid #57776d; padding: 5px 0; background: transparent; color: #31544c; font-size: 12px; font-weight: 750; white-space: nowrap; }
.callout-link span { margin-left: 10px; font-size: 17px; }

.instances-section { background: #eaf0ed; }
.instances-heading { margin-bottom: 35px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 27px; }
.filter-button { display: inline-flex; align-items: center; gap: 18px; padding: 11px 16px; border: 1px solid #d0dcd6; border-radius: 999px; background: transparent; color: #5e7775; font-size: 12px; font-weight: 700; transition: background 150ms ease, color 150ms ease; }
.filter-button span { opacity: .67; font-size: 10px; }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); background: var(--ink); color: white; }
.object-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.object-card { min-width: 0; overflow: hidden; border: 1px solid #dfe6e1; border-radius: 13px; padding: 0; background: white; color: var(--ink); text-align: left; box-shadow: 0 7px 19px rgba(23, 48, 57, .035); transition: transform 220ms ease, box-shadow 220ms ease; }
.object-card:hover { transform: translateY(-5px); box-shadow: 0 19px 34px rgba(23, 48, 57, .13); }
.object-card[hidden] { display: none; }
.object-visual { position: relative; display: block; aspect-ratio: 1.35; overflow: hidden; }
.object-card[data-tone="slate"] .object-visual { background: #b8ccc4; }
.object-card[data-tone="sage"] .object-visual { background: #cad6b9; }
.object-card[data-tone="amber"] .object-visual { background: #e4d1af; }
.object-card[data-tone="mint"] .object-visual { background: #b9d8c7; }
.object-card[data-tone="lime"] .object-visual { background: #d7dcb2; }
.object-card[data-tone="silver"] .object-visual { background: #c9d3d3; }
.object-card[data-tone="ice"] .object-visual { background: #c3dce0; }
.object-card[data-tone="coral"] .object-visual { background: #e0cbbb; }
.object-card[data-tone="cream"] .object-visual { background: #e8ddba; }
.object-visual img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.16); transition: transform 260ms ease; }
.object-card:hover .object-visual img { transform: scale(1.24) rotate(-1deg); }
.card-index { position: absolute; z-index: 1; top: 17px; left: 19px; color: #385b5e; }
.card-visual-arrow { position: absolute; z-index: 1; right: 15px; bottom: 15px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(28,55,57,.5); border-radius: 50%; color: #1d4347; font-size: 17px; transition: background 180ms ease, color 180ms ease; }
.object-card:hover .card-visual-arrow { background: var(--ink); color: white; }
.object-info { position: relative; display: flex; flex-direction: column; gap: 5px; min-height: 103px; padding: 19px 22px 21px; }
.object-type { color: #7a9490; font-size: 9px; }
.object-info strong { font-size: 19px; letter-spacing: -.03em; }
.object-id { position: absolute; right: 21px; bottom: 24px; color: #9aaba5; font-size: 10px; }

.motion-section { padding-bottom: 112px; }
.motion-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.motion-frame { overflow: hidden; border-radius: 13px; background: #112c34; color: white; }
.motion-frame-top { display: flex; justify-content: space-between; align-items: center; height: 45px; padding: 0 18px; color: #b3d0c9; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #bde572; box-shadow: 0 0 0 4px rgba(189,229,114,.13); }
.depth-key { width: 57px; height: 6px; border-radius: 8px; background: linear-gradient(90deg,#655cbe,#2aafd0,#6cd482,#f2d955,#e7693d); }
.motion-frame img { width: 100%; aspect-ratio: 1.55; object-fit: cover; background: #07171a; }
.motion-frame figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px 19px; font-size: 15px; font-weight: 700; }
.motion-frame figcaption span { color: #aac5c1; font-size: 11px; font-weight: 500; }
.motion-note { margin: 18px 0 0; color: #82928d; font-size: 12px; }

.site-footer { background: #102a32; color: white; }
.footer-inner { display: flex; align-items: center; gap: 25px; min-height: 126px; }
.footer-brand { font-size: 23px; font-weight: 750; letter-spacing: -.055em; }
.footer-brand span { color: var(--lime); }
.footer-inner > span:nth-child(2) { margin-left: auto; color: #9ab6b5; font-size: 12px; }
.footer-inner a { margin-left: 40px; padding-bottom: 4px; border-bottom: 1px solid #789d9d; color: #c9e1dc; font-size: 12px; }

.instance-dialog { width: min(1480px, calc(100vw - 24px)); max-width: none; height: min(96vh, 1080px); height: min(96dvh, 1080px); max-height: calc(100dvh - 16px); margin: auto; overflow: hidden; border: 1px solid #d5e0da; border-radius: 15px; padding: 0; background: #f8faf7; color: var(--ink); box-shadow: 0 35px 100px rgba(9, 24, 30, .34); }
.instance-dialog::backdrop { background: rgba(7, 25, 29, .72); backdrop-filter: blur(5px); }
.dialog-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 24px 29px 15px; }
.dialog-eyebrow { margin: 0 0 7px; color: #6b918e; }
.dialog-header h2 { margin: 0; font-size: clamp(27px, 3vw, 39px); letter-spacing: -.055em; }
.dialog-close { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #c9d6ce; border-radius: 50%; background: white; color: var(--ink); font-size: 27px; line-height: 1; }
.dialog-close:hover { background: #e8f2ea; }
.dialog-tabs { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 5px; padding: 0 25px 12px; }
.dialog-tabs button { flex: 0 0 auto; border: 1px solid transparent; border-radius: 6px; padding: 9px 13px; background: transparent; color: #66807d; font-size: 12px; font-weight: 720; }
.dialog-tabs button:hover { background: #e8efeb; }
.dialog-tabs button[aria-selected="true"] { background: #173a41; color: white; }
.dialog-content { flex: 1 1 auto; min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; border-top: 1px solid #dfe7e2; background: #e6ebe8; }
.dialog-media-single { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; height: 100%; overflow: hidden; padding: 20px; }
.dialog-media-single img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.dialog-motion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: 100%; min-height: 0; padding: 20px; }
.dialog-motion-grid figure { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; border-radius: 8px; background: #102a32; color: white; }
.dialog-motion-grid img { flex: 1 1 auto; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.dialog-motion-grid figcaption { padding: 11px 13px; color: #c2d9d1; font-size: 11px; font-weight: 700; letter-spacing: .09em; }
.dialog-geometry { display: grid; grid-template-columns: minmax(0, 1fr) 220px; min-height: 450px; height: min(59vh, 580px); }
.viewer-wrap { position: relative; min-width: 0; min-height: 380px; overflow: hidden; background: radial-gradient(circle at 50% 45%, #e9f0e8, #cfded5); }
.viewer-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.dialog-geometry model-viewer { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 380px; opacity: 0; transition: opacity 250ms ease; }
.viewer-wrap.is-ready model-viewer { opacity: 1; }
.geometry-note { align-self: stretch; display: flex; flex-direction: column; justify-content: end; padding: 24px; background: #dbe8e0; }
.geometry-note .geometry-symbol { font-size: 27px; }
.geometry-note h3 { margin: 12px 0 8px; font-size: 18px; letter-spacing: -.03em; }
.geometry-note p { margin: 0; color: #54716c; font-size: 12px; line-height: 1.6; }
.dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 45px; padding: 10px 28px; color: #718681; font-size: 11px; }
.dialog-counter { color: #8ba19b; font-weight: 750; }

@media (max-width: 1060px) {
  .main-nav { gap: 14px; }
  .header-action { display: none; }
  .hero { gap: 30px; }
  .hero-art-grid { grid-template-rows: 205px 205px; }
  .structure-grid { grid-template-columns: 1fr 1fr; }
  .structure-states { grid-column: 1 / -1; }
  .structure-states .state-pair figure { height: 280px; }
}

@media (max-width: 780px) {
  .shell { width: min(100% - 42px, 640px); }
  .header-inner { min-height: 68px; }
  .main-nav { margin-left: auto; }
  .main-nav a:not(:last-child) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding-block: 74px 76px; }
  .hero h1 { font-size: clamp(62px, 12vw, 90px); }
  .hero-caption { margin-top: 32px; }
  .hero-art-grid { grid-template-rows: 215px 215px; }
  .hero-art-note { right: 0; }
  .dataset-strip-inner { grid-template-columns: repeat(4, 1fr); gap: 12px; padding-block: 25px; }
  .stat-intro { grid-column: 1 / -1; }
  .stat, .stat-sample { padding-left: 10px; }
  .stat strong, .stat-sample strong { font-size: 28px; }
  .section { padding-block: 82px; }
  .section-heading { display: block; }
  .section-heading > p { max-width: 590px; margin-top: 23px; }
  .object-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .object-info { min-height: 110px; }
  .object-id { position: static; }
  .dialog-geometry { grid-template-columns: 1fr; height: auto; }
  .viewer-wrap, .dialog-geometry model-viewer { height: 48vh; }
  .geometry-note { display: none; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 32px); }
  .brand { font-size: 19px; }
  .main-nav a { font-size: 12px; }
  .hero { padding-top: 63px; }
  .eyebrow { font-size: 9px; line-height: 1.45; }
  .hero h1 { font-size: clamp(55px, 14vw, 76px); }
  .hero-subtitle { font-size: 20px; }
  .hero-description { font-size: 14px; }
  .hero-art-grid { grid-template-rows: 163px 163px; gap: 9px; }
  .hero-art-card { border-radius: 11px; }
  .art-card-top { top: 11px; left: 12px; font-size: 8px; }
  .art-card-bottom { bottom: 12px; left: 12px; right: 12px; font-size: 10px; }
  .hero-art-note { right: -3px; bottom: -48px; padding: 9px 10px; font-size: 9px; }
  .note-glyph { width: 25px; height: 25px; }
  .dataset-strip-inner { grid-template-columns: repeat(2, 1fr); row-gap: 25px; padding-block: 30px; }
  .stat-intro { margin-bottom: 1px; }
  .stat, .stat-sample { min-height: 47px; }
  .section-heading h2 { font-size: 41px; }
  .structure-grid { grid-template-columns: 1fr; }
  .structure-states { grid-column: auto; }
  .structure-states .state-pair figure, .structure-image { height: 205px; }
  .structure-card { padding: 17px; }
  .asset-callout { align-items: start; flex-wrap: wrap; padding: 17px; }
  .asset-callout p { flex: 1 1 calc(100% - 60px); }
  .callout-link { margin-left: 56px; }
  .object-grid { grid-template-columns: 1fr; }
  .object-visual { aspect-ratio: 1.55; }
  .object-info { min-height: 99px; }
  .object-id { position: absolute; }
  .motion-pair { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 30px; }
  .footer-inner > span:nth-child(2) { flex-basis: 100%; order: 3; margin: 0; }
  .footer-inner a { margin: 0; }
  .instance-dialog { width: calc(100vw - 12px); height: calc(100dvh - 12px); max-height: calc(100dvh - 12px); }
  .dialog-header { padding: 12px 12px 8px; }
  .dialog-header h2 { font-size: 25px; }
  .dialog-tabs { flex-wrap: wrap; overflow-x: visible; gap: 2px; padding: 0 8px 8px; }
  .dialog-tabs button { padding: 7px 8px; font-size: 11px; }
  .dialog-media-single { padding: 10px; }
  .dialog-motion-grid { grid-template-columns: 1fr; height: auto; min-height: 100%; padding: 10px; }
  .dialog-motion-grid figure { min-height: 230px; }
  .dialog-motion-grid img { height: auto; aspect-ratio: 1.39; }
  .dialog-footer { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Anonymous academic project layout, following the ArtGS results page. */
:root { --page: #fff; --paper: #fff; --ink: #171717; --ink-deep: #111; --muted: #555; --line: #dedede; }
body { background: #fff; color: #171717; font-family: Arial, Helvetica, sans-serif; }
.shell { width: min(1140px, calc(100% - 48px)); }
.project-heading { padding: 58px 0 38px; text-align: center; }
.project-heading h1 { max-width: 1080px; margin: 0 auto 18px; font-size: clamp(27px, 3.1vw, 40px); line-height: 1.24; font-weight: 700; letter-spacing: -.025em; }
.project-heading p { margin: 0; font-size: 20px; font-weight: 500; }
.section { padding-block: 54px 65px; border-top: 1px solid #ddd; }
.section-heading { display: block; margin: 0 auto 30px; text-align: center; }
.section-heading h2 { font-size: clamp(27px, 2.7vw, 37px); line-height: 1.2; letter-spacing: -.025em; }
.section-heading h2 em { font: inherit; }
.section-heading > p { max-width: 760px; margin: 17px auto 0; color: #555; font-size: 14px; }
.section-kicker { display: none; }
.structure-grid { grid-template-columns: 1.28fr 1fr 1fr; gap: 16px; }
.structure-card, .object-card, .motion-frame, .asset-callout { border: 1px solid #d9d9d9; border-radius: 0; background: #fff; box-shadow: none; }
.structure-card { padding: 15px; }
.structure-card-heading { align-items: center; min-height: 44px; }
.structure-card h3 { margin: 0; font-size: 17px; }
.structure-card p, .asset-callout p { color: #555; }
.step-number { padding-top: 0; color: #777; }
.state-pair figure, .structure-image, .mask-image { border-radius: 0; }
.state-pair figcaption, .structure-image figcaption { border: 1px solid #ccc; border-radius: 0; color: #222; }
.asset-callout { gap: 18px; margin-top: 16px; padding: 16px; }
.asset-callout-symbol { border-radius: 0; background: #eee; }
.callout-link { color: #222; border-color: #333; }
.instances-section { background: #fff; }
.filter-bar { justify-content: center; }
.filter-button { border: 1px solid #c9c9c9; border-radius: 0; color: #333; }
.filter-button:hover, .filter-button.is-active { border-color: #111; background: #111; color: #fff; }
.object-grid { gap: 18px; }
.object-card:hover { transform: none; box-shadow: 0 0 0 2px #222; }
.object-card[data-tone] .object-visual { background: #f5f5f5; }
.object-visual::after { display: none; }
.object-visual img { object-fit: cover; transform: none; }
.object-card:hover .object-visual img { transform: scale(1.04); }
.card-index { color: #666; }
.card-visual-arrow { border-color: #555; border-radius: 0; color: #222; }
.object-card:hover .card-visual-arrow { background: #111; }
.object-info { min-height: 72px; justify-content: center; border-top: 1px solid #ddd; }
.object-type { color: #666; }
.object-id { color: #777; }
.motion-frame { color: #171717; }
.motion-frame-top { border-bottom: 1px solid #ddd; color: #333; }
.motion-frame img { background: #f5f5f5; }
.motion-frame figcaption { color: #171717; }
.motion-frame figcaption span, .motion-note { color: #666; }
.live-dot { background: #555; box-shadow: none; }
.instance-dialog { border: 1px solid #777; border-radius: 0; background: #fff; color: #171717; }
.dialog-header, .dialog-footer { background: #fff; }
.dialog-eyebrow, .dialog-footer { color: #555; }
.dialog-close { border: 1px solid #777; border-radius: 0; }
.dialog-tabs button { border-radius: 0; color: #444; }
.dialog-tabs button[aria-selected="true"] { background: #111; }
.dialog-content { background: #f8f8f8; }
.dialog-media-single img, .dialog-motion-grid figure { border-radius: 0; }
.dialog-geometry { grid-template-columns: minmax(0, 1fr); }
.geometry-note { background: #eee; }
.geometry-note p { color: #555; }
.viewer-wrap { background: #f5f5f5; }
.dialog-usd-motion { display: grid; place-items: center; min-width: 0; min-height: 0; height: 100%; padding: 18px; background: #f8f8f8; }
.dialog-usd-motion video { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; background: #62676f; }
.dialog-physics { width: min(100%, 1360px); margin-inline: auto; padding: 24px clamp(16px, 3vw, 44px) 36px; }
.physics-overview { display: flex; align-items: center; justify-content: center; width: min(100%, 640px); height: clamp(280px, 46vh, 400px); margin: 0 auto 18px; overflow: hidden; border: 1px solid #ddd; background: #ededed; }
.physics-overview img { display: block; width: auto; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.physics-note { margin: 0 0 18px; color: #555; font-size: 12px; }
.physics-group h3 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.02em; }
.physics-part-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.physics-part-card { min-width: 0; border: 1px solid #d7d7d7; background: #fff; }
.physics-part-detail { min-width: 0; padding: 18px; }
.physics-item-index { display: inline-block; margin-bottom: 5px; color: #606060; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.physics-part-card h4 { margin: 0 0 14px; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.physics-metrics, .physics-material-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0; }
.physics-metrics > div, .physics-material-metrics > div { min-width: 0; }
.physics-metrics dt, .physics-material-metrics dt { margin: 0 0 3px; color: #666; font-size: 11px; }
.physics-metrics dd, .physics-material-metrics dd { margin: 0; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.physics-material { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e5e5e5; }
.physics-material h5 { margin: 0 0 10px; font-size: 12px; font-weight: 700; }
@media (max-width: 1060px) { .structure-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 780px) { .shell { width: min(100% - 36px, 640px); } .section { padding-block: 42px 53px; } .structure-states { grid-column: 1 / -1; } }
@media (max-width: 900px) { .physics-part-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .dialog-physics { padding: 16px 12px 24px; } }
@media (max-width: 560px) { .shell { width: calc(100% - 28px); } .project-heading { padding: 38px 0 29px; } .project-heading h1 { font-size: 26px; } .project-heading p { font-size: 16px; } .structure-grid { grid-template-columns: 1fr; } .structure-states { grid-column: auto; } .section-heading h2 { font-size: 30px; } .object-grid { grid-template-columns: 1fr; } }

/* Experiment and asset comparison sections follow the existing square media cards. */
.experiment-section.shell { width: min(1740px, calc(100% - 48px)); }
.experiment-section .section-caption > p { max-width: 1120px; }
.experiment-frame, .comparison-viewport { overflow: hidden; border: 1px solid #d9d9d9; background: #fff; }
.experiment-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.experiment-grid-pair { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.experiment-carousel { position: relative; }
.experiment-viewport { display: flex; flex-flow: row nowrap; align-items: flex-start; width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; transition: height .25s ease; }
.experiment-viewport::-webkit-scrollbar { display: none; }
.experiment-slide { display: grid; flex: 0 0 100%; width: 100%; min-width: 100%; box-sizing: border-box; scroll-snap-align: start; }
.experiment-frame { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.experiment-frame img, .experiment-frame video { display: block; width: 100%; height: clamp(250px, 21vw, 330px); object-fit: contain; background: #f5f5f5; }
.experiment-frame figcaption { flex: 1; padding: 16px 18px; border-top: 1px solid #d9d9d9; color: #171717; font-size: 14px; font-weight: 700; }
.comparison-carousel { position: relative; }
.comparison-viewport { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.comparison-viewport::-webkit-scrollbar { display: none; }
.comparison-slide { flex: 0 0 100%; display: grid; grid-template-columns: minmax(0, 32fr) minmax(0, 68fr); gap: 12px; min-width: 0; padding: 14px; scroll-snap-align: start; }
.comparison-real-panel, .comparison-video-panel { min-width: 0; }
.comparison-panel-label { display: block; min-height: 26px; padding: 0 2px 8px; color: #303841; font-size: 12px; font-weight: 700; }
.comparison-real-image { position: relative; width: 100%; aspect-ratio: 1.18; overflow: hidden; border: 1px solid #d8dde3; background: #e9edf1; }
.comparison-real-image img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.comparison-slide video { display: block; width: 100%; aspect-ratio: 2046 / 810; object-fit: contain; background: #e9edf1; }
.comparison-arrow { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; transform: translateY(-50%); border: 1px solid #777; border-radius: 0; background: #fff; color: #111; font-size: 30px; line-height: 1; box-shadow: 0 2px 8px #0002; }
.comparison-arrow:hover { border-color: #111; background: #111; color: #fff; }
.comparison-arrow-prev { left: 12px; }
.comparison-arrow-next { right: 12px; }
#experiment-next {
  display: grid !important;
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  left: auto !important;
  z-index: 20 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
#experiment-prev {
  display: grid !important;
  position: absolute !important;
  top: 50% !important;
  left: 12px !important;
  right: auto !important;
  z-index: 20 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.comparison-dots { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 12px; margin-top: 18px; }
.comparison-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid #111; border-radius: 50%; background: #fff; }
.comparison-dots button[aria-current="true"] { background: #111; }
@media (max-width: 560px) {
  .experiment-section.shell { width: calc(100% - 28px); }
  .experiment-grid { grid-template-columns: 1fr; }
  .experiment-grid-pair { grid-template-columns: 1fr; }
  .experiment-frame img { height: auto; max-height: none; }
  .experiment-frame video { height: auto; max-height: 340px; aspect-ratio: 16 / 10; }
  .experiment-frame figcaption { padding: 14px 16px; font-size: 14px; }
  .comparison-arrow { width: 32px; height: 36px; font-size: 25px; }
  .comparison-arrow-prev { left: 5px; }
  .comparison-arrow-next { right: 5px; }
}
@media (min-width: 561px) and (max-width: 1350px) { .experiment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .experiment-grid:not(.experiment-grid-pair) .experiment-frame:first-child { grid-column: 1 / -1; } .experiment-frame:first-child img { height: auto; max-height: 520px; } .experiment-grid-pair { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
@media (min-width: 561px) and (max-width: 760px) { .experiment-grid-pair { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .comparison-slide { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 12px; }
  .comparison-real-image { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) { .comparison-viewport, .experiment-viewport { scroll-behavior: auto; } }

/* Section links begin each description below the centered headings. */
.section-heading.has-section-number { display: block; }
.section-caption { margin-top: 17px; }
.section-caption > p { max-width: 760px; margin: 0 auto; color: #555; font-size: 14px; line-height: 1.7; text-align: center; }
.section-caption .section-number-link { color: #171717; white-space: nowrap; }
.section-caption .section-number-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.section-heading[id] { scroll-margin-top: 42px; }

.solveradapt-section { scroll-margin-top: 42px; }
.solveradapt-entry { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 30px; border: 1px solid #d9d9d9; background: #fff; }
.solveradapt-entry-label { color: #666; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.solveradapt-entry p { margin: 10px 0 0; font-size: 17px; line-height: 1.5; }
.solveradapt-model-link { display: inline-block; margin-top: 10px; color: #171717; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.solveradapt-entry-link { display: inline-flex; align-items: center; justify-content: center; gap: 22px; flex: 0 0 auto; min-height: 48px; padding: 12px 18px; background: #171717; color: #fff; font-size: 14px; font-weight: 700; }
.solveradapt-entry-link:hover { background: #343434; }
@media (max-width: 700px) { .solveradapt-entry { display: block; padding: 22px; } .solveradapt-entry-link { margin-top: 20px; } }
