/* Layout and showcase fixes layered on site.css */
.footer-grid .wordmark { white-space: nowrap; }
.footer-grid .brand { flex-wrap: nowrap; }

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: center;
}
.home-hero-grid .lede { max-width: 48ch; }
.home-shot {
  margin: 0;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.home-shot img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}
.home-shot figcaption {
  padding: 10px 14px 12px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}
.methods-line {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 70ch;
  margin: 18px 0 0;
}

.report-preview {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1.58fr);
  gap: 28px;
  align-items: start;
}
.paper {
  background: #f4f1ea;
  color: #1b1d21;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px 24px 20px;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 12.5px;
  line-height: 1.45;
  overflow: auto;
}
.paper h3 {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #111;
}
.paper .paper-kicker {
  margin: 0 0 10px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c6570;
}
.paper .paper-section {
  margin: 12px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  color: #222;
}
.paper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  margin: 6px 0 8px;
}
.paper th, .paper td {
  text-align: left;
  padding: 4px 6px;
  border-bottom: 1px solid #d5d0c6;
  white-space: nowrap;
}
.paper th { font-weight: 650; color: #333; }
.paper td.num, .paper th.num { text-align: right; }
.paper .paper-note {
  margin: 8px 0 0;
  color: #5c6570;
  font-size: 11px;
}
.paper-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
  margin: 0 0 10px;
  color: #333;
}

.product-stage {
  display: grid;
  grid-template-columns: minmax(240px, 0.4fr) minmax(0, 1.6fr);
  gap: 28px;
  align-items: start;
  min-width: 0;
}
.showcase-copy,
.product-shot,
.report-preview > div {
  min-width: 0;
}
.showcase-copy h2,
.showcase-copy p,
.showcase-copy li {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.showcase-copy h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
}
.product-stage .highlights {
  margin-top: 0;
  margin-bottom: 12px;
}
.shot-frame,
.shot-stage {
  overflow: hidden;
}
.product-shot .shot-stage:has(img[data-shot="structure"].is-on) {
  aspect-ratio: 2.52 / 1;
  min-height: 0;
}
.product-shot .shot-stage img[data-shot="structure"] {
  object-fit: cover;
  object-position: top center;
  width: 100%;
  height: 100%;
  inset: 0;
  transform: none;
}

@media (max-width: 1024px) {
  .home-hero-grid,
  .report-preview,
  .product-stage {
    grid-template-columns: 1fr;
  }
  .home-shot { order: -1; }
  .paper-meta { grid-template-columns: 1fr; }
  .product-stage .highlights {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .home-shot img { max-height: 220px; }
  .paper { padding: 16px; }
  .paper th, .paper td { white-space: normal; }
  .product-shot .shot-stage { min-height: 200px; }
  .product-shot .shot-stage:has(img[data-shot="structure"].is-on) {
    min-height: 0;
  }
  .product-stage .highlights {
    grid-template-columns: 1fr;
  }
  .wrap-wide {
    width: min(1440px, calc(100% - 28px));
  }
}
