:root[data-palette="teal"] { --ink: #173436; }
:root[data-palette="violet"] { --ink: #211d2b; }
:root[data-palette="wine"] { --ink: #38202a; }

.palette-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem .5rem;
  padding: .55rem var(--edge);
  background: #f3f2ef;
  color: #252322;
  font-size: .875rem;
}
.palette-preview a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .3rem .7rem;
  border-radius: .55rem;
}
.palette-preview a:hover { background: #e5e1da; }
.palette-preview a[aria-current="page"] { background: var(--ink); color: #fff; }

[data-palette] .hero { padding-bottom: var(--section-space); }
[data-palette] .hero-photo {
  width: min(100%, 36rem);
  max-height: none;
  aspect-ratio: 1.06;
  object-fit: cover;
  object-position: center 26%;
  border-radius: var(--radius);
  clip-path: none;
}

@media (max-width: 700px) {
  [data-palette] .hero { row-gap: .65rem; }
  [data-palette] .hero-photo { width: min(100%, 26rem); justify-self: center; }
}
