/* OpenPFC landing page: hero, atlas, gallery, scaling and the other
 * homepage sections. Tokens, fonts, page chrome, bands, buttons and the
 * article layer come from the openpfc-html format (_extensions/openpfc/). */

.hero {
  background: var(--openpfc-ink);
  color: var(--openpfc-paper);
  color-scheme: dark;
  padding: clamp(1.8rem, 4vw, 3.2rem) 0 clamp(2.2rem, 5vw, 3.6rem);
}

.hero .wrap {
  container-type: inline-size;
}

.hero .kicker {
  color: var(--openpfc-copper-soft);
}

.hero h1 {
  margin: 0;
  max-width: 16em;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

@supports (font-size: 1cqi) {
.hero h1 {
    font-size: clamp(2.25rem, 7.6cqi, 5.55rem);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.4rem, 3.5vw, 3.2rem);
  align-items: start;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.hero-copy p {
  margin: 0;
  max-width: 42ch;
  color: var(--openpfc-cream-dim);
  font-size: 1.05rem;
}

.hero-copy p + p {
  margin-top: 0.9rem;
}

.instrument {
  background: #100e0c;
  border: 1px solid rgba(244, 240, 230, 0.22);
  padding: 0.7rem 0.7rem 0.75rem;
}

.instrument-bar,
.instrument-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--openpfc-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--openpfc-cream-dim);
}

.instrument-bar {
  margin-bottom: 0.55rem;
}

.instrument-foot {
  margin-top: 0.55rem;
}

.stage {
  position: relative;
  height: 520px;
  background: #100e0c;
  overflow: hidden;
}

.stage canvas,
.hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.tick {
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 2;
  pointer-events: none;
  border-color: rgba(244, 240, 230, 0.55);
  border-style: solid;
}

.tick-tl { top: 8px; left: 8px; border-width: 1px 0 0 1px; }

.tick-tr { top: 8px; right: 8px; border-width: 1px 1px 0 0; }

.tick-bl { bottom: 8px; left: 8px; border-width: 0 0 1px 1px; }

.tick-br { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }

.noscript {
  margin: 0.7rem 0 0;
  color: var(--openpfc-cream-dim);
  font-size: 0.92rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: clamp(1.8rem, 4vw, 2.8rem) 0 0;
  padding: 0;
  border-top: 1px solid rgba(244, 240, 230, 0.16);
}

.facts div {
  padding: 1rem 0.9rem 0 0;
}

.facts dt {
  margin: 0 0 0.3rem;
  font-family: var(--openpfc-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--openpfc-copper-soft);
}

.facts dd {
  margin: 0;
  color: var(--openpfc-paper);
  font-size: 0.98rem;
}

.hero .text-link {
  color: var(--openpfc-copper-soft);
}

.atlas {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.tile {
  position: relative;
  min-height: 220px;
  background: #161310;
  color: var(--openpfc-paper);
  box-shadow: inset 0 0 0 1px rgba(244, 240, 230, 0.14);
}

.tile-flow { grid-column: span 8; min-height: 460px; }

.tile-pfc { grid-column: span 4; min-height: 460px; }

.tile-ch,
.tile-allen,
.tile-heat { grid-column: span 4; min-height: 240px; }

.tile-elastic,
.tile-dendrite { grid-column: span 6; min-height: 280px; }

.tile-film,
.tile-plasma,
.tile-wave { grid-column: span 4; min-height: 240px; }

.tile-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tile canvas,
.fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.tile-flow .fallback {
  background:
    radial-gradient(circle at 32% 42%, rgba(211, 106, 50, 0.9), transparent 26%),
    radial-gradient(circle at 70% 62%, rgba(29, 94, 89, 0.95), transparent 30%),
    #14120e;
}

.tile-pfc .fallback,
.tile-dendrite .fallback {
  background:
    radial-gradient(circle at 40% 45%, #e0a15a 0 6px, transparent 7px),
    radial-gradient(circle at 58% 62%, #f3ddb4 0 5px, transparent 6px),
    repeating-linear-gradient(60deg, #3a1c16 0 8px, #140e0c 8px 16px);
}

.tile-ch .fallback,
.tile-allen .fallback {
  background:
    radial-gradient(circle at 30% 40%, #e7e1d4, transparent 36%),
    radial-gradient(circle at 68% 60%, #1d5e59, transparent 40%),
    #10211f;
}

.tile-heat .fallback,
.tile-film .fallback {
  background: linear-gradient(120deg, #1a120e, #8a3b22 42%, #f3e2c4);
}

.tile-elastic .fallback {
  background: repeating-linear-gradient(
    105deg,
    #1a120e 0 10px,
    #6e2a18 10px 12px,
    #d7c4a4 12px 18px
  );
}

.tile-plasma .fallback {
  background:
    radial-gradient(ellipse at 50% 50%, #e39a62, transparent 28%),
    linear-gradient(#0c1214, #143633 50%, #0c1214);
}

.tile-wave .fallback {
  background:
    repeating-radial-gradient(circle at 30% 50%, #1d5e59 0 8px, #10211f 9px 16px);
}

.tile-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 2.4rem 1rem 0.85rem;
  background: linear-gradient(
    to top,
    rgba(12, 10, 8, 0.94) 0%,
    rgba(12, 10, 8, 0.55) 46%,
    transparent 100%
  );
}

.tile h3 {
  margin: 0.12rem 0 0.28rem;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.tile h3 a {
  color: var(--openpfc-paper);
  text-decoration: none;
}

.tile h3 a:hover {
  color: var(--openpfc-copper-soft);
}

.tile .idx {
  margin: 0;
  font-family: var(--openpfc-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--openpfc-copper-soft);
}

.tile .blurb,
.tile .more {
  margin: 0;
  max-width: 42ch;
  color: #e6e0d4;
  font-size: 0.92rem;
}

.tile .more {
  display: none;
  margin-top: 0.4rem;
  color: var(--openpfc-cream-dim);
}

.tile:hover .more,
.tile:focus-within .more {
  display: block;
}

.tile:hover,
.tile:focus-within {
  box-shadow: inset 0 0 0 1px rgba(240, 176, 137, 0.85);
}

.footnote {
  margin: 1.1rem 0 0;
  max-width: 78ch;
  color: var(--openpfc-muted);
  font-size: 0.95rem;
}

.band-ink .footnote {
  color: var(--openpfc-cream-dim);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem 1rem;
}

.shot {
  margin: 0;
}

.shot-lead {
  grid-column: 1 / -1;
}

.shot img,
.shot video {
  display: block;
  width: 100%;
  height: auto;
  background: #100e0c;
  border: 0;
}

.shot-lattice img {
  image-rendering: pixelated;
}

.shot figcaption {
  margin-top: 0.7rem;
  color: var(--openpfc-cream-dim);
  font-size: 0.98rem;
}

.shot-kicker {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.35rem;
  font-family: var(--openpfc-font-serif);
  font-size: 1.25rem;
  color: var(--openpfc-paper);
  letter-spacing: -0.02em;
}

.shot-real {
  font-family: var(--openpfc-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--openpfc-copper-soft);
}

.credit {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--openpfc-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: #b7b0a4;
}

.path {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 1rem;
  margin: 0;
  padding: 1.6rem 0 0;
}

.path::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.28rem;
  height: 1px;
  background: var(--openpfc-copper-ink);
}

.path li {
  position: relative;
  margin: 0;
  padding: 0 0.6rem 0 0;
}

.path li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1.6rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--openpfc-copper);
}

.path h3 {
  margin: 0;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.path p {
  margin: 0.35rem 0 0;
  color: var(--openpfc-muted);
  font-size: 0.95rem;
}

.devices {
  margin-top: 2rem;
  border-top: 1px solid var(--openpfc-line);
  padding-top: 1.2rem;
}

.devices-k {
  margin: 0 0 0.8rem;
  font-family: var(--openpfc-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--openpfc-copper-ink);
}

.devices ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
  padding: 0;
}

.devices li {
  padding: 0.9rem 1rem;
  background: var(--openpfc-ink);
  color: var(--openpfc-paper);
}

.devices strong {
  display: block;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.devices li span,
.devices-foot {
  color: var(--openpfc-cream-dim);
}

.devices-foot {
  margin: 0.9rem 0 0;
  max-width: 68ch;
  color: var(--openpfc-muted);
}

.stack-note {
  margin: 1.15rem 0 0;
  max-width: 70ch;
}

.caps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.caps article {
  padding: 1.1rem 1rem 1.2rem;
  background: var(--openpfc-paper);
  border-top: 2px solid var(--openpfc-copper-ink);
}

.caps h3 {
  margin: 0 0 0.45rem;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.caps p {
  margin: 0;
  color: var(--openpfc-muted);
}

.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
}

.steps li + li {
  margin-top: 0.45rem;
}

.jump {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.jump li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--openpfc-line);
}

.edges {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 0;
}

.edges li {
  margin: 0;
  padding: 1rem 1rem 1.1rem;
  background: var(--openpfc-paper);
  border-top: 2px solid var(--openpfc-copper-ink);
}

.record-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem 3rem;
}

.fit-link {
  margin: 1.4rem 0 0;
}

.cta h2 {
  max-width: 14ch;
}

.cta .lede {
  margin-top: 1rem;
  max-width: 42ch;
}

@media (max-width: 980px) {
.hero-grid,
.start-grid,
.record-grid,
.caps,
.edges {
    grid-template-columns: 1fr 1fr;
  }

.caps article:nth-child(1),
.caps article:nth-child(2) {
    grid-column: auto;
  }

.atlas {
    grid-template-columns: 1fr 1fr;
  }

.tile,
.tile-flow,
.tile-pfc,
.tile-ch,
.tile-allen,
.tile-heat,
.tile-elastic,
.tile-dendrite,
.tile-film,
.tile-plasma,
.tile-wave {
    grid-column: span 1;
    min-height: 220px;
  }

.tile-flow,
.tile-pfc {
    grid-column: span 2;
    min-height: 320px;
  }

.facts,
.gallery,
.devices ul {
    grid-template-columns: 1fr 1fr;
  }

.shot-lead {
    grid-column: 1 / -1;
  }

.path {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 0;
  }

.path::before {
    left: 0.28rem;
    right: auto;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 1px;
    height: auto;
  }

.path li {
    padding: 0 0 1.15rem 1.35rem;
  }

.path li::before {
    top: 0.35rem;
    left: 0;
  }

.stage {
    height: 400px;
  }
}

@media (max-width: 720px) {
.hero-copy p + p {
    display: none;
  }

.hero-grid,
.hero-grid > * {
    min-width: 0;
  }

.hero-grid {
    grid-template-columns: 1fr;
    margin-top: 1.15rem;
  }

.stage {
    height: 280px;
  }

.atlas,
.facts,
.gallery,
.caps,
.edges,
.devices ul,
.start-grid,
.record-grid {
    grid-template-columns: 1fr;
  }

.tile,
.tile-flow,
.tile-pfc,
.tile-ch,
.tile-allen,
.tile-heat,
.tile-elastic,
.tile-dendrite,
.tile-film,
.tile-plasma,
.tile-wave {
    grid-column: span 1;
    min-height: 168px;
  }

.tile-flow,
.tile-pfc {
    min-height: 210px;
  }

.tile .more,
.tile:hover .more,
.tile:focus-within .more {
    display: none;
  }

.shot-lead {
    grid-column: auto;
  }

.instrument-bar span:nth-child(2),
.instrument-foot span:last-child {
    display: none;
  }
}

.atlas-more {
  margin: 1.1rem 0 0;
}

#scale {
  border-top: 1px solid rgba(244, 240, 230, 0.16);
}

.scale-layout,
.scale-charts {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem 1.1rem;
  align-items: stretch;
}

.chart-card {
  min-width: 0;
  margin: 0;
  background: var(--openpfc-paper);
  color: var(--openpfc-text);
  padding: 0.7rem 0.75rem 0.85rem;
}

.chart-card img,
.plot img {
  display: block;
  width: 100%;
  height: auto;
}

.chart-card figcaption,
.plot figcaption {
  margin: 0.65rem 0 0;
  color: var(--openpfc-muted);
  font-size: 0.95rem;
}

.scale-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  gap: 1rem 1.25rem;
  margin-top: 1.15rem;
}

.scale-stats b {
  display: block;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.scale-stats span,
.scale-note {
  color: var(--openpfc-cream-dim);
}

.scale-note {
  max-width: 78ch;
  margin: 1.15rem 0 0;
}

.scale-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.15rem 0 0;
}

.follow {
  margin-top: 1.2rem;
}

.page-hero {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.page-title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.family-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 1.15rem 0 0;
}

.family-nav a {
  color: var(--openpfc-copper-soft);
  font-family: var(--openpfc-font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.family-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.family {
  padding-top: clamp(2.2rem, 4vw, 3.2rem);
}

.family h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

.family > .lede {
  margin-top: 0.7rem;
}

.cap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem 1.6rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--openpfc-line);
}

.cap:not(.has-fig) {
  grid-template-columns: minmax(0, 1fr);
}

.cap h3 {
  margin: 0.15rem 0 0.45rem;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cap .idx {
  margin: 0;
  color: var(--openpfc-copper-ink);
  font-family: var(--openpfc-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eq {
  margin: 0.15rem 0 0.7rem;
  font-family: var(--openpfc-font-serif);
  font-size: 1.2rem;
  line-height: 1.35;
}

.cap ul {
  margin: 0.2rem 0 0.75rem;
  padding-left: 1.1rem;
}

.cap li + li {
  margin-top: 0.28rem;
}

.cap figure {
  margin: 0;
  min-width: 0;
}

.cap img {
  display: block;
  width: 100%;
  height: auto;
  background: #100e0c;
}

.cap figcaption,
.plot figcaption {
  margin-top: 0.55rem;
  color: var(--openpfc-muted);
  font-size: 0.92rem;
}

.cap .shot-real {
  display: inline-block;
  margin-right: 0.55rem;
  color: var(--openpfc-copper-ink);
}

.plot-stack {
  display: grid;
  gap: 1.6rem;
  margin-top: 1.3rem;
}

.plot {
  margin: 0;
  min-width: 0;
}

.num-table {
  width: 100%;
  margin-top: 0.8rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

.num-table th,
.num-table td {
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid var(--openpfc-line);
  text-align: right;
}

.num-table th:first-child,
.num-table td:first-child {
  text-align: left;
}

.num-table th {
  color: var(--openpfc-muted);
  font-family: var(--openpfc-font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 720px) {
.scale-layout,
.scale-charts,
.cap,
.cap.has-fig,
.visuals,
.facts,
.pair {
    grid-template-columns: 1fr;
  }

.scale-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
  }

.page-title {
    max-width: none;
  }
}

.example {
  padding: clamp(2.2rem, 4vw, 3.4rem) 0 0.4rem;
  border-top: 1px solid var(--openpfc-line);
}

.example .idx,
.cap .idx {
  margin: 0;
  color: var(--openpfc-copper-ink);
  font-family: var(--openpfc-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mono {
  font-family: var(--openpfc-font-mono);
  font-size: 0.92em;
}

.example h3 {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.example h4.results {
  margin: 1.15rem 0 0.15rem;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.example-sub {
  max-width: 62ch;
  margin: 0;
  color: var(--openpfc-muted);
}

.visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 0.75rem;
  margin: 1.1rem 0 0.4rem;
}

.visuals figure,
.pair figure,
.strip {
  margin: 0;
  min-width: 0;
}

.visuals img,
.pair img,
.strip img {
  display: block;
  width: 100%;
  height: auto;
  background: #100e0c;
  outline: 1px solid rgba(34, 30, 25, 0.18);
  outline-offset: -1px;
}

.visuals figcaption,
.pair figcaption,
.strip figcaption,
.chart-inline figcaption,
.wide-fig figcaption {
  margin-top: 0.45rem;
  color: var(--openpfc-muted);
  font-size: 0.92rem;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.strip.strip-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.strip.strip-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wide-fig {
  margin: 0.75rem 0 0;
}

.wide-fig img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--openpfc-paper);
  outline: 1px solid rgba(34, 30, 25, 0.18);
  outline-offset: -1px;
}

.example .shot-real,
.chart-inline .shot-real,
.wide-fig .shot-real {
  color: var(--openpfc-copper-ink);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
}

.facts h4 {
  margin: 0 0 0.3rem;
  color: var(--openpfc-copper-ink);
  font-family: var(--openpfc-font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts p,
.example > p {
  margin: 0.55rem 0 0;
  max-width: 78ch;
}

.meta {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.28rem 0.9rem;
  margin: 1rem 0 0;
  max-width: 78ch;
}

.meta dt {
  margin: 0;
  color: var(--openpfc-muted);
  font-family: var(--openpfc-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta dd {
  margin: 0;
}

.chart-inline {
  margin: 1rem 0 0;
  background: var(--openpfc-paper);
  padding: 0.6rem 0.7rem 0.8rem;
}

.chart-inline img {
  display: block;
  width: 100%;
  height: auto;
}

.group-label {
  margin: 0 0 0.2rem;
}

@media (max-width: 720px) {
.strip,
.strip.strip-3,
.strip.strip-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.scale-stats {
    grid-template-columns: 1fr 1fr;
  }

.visuals,
.facts,
.pair {
    grid-template-columns: 1fr;
  }
}

/* Case study. Text leads. The still is a controlled companion, not a full-bleed field. */

.case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.35rem, 3.2vw, 3rem);
  align-items: center;
  margin-top: 0.2rem;
}

.case-copy {
  min-width: 0;
  max-width: 40rem;
}

.case-lead {
  margin: 0.2rem 0 0;
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.5;
}

.case-why {
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 48ch;
}

.case-why li {
  position: relative;
  margin: 0.42rem 0 0;
  padding-left: 1rem;
  color: var(--openpfc-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.case-why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.45rem;
  height: 2px;
  background: var(--openpfc-copper);
}

.case-still {
  margin: 0;
  width: max-content;
  max-width: 100%;
  justify-self: end;
}

.case-still img {
  display: block;
  width: auto;
  max-width: min(100%, 32rem);
  height: auto;
  max-height: 460px;
  outline: 1px solid rgba(34, 30, 25, 0.18);
  outline-offset: -1px;
}

.case-still figcaption {
  width: 0;
  min-width: 100%;
  margin-top: 0.45rem;
  color: var(--openpfc-muted);
  font-size: 0.92rem;
}

.case-model {
  margin-top: 1.7rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--openpfc-line);
}

.case-model .facts {
  margin-top: 1rem;
}

.case h4.results {
  margin-top: 1.7rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.15rem;
  margin-top: 0.75rem;
}

.result-grid.single {
  grid-template-columns: minmax(0, 36rem);
}

.result-grid figure {
  margin: 0;
  min-width: 0;
}

.result-grid img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 260px;
  outline: 1px solid rgba(34, 30, 25, 0.18);
  outline-offset: -1px;
}

.result-grid.single img {
  max-height: 210px;
}

.result-grid figcaption {
  margin-top: 0.4rem;
  color: var(--openpfc-muted);
  font-size: 0.92rem;
}

.topic-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: clamp(1rem, 2.4vw, 2.2rem);
  align-items: center;
  margin-top: 0.85rem;
}

.topic-cards {
  display: grid;
  gap: 0.7rem;
}

.topic-card {
  margin: 0;
  padding: 0.85rem 1rem 0.95rem;
  background: rgba(255, 252, 246, 0.9);
  box-shadow: inset 0 0 0 1px var(--openpfc-line);
}

.topic-card h4 {
  margin: 0 0 0.35rem;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.topic-card p {
  margin: 0;
  max-width: none;
  color: var(--openpfc-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.topic-still {
  margin: 0;
  justify-self: end;
  width: min(100%, 28rem);
}

.topic-still img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  outline: 1px solid rgba(34, 30, 25, 0.18);
  outline-offset: -1px;
}

.topic-still figcaption {
  margin-top: 0.45rem;
  color: var(--openpfc-muted);
  font-size: 0.92rem;
}

.eq-block {
  margin-top: 1.65rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--openpfc-line);
}

.eq-block h4 {
  margin: 1.15rem 0 0.35rem;
  font-family: var(--openpfc-font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.eq-block h4:first-child {
  margin-top: 0;
}

.eq-block p {
  margin: 0.55rem 0 0;
  max-width: 72ch;
}

.eq {
  margin: 0.75rem 0;
  padding: 0.65rem 0.9rem;
  max-width: 72ch;
  overflow-x: auto;
  font-family: var(--openpfc-font-serif);
  font-size: 1.2rem;
  line-height: 1.45;
  background: rgba(255, 252, 246, 0.9);
  box-shadow: inset 0 0 0 1px var(--openpfc-line);
}

.eq-note {
  margin: 0.35rem 0 0;
  color: var(--openpfc-muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
.topic-row {
    grid-template-columns: 1fr;
  }

.topic-still {
    justify-self: start;
    width: min(100%, 18rem);
  }

.case-hero {
    grid-template-columns: 1fr;
    gap: 1.05rem;
  }

.case-still {
    justify-self: start;
  }

.case-still img {
    max-height: 300px;
  }

.result-grid,
.result-grid.single {
    grid-template-columns: 1fr;
  }

.result-grid img,
.result-grid.single img {
    max-height: 200px;
  }
}

@media print {
.tile canvas,
#hero-canvas {
    display: none;
  }
}
