/* A photographic catalogue, with a quiet workshop palette. */
.opening { background: linear-gradient(120deg, #f3f1eb 45%, #e5e9df 100%); }
.hero-image-caption { background: #172f35; color: #f3f1eb; padding: 17px 20px; border: 0; }
.hero-image-caption strong { color: #f3f1eb; }
.hero-image-caption small, #hero-provenance { color: #c0cdc3; }
.hero-image-caption button { color: #f3f1eb; border-color: #879d94; }
.hero-image-caption button:hover { background: #e9aa4f; color: #172f35; }
.hero-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 17px; }
.hero-selector button { display: flex; align-items: center; gap: 10px; text-align: left; min-width: 0; padding: 0 0 9px; }
.hero-selector button img { width: 64px; height: 43px; flex-shrink: 0; opacity: .6; }
.hero-selector button[aria-pressed=true] img { opacity: 1; }
.hero-selector button .hero-choice-copy { color: #50655b; font-size: 10px; margin: 0; }
.hero-selector button[aria-pressed=true] .hero-choice-copy { color: #172f35; }
.hero-choice-copy small { display: block; color: #866031; font-size: 8px; font-weight: 400; margin-bottom: 3px; }
.hero-selector button::after { bottom: 0; }

.component-explorer { border: 1px solid #b9c5b8; margin-bottom: 65px; }
.family-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: #f1f1e9; }
.family-tabs button { display: flex; align-items: center; gap: 16px; background: transparent; padding: 23px 25px; border-right: 1px solid #b9c5b8; border-bottom: 1px solid #b9c5b8; text-align: left; font-size: 14px; color: #425a50; }
.family-tabs button:last-child { border-right: 0; }
.family-tabs button > span:first-child { font: 10px/1.5 monospace; color: #8b642d; }
.family-tabs button > span:last-child { margin-left: auto; font-size: 20px; }
.family-tabs button[aria-selected=true] { background: #172f35; border-bottom-color: #172f35; color: #f3f1eb; }
.family-tabs button[aria-selected=true] > span:first-child { color: #e5b46d; }
.family-tabs button:focus-visible { outline-offset: -5px; outline-color: #d79c45; }
.family-panel { display: grid; grid-template-columns: 1.5fr 1fr; background: #f0f1e9; }
.family-panel:focus-visible { outline: 2px solid #9c591d; outline-offset: 5px; }
.family-visual { min-width: 0; padding: 24px 30px 20px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; background: #e0e5db; }
.family-image-heading, .family-image-footer { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 18px; }
.family-image-heading { font: 9px/1.6 monospace; color: #52665a; letter-spacing: .5px; }
.family-image-button { position: relative; display: block; background: transparent; padding: 0; margin: 25px 0; width: 100%; max-width: calc(355px * var(--photo-ratio)); aspect-ratio: var(--photo-ratio); box-shadow: 7px 8px 0 #c1ccbd, 0 20px 28px -19px #172f3550; cursor: zoom-in; }
.family-image-button img { width: 100%; height: 100%; object-fit: contain; }
.family-image-footer > span { color: #52665a; font-size: 8px; letter-spacing: .65px; }
.family-image-footer .text-link { font-size: 11px; gap: 15px; }
.family-copy { padding: 37px 36px 31px; border-left: 1px solid #b9c5b8; }
.family-kicker { display: block; color: #52665a; font-size: 9px; letter-spacing: 1.2px; text-transform: uppercase; }
.family-copy h3 { font-size: clamp(27px, 2.5vw, 37px); letter-spacing: -1.2px; line-height: 1.1; font-weight: 500; margin-top: 17px; max-width: 340px; }
.family-copy > p { font-size: 12px; color: #52665a; line-height: 1.8; margin-top: 18px; }
.family-features { list-style: none; margin: 23px 0 0; padding: 0; border-top: 1px solid #bdc9b8; }
.family-features li { padding: 10px 0; display: flex; gap: 18px; border-bottom: 1px solid #cbd3c5; font-size: 12px; }
.family-features li span { font: 10px/1.9 monospace; color: #806134; }
.family-related { margin-top: 22px; }
.family-related > span { display: block; font-size: 8px; letter-spacing: .6px; color: #52665a; margin-bottom: 7px; }
.family-related .text-link { font-size: 12px; gap: 20px; }
.family-copy > .button { margin-top: 25px; width: 100%; justify-content: space-between; }
.family-copy > p.family-note { font-size: 10px; line-height: 1.75; margin-top: 14px; }
.collection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px; scroll-margin-top: 110px; }
.collection-heading h3 { font-size: 27px; font-weight: 500; letter-spacing: -.8px; }
.collection-heading > span { font-size: 8px; color: #52665a; letter-spacing: 1px; }
.project-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px 22px; }
.project-grid:not(.is-filtered) .project-card:first-child { grid-column: auto; }
.project-grid .project-image, .project-grid:not(.is-filtered) .project-card:first-child .project-image { height: auto; aspect-ratio: 1.2; }
.project-grid .project-caption strong, .project-grid:not(.is-filtered) .project-card:first-child .project-caption strong { font-size: 16px; line-height: 1.25; }
.project-caption small { font-size: 7px; }
.project-caption > span:last-child { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-selector img { transition: opacity 200ms ease; }
  .family-tabs button { transition: background-color 180ms ease, color 180ms ease; }
  .family-image-button { transition: transform 300ms ease, box-shadow 300ms ease; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .family-image-button:hover { transform: translateY(-3px); box-shadow: 7px 11px 0 #c1ccbd, 0 25px 35px -20px #172f3570; }
}
@media (max-width: 1150px) {
  .hero-selector button { gap: 7px; }
  .hero-selector button img { width: 46px; height: 36px; }
  .family-panel { grid-template-columns: 1.15fr 1fr; }
  .family-copy { padding: 30px 26px; }
  .family-visual { padding: 24px; }
  .family-tabs button { font-size: 12px; padding: 20px 18px; gap: 12px; }
  .family-image-button { max-width: calc(325px * var(--photo-ratio)); }
  .project-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 800px) {
  .hero-selector { gap: 10px; }
  .hero-selector button img { width: 35px; height: 32px; }
  .hero-selector button .hero-choice-copy { font-size: 8px; }
  .hero-selector button .hero-choice-copy small { font-size: 7px; margin-bottom: 1px; }
  .hero-image-caption { padding: 15px; }
  .family-tabs button { font-size: 11px; padding: 18px 14px; gap: 10px; }
  .family-tabs button > span:last-child { display: none; }
  .family-visual { padding: 20px; }
  .family-copy { padding: 27px 23px; }
  .family-copy h3 { font-size: 29px; }
  .family-image-heading { display: block; font-size: 8px; }
  .family-image-heading > span { display: block; }
  .family-image-heading > span:last-child { margin-top: 4px; }
  .family-image-footer { display: block; }
  .family-image-footer .text-link { display: flex; margin-top: 9px; }
  .family-image-button { max-width: calc(300px * var(--photo-ratio)); }
  .project-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px 18px; }
  .project-grid .project-caption strong, .project-grid:not(.is-filtered) .project-card:first-child .project-caption strong { font-size: 14px; }
}
@media (max-width: 590px) {
  .hero-selector button img { width: 42px; height: 34px; }
  .hero-selector button .hero-choice-copy { font-size: 9px; }
  .hero-image-caption strong { font-size: 15px; }
  .component-explorer { margin-bottom: 40px; }
  .family-tabs button { display: block; padding: 15px 12px; font-size: 12px; line-height: 1.4; min-height: 85px; }
  .family-tabs button > span:first-child { display: block; font-size: 9px; margin-bottom: 6px; }
  .family-panel { grid-template-columns: 1fr; }
  .family-visual { min-height: 340px; padding: 19px 20px; }
  .family-image-heading { display: flex; font-size: 8px; }
  .family-image-heading > span:last-child { margin-top: 0; }
  .family-image-button { max-width: calc(230px * var(--photo-ratio)); margin-block: 22px; }
  .family-image-footer { display: flex; }
  .family-image-footer > span { font-size: 8px; max-width: 110px; }
  .family-image-footer .text-link { font-size: 10px; margin-top: 0; gap: 10px; }
  .family-copy { padding: 27px 23px; border-left: 0; border-top: 1px solid #b9c5b8; }
  .family-copy h3 { font-size: 32px; }
  .family-copy > p { font-size: 13px; }
  .family-copy > p.family-note { font-size: 11px; }
  .family-features li { font-size: 13px; }
  .collection-heading { display: block; margin-bottom: 17px; }
  .collection-heading h3 { font-size: 27px; }
  .collection-heading > span { display: block; margin-top: 9px; font-size: 8px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 25px 16px; }
  .project-caption small { font-size: 6px; }
  .project-zoom { width: 28px; height: 28px; font-size: 18px; right: 10px; bottom: 10px; }
}
