.masthead-brand {
  display: inline-block;
  width: min(20rem, 72vw);
  margin-bottom: 1rem;
  line-height: 0;
}

.masthead-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.crumbs {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.crumbs a {
  color: inherit;
}

.style-meta {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.style-detail {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 2.5rem;
  padding: 2rem 0 3rem;
}

.style-figure {
  margin: 0;
}

/* The plate holds the left page while the entry scrolls, so the specimen stays
   in view for as long as the copy runs. No motion: it is a page, not a panel. */
@media (min-width: 761px) {
  .style-figure {
    position: sticky;
    top: 2rem;
    align-self: start;
  }
}

.style-figure .image-slot {
  aspect-ratio: 1;
}

.style-figure figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.style-copy .desc {
  max-width: 42rem;
  margin-top: 0;
  font-size: 1.05rem;
}

.style-copy h2 {
  margin: 1.6rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.style-copy .traits {
  margin: 0;
}

.swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.swatch-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.swatch-hex {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
}

.related-styles,
.sources {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

.related-styles li,
.sources li {
  margin: 0.25rem 0;
}

.source-date {
  color: var(--muted);
  font-size: 0.78rem;
}

.style-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.style-nav a {
  color: inherit;
}

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.25rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .style-detail {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
