/* ========== CSS Variables ========== */
:root {
  --cream:  #f7f0d3;
  --pink:   #f7e9e6;
  --green:  #eff2e7;
  --blue:   #ecf1f5;
  --bg:     #f9f9f8;
  --white:  #ffffff;
  --text:   #0a0a0a;
  --text-light: #333333;
  --accent: #5b7a6e;
  --accent-dark: #3d5a4e;
  --brick:  #C26756;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --chapter-gap: 3.75rem;
  --font-heading: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding: 42px clamp(16px, 4vw, 36px) 40px;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ========== Section Spacing ========== */
.section { padding: 56px 0; }
.takeaways-section.section { padding-top: 56px; padding-bottom: calc(var(--chapter-gap) / 2); }
.method-section.section    { padding-top: calc(var(--chapter-gap) / 2); padding-bottom: calc(var(--chapter-gap) / 2); }
.symmetry-section.section { padding: calc(var(--chapter-gap) / 2) 0; }
.symmetry-section .framework-figure-link { margin-top: 22px; }
.symmetry-tagline {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: linear-gradient(transparent 52%, #dcebdc 52%, #dcebdc 94%, transparent 94%);
  padding: 0 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.results-section.section   { padding-top: calc(var(--chapter-gap) / 2); padding-bottom: calc(var(--chapter-gap) / 2); }
.bibtex-section.section    { padding-top: calc(var(--chapter-gap) / 2); padding-bottom: 56px; }

/* ========== Single page shell ========== */
.page-shell {
  max-width: 1144px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 52px);
  background: var(--white);
  border-radius: 14px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 40px rgba(0,0,0,0.04);
  overflow: hidden;
}

/* ========== Header / Hero ========== */
.hero-section {
  background: var(--white);
  padding: 72px 0 52px;
  text-align: center;
}

.brickcraft-wordmark {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto 22px;
  user-select: none;
  -webkit-user-drag: none;
}

.paper-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 20px;
}
.paper-title__line { display: block; }
.paper-title__sub {
  display: block;
  font-size: inherit;
  line-height: inherit;
  margin-top: 0.18em;
}
.hero-section .container { max-width: 940px; }

.bc { color: inherit; font-weight: 600; }
.paper-title .bc { color: var(--brick); font-weight: 700; }

.venue-badge {
  display: inline-block;
  background: #d8e4ce;
  color: #455e3a;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.92rem;
  font-weight: bold;
  margin-bottom: 28px;
  text-decoration: none;
}
.venue-badge:hover { filter: brightness(0.95); text-decoration: none; }

.authors {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
}
.authors a { color: var(--text); }
.authors a:hover, .authors a:focus-visible { color: #1f1f1f; text-decoration: underline; }
.authors a:active { color: #141414; }

.affiliations {
  font-size: 0.94rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.equal-contrib {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 22px;
}

/* ========== Link Buttons ========== */
.link-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  background: #e8e8e8;
  color: var(--text);
  border: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.link-btn:hover {
  background: #dbdbdb;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  text-decoration: none;
}
.link-btn i { font-size: 1rem; color: #353535; }
.link-btn:hover i { color: #1a1a1a; }

/* ========== Teaser ========== */
.teaser-section { padding: 44px 0 30px; }
.teaser-container { text-align: center; }
.teaser-video-frame {
  width: 100%;
  max-width: 880px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
.teaser-media {
  width: 100%;
  max-width: 880px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-sm);
  border: none;
}
.teaser-video-frame .teaser-media {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: contain;
  border-radius: 0;
}
.teaser-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 0.97rem;
  color: var(--text-light);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ========== Section Titles ========== */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.52rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--brick);
  letter-spacing: -0.02em;
  display: block;
}
/* ========== Abstract ========== */
.abstract-section.section { padding-top: 44px; }
.abstract-section .section-title {
  text-align: center;
}
.abstract-text {
  text-align: justify;
  text-justify: inter-word;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.94rem;
  line-height: 1.68;
}

/* ========== Method ========== */
.method-figure {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  border: none;
}
.method-figure--spaced { margin-top: 14px; }
.framework-figure-link {
  display: block;
  width: 100%;
  margin-top: 20px;
  cursor: zoom-in;
}
.method-desc {
  margin-top: 14px;
  text-align: justify;
  font-size: 0.98rem;
  line-height: 1.68;
}
.framework-figure-link + .method-desc { margin-top: 20px; }
.task-representation { margin-top: 32px; }
.task-representation-grid {
  display: grid;
  grid-template-columns: 2.4fr 3fr; /* 左图 : 右图 */
  align-items: stretch;
  gap: 28px;
  margin-top: 22px;
}
.task-representation-grid > * {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.task-representation-visual {
  display: block;
  width: 100%;
}
a.task-representation-visual { cursor: zoom-in; }
.task-encoding-figure .method-figure {
  width: 100%;
  height: auto;
}
.observation-grounding-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: start;
  width: 100%;
  gap: 8px;
}
.observation-grounding-step { min-width: 0; }
.observation-grounding-step a { display: block; cursor: zoom-in; }
.observation-grounding-step img {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: var(--radius-sm);
}
.observation-grounding-step figcaption {
  margin-top: 8px;
  min-height: 32px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
}
.observation-grounding-arrow {
  align-self: center;
  transform: translateY(-20px);
  color: var(--accent-dark);
  font-size: 1.2rem;
  line-height: 1;
}
@media (max-width: 700px) {
  .task-representation-grid { grid-template-columns: minmax(0, 1fr); }
}
.figure-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.figure-row--triple { grid-template-columns: repeat(3, 1fr); }
.figure-row .method-figure {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  background: #f0f0f0;
}
.figure-row figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 6px;
}
@media (max-width: 700px) {
  .figure-row, .figure-row--triple { grid-template-columns: 1fr 1fr; }
}

/* ========== Key Takeaways ========== */
.takeaways-list { margin: 0; padding: 0; }
.takeaway-item {
  background: #f4f4f5;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 12px;
}
.takeaway-item:last-child { margin-bottom: 0; }
.takeaway-line {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.68;
  text-align: justify;
  color: var(--text-light);
}
.takeaway-label {
  font-weight: 600;
  color: var(--text);
}

/* ========== Dataset overview ========== */
.dataset-subsection { margin-top: 32px; }
.dataset-alignment-note {
  margin-top: 8px;
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: left;
}
.dataset-overview { margin: 0; }
.dataset-subsection > .method-desc + .dataset-overview { margin-top: 20px; }
.dataset-overview + .dataset-overview { margin-top: 24px; }
.dataset-label {
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.dataset-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1564 / 388;
  background: var(--white);
}

/* ========== Symmetry alignment ablation ========== */
.alignment-ablation { margin-top: 36px; }
.ablation-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.ablation-panel { min-width: 0; font-family: inherit; font-size: 1rem; }
.ablation-panel-title { margin-bottom: 4px; font: inherit; font-weight: 600; text-align: center; }
.ablation-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; min-height: 24px; font-size: inherit; line-height: 1.25; }
.ablation-legend span { display: inline-flex; align-items: center; gap: 5px; }
.ablation-legend i { display: inline-block; width: 12px; height: 10px; border-radius: 2px; }
.ablation-chart { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; font-size: inherit; }
.ablation-chart text { font-family: inherit; font-size: inherit; }
.ablation-gridline { stroke: #e2e5e4; stroke-dasharray: 4 4; stroke-width: 1; }
.ablation-axis { fill: none; stroke: #6f7773; stroke-width: 1; }
.ablation-tick { fill: #626963; }
.ablation-axis-label, .ablation-group-label { fill: var(--text-light); }
.ablation-group-label { font-weight: 600; }
.ablation-value { fill: var(--text); font-weight: 600; transform-box: fill-box; transform-origin: center; }
.ablation-bar { transform-box: fill-box; transform-origin: center bottom; }
.alignment-ablation.is-awaiting .ablation-bar { transform: scaleY(0); }
.alignment-ablation.is-awaiting .ablation-value { opacity: 0; }
.alignment-ablation.is-visible .ablation-bar { animation: ablation-rise 900ms cubic-bezier(0.2, 0.7, 0.25, 1) var(--bar-delay, 0ms) both; }
.alignment-ablation.is-visible .ablation-value { animation: ablation-value-in 300ms ease-out calc(var(--bar-delay, 0ms) + 450ms) both; }
.ablation-caption { margin: 0 0 20px; text-align: left; }
.human-correction-summary { margin-top: 12px; }
@keyframes ablation-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ablation-value-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
  .ablation-panels { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .alignment-ablation .ablation-bar, .alignment-ablation .ablation-value { animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* ========== Assembly comparison ========== */
.framework-comparison { margin-top: 32px; }
.framework-subtitle {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text);
}
.framework-comparison .assembly-comparison-list { margin-top: 18px; }
.assembly-comparison-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}
.assembly-comparison-group {
  display: grid;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #e4e4e4;
  border-radius: var(--radius-sm);
  background: var(--white);
}
.assembly-comparison-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.assembly-comparison-card {
  overflow: hidden;
  background: var(--white);
}
.assembly-comparison-card video {
  display: block;
  width: 100%;
  background: #000;
}
.assembly-comparison-card-label {
  padding: 10px 8px;
  color: var(--text);
  background: #fafafa;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}
.assembly-result { display: inline-block; margin-left: 4px; font-size: 1.15em; font-weight: 700; line-height: 1; }
.assembly-result--failure { color: #c43e3e; }
.assembly-result--success { color: #278548; }
.assembly-comparison-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

/* ========== Human correction ========== */
.correction-section.section {
  padding-top: calc(var(--chapter-gap) / 2);
  padding-bottom: calc(var(--chapter-gap) / 2);
}
.correction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 42%;
  margin: 0 auto;
  gap: 40px;
}
.correction-card {
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: var(--radius-sm);
  background: var(--white);
}
.correction-card video {
  display: block;
  width: 100%;
  background: #000;
}
.correction-card-label {
  padding: 10px 8px;
  text-align: center;
  color: var(--text);
  background: #fafafa;
  font-size: 1rem;
  font-weight: 700;
}

/* ========== Long-horizon ========== */
.longhorizon-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.lh-card {
  grid-column: span 2;
  position: relative;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid #ececec;
}
.lh-card:nth-child(4) { grid-column: 2 / span 2; }
.lh-card:nth-child(5) { grid-column: 4 / span 2; }
.lh-card video {
  width: 100%;
  display: block;
  background: #000;
}
.lh-speed-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 1;
  padding: 3px 7px;
  border-radius: 5px;
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.lh-card-label {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 8px 7px;
  color: var(--text);
  background: #fafafa;
}
.lh-card-steps {
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 500;
}
.lh-metrics {
  padding: 0 12px 12px;
  background: #fafafa;
  font-size: 0.78rem;
}
.lh-metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-top: 1px solid #e9e9e9;
}
.lh-metric-row--header {
  padding-top: 6px;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lh-metric-row span:not(:first-child),
.lh-metric-row strong { text-align: center; }
.lh-metric-row strong { font-weight: 650; }
.lh-metric-row strong:last-child { color: #169447; }
.lh-metric-row strong.lh-metric-na { color: #999; }
.lh-metrics-note {
  margin: 10px 2px 0;
  color: var(--text-light);
  font-size: 0.78rem;
  line-height: 1.45;
}
.perturbation-groups {
  display: grid;
  gap: 32px;
  margin-top: 24px;
}
.perturbation-group {
  display: grid;
  /* Retain each video's original width and use the remaining space for text. */
  grid-template-columns: minmax(0, 1fr) repeat(2, calc((100% - 32px) / 3));
  align-items: center;
  gap: 32px;
}
.perturbation-copy { min-width: 0; }
.perturbation-heading {
  margin-top: 34px;
}
.perturbation-description {
  margin-top: 0;
  text-align: left;
}
.perturbation-title {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}
.perturbation-note {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.5;
}
.perturbation-row {
  display: contents;
}
.perturbation-card:first-child {
  grid-column: auto;
}
.perturbation-card:last-child {
  grid-column: auto;
}
.perturbation-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: var(--radius-sm);
  background: var(--white);
}
.perturbation-card video {
  display: block;
  width: 100%;
  background: #000;
}
@media (max-width: 700px) {
  .assembly-comparison-list {
    width: 100%;
    gap: 24px;
    grid-template-columns: 1fr;
  }
  .assembly-comparison-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .assembly-comparison-arrow { font-size: 1.2rem; }
  .assembly-comparison-card-label {
    padding: 8px 4px;
    font-size: 0.88rem;
  }
  .correction-grid { grid-template-columns: 1fr; }
  .longhorizon-grid { grid-template-columns: 1fr; }
  .lh-card,
  .lh-card:nth-child(4),
  .lh-card:nth-child(5) { grid-column: 1; }
  .perturbation-group { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .perturbation-row { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .perturbation-card:first-child,
  .perturbation-card:last-child { grid-column: 1; }
}

/* ========== Tables ========== */
.result-table-wrapper { overflow-x: auto; margin-top: 4px; }
.result-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  font-size: 0.96rem;
  background: #fff;
  font-family: "STIX Two Math", "Times New Roman", Times, serif;
  font-variant-numeric: lining-nums tabular-nums;
}
.result-table thead th {
  background: #f0f0f1;
  color: #1a1a1a;
  padding: 10px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #d8d8d8;
}
.result-table thead tr:first-child th:first-child {
  text-align: left;
  font-weight: 700;
}
.result-table tbody td {
  padding: 9px 12px;
  text-align: center;
  border-bottom: 1px solid #ececec;
  background: #fff;
  color: var(--text);
}
.result-table tbody td:first-child {
  text-align: left;
  font-weight: 700;
}
.result-table tbody tr:last-child td { border-bottom: none; }
.result-table tbody tr.result-row--ours td { font-weight: 700; }
.result-table tbody tr.result-row--ours .bc { font-weight: 700; }
.result-table .best { color: var(--brick); }

.result-table--sm { font-size: 0.84rem; }
.result-table--sm thead th { padding: 7px 6px; font-size: 0.74rem; }
.result-table--sm tbody td { padding: 6px 8px; white-space: nowrap; }

.tables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 28px;
  align-items: start;
}
.table-block { display: flex; flex-direction: column; min-height: 0; }
.table-caption {
  font-weight: bold;
  font-size: 0.92rem;
  margin-bottom: 4px;
  color: var(--text);
  text-align: center;
}
@media (max-width: 700px) {
  .tables-grid { grid-template-columns: 1fr; }
}

.section-subtext {
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--text-light);
  margin: 0 0 18px 0;
  text-align: justify;
}
.section-subtext--after-media { margin-top: 18px; }
.section-title--spaced { margin-top: var(--chapter-gap); }
.section-title--after-block {
  margin-top: var(--chapter-gap);
  padding-top: 0;
}

/* ========== BibTeX ========== */
.bibtex-block {
  background: #fafafa;
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  border: 1px solid #e8e8e8;
  overflow-x: auto;
  position: relative;
}
.bibtex-block pre {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--text);
}
.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.copy-btn:hover { background: var(--accent-dark); }

/* ========== Footer ========== */
.footer {
  text-align: center;
  padding: 36px 0 32px;
  color: var(--text-light);
  font-size: 0.91rem;
}
.footer a { color: var(--text-light); }

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 3px 15px rgba(0,0,0,0.12);
  padding: 0 44px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logos {
  display: flex;
  align-items: center;
  gap: 18px;
}
.navbar-logos img {
  height: 56px;
  width: auto;
  display: block;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.navbar a {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.22px;
  line-height: 1.15;
}
.navbar a:hover { color: var(--text); text-decoration: none; }

/* ========== Responsive ========== */
@media (max-width: 700px) {
  .paper-title { font-size: 1.24rem; }
  .brickcraft-wordmark { max-width: 78%; }
  .page-shell { padding: 0 clamp(14px, 4vw, 22px); }
  .section { padding: 40px 0; }
  .abstract-section.section { padding-top: 34px; }
  .takeaways-section.section { padding-top: 40px; }
  .hero-section { padding: 48px 0 36px; }
  .teaser-section { padding: 32px 0 22px; }
}

/* ========== Related Works ========== */
.related-works-section .section-title { text-align: center; }
.related-works-intro {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 760px;
  color: #333;
  line-height: 1.55;
}
.rw-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
}
.rw-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
}
.rw-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}
.rw-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rw-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--brick);
  line-height: 1.35;
}
.rw-authors { margin: 0 0 4px; font-size: 0.9rem; line-height: 1.5; color: #333; }
.rw-venue { margin: 0 0 10px; font-size: 0.85rem; color: #666; font-style: italic; }
.rw-links { margin: 0; }
.rw-btn {
  display: inline-block;
  padding: 5px 14px;
  margin-right: 6px;
  background: var(--brick);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: opacity 0.15s;
}
.rw-btn:hover { opacity: 0.85; }
@media (max-width: 720px) {
  .rw-item { grid-template-columns: 1fr; }
  .rw-thumb { max-width: 320px; margin: 0 auto; }
}
