/* Collection discovery and portfolios. The paper compositions reserve real photo space. */
.catalogue-section { background: #fff; padding: 64px 0 76px; border-top: 1px solid #f1eeea; }
.catalogue-heading { display: block; text-align: center; margin: 0 auto 49px; }
.catalogue-heading h2 { font-size: clamp(38px,4.3vw,61px); letter-spacing: -.035em; max-width: none; }
.catalogue-heading p { max-width: none; margin: 15px auto 26px; font-size: 15px; }
.catalogue-heading .search-box { display: block; width: min(410px,100%); margin: 0 auto; }
.catalogue-heading .search-box input { border-color: #e1ded8; border-radius: 999px; padding-left: 23px; min-height: 47px; background: #fff; box-shadow: 0 2px 5px #4b4b4510; }
.catalogue-heading .search-mark { right: 20px; }
.collections-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 33px; row-gap: 30px; }
.collection-portal { display: block; text-align: center; min-width: 0; padding-bottom: 15px; }
.collection-portal h3 { font-size: clamp(25px,2.1vw,33px); line-height: 1.08; margin: 14px 0 9px; letter-spacing: -.015em; }
.collection-portal>p { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 31ch; margin: 0 auto; }
.portal-action { display: inline-flex; gap: 15px; margin-top: 14px; font-size: 13px; border-bottom: 1px solid #dbc7be; padding: 3px 0; }
.collection-portal:hover .portal-action { border-color: #8cab9e; }
.paper-composition { position: relative; aspect-ratio: 1.24; width: 100%; isolation: isolate; --photo-tone: #f4ddd7; }
.paper-composition.aqua { --photo-tone: #d7eae5; }
.paper-composition.cream { --photo-tone: #eee8de; }
.composition-decoration { position: absolute; width: 94%; height: 91%; object-fit: contain; top: 5%; left: 3%; opacity: .85; z-index: -1; }
.paper-slip { position: absolute; left: 29%; top: 17%; width: 50%; height: 71%; background: #fffdf8; transform: rotate(5deg); box-shadow: 0 3px 10px #474c4020; }
.photo-mount { position: absolute; display: block; padding: 8px; background: #fffefa; box-shadow: 0 7px 13px #3c433324; transition: transform .28s ease; }
.photo-mount>span { display: block; height: 100%; width: 100%; background: var(--photo-tone); background-image: linear-gradient(115deg,#ffffff22,transparent 65%); }
.photo-mount-front { width: 52%; height: 79%; left: 21%; top: 6%; transform: rotate(-5deg); z-index: 2; }
.photo-mount-back { width: 43%; height: 51%; right: 9%; bottom: 10%; transform: rotate(9deg); }
.photo-mount-back>span { background: #ebf1e8; }
.aqua .photo-mount-back>span { background: #f4ded8; }
.landscape .photo-mount-front { width: 69%; height: 60%; left: 12%; top: 22%; transform: rotate(5deg); }
.landscape .photo-mount-back { width: 47%; height: 76%; right: 16%; bottom: 10%; transform: rotate(-8deg); }
.square .photo-mount-front { width: 60%; height: 70%; left: 15%; top: 13%; transform: rotate(-7deg); }
.square .photo-mount-back { width: 48%; height: 64%; right: 10%; bottom: 12%; transform: rotate(8deg); }
.collection-portal:hover .photo-mount-front { transform: translateY(-5px) rotate(-2deg); }
.collection-portal:hover .photo-mount-back { transform: translateY(1px) rotate(5deg); }
.collection-portal:nth-child(3) .composition-decoration { transform: rotate(10deg); opacity: .62; }
.collection-portal:nth-child(5) .composition-decoration { transform: rotate(-5deg); opacity: .5; }
.search-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding-bottom: 25px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.search-heading h3 { font-size: 31px; }
.search-heading #catalogue-count { margin: 0; }
.search-heading .text-link { margin-left: auto; }
body.collection-open { background: #fffdfb; }
.category-view { padding: 29px 0 65px; }
.category-view>.back-link { color: #67756d; }
.category-intro { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 80px; padding: 20px 42px 37px 0; }
.category-intro h1 { font-size: clamp(42px,4.8vw,69px); letter-spacing: -.035em; max-width: 15ch; }
.category-intro p { font-size: 16px; max-width: 38ch; margin: 20px 0 22px; color: var(--muted); }
.category-composition { max-width: 375px; justify-self: center; }
.collection-selector { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 26px; padding: 22px 0; border-block: 1px solid #ebe6df; margin-bottom: 54px; }
.collection-selector a { font-size: 13px; padding: 5px 0; line-height: 1.6; border-bottom: 2px solid transparent; }
.collection-selector a[aria-current=page] { border-color: var(--pink); color: var(--ink); font-weight: 700; }
.collection-selector a:hover { border-color: var(--aqua); }
.category-types-heading { text-align: center; margin-bottom: 39px; }
.category-types-heading h2 { font-size: 43px; letter-spacing: -.02em; }
.category-types-heading p { color: var(--muted); margin-top: 13px; font-size: 14px; }
.types-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px 70px; }
.type-card { display: grid; grid-template-columns: minmax(135px,.78fr) minmax(0,1fr); gap: 14px; align-items: center; padding: 14px 0 37px; border-bottom: 1px solid #eee8e2; min-width: 0; }
.type-visual { display: block; }
.type-composition { aspect-ratio: .95; }
.type-composition .composition-decoration { width: 100%; height: 89%; left: 0; top: 7%; }
.type-composition .photo-mount { padding: 6px; box-shadow: 0 5px 8px #474c401c; }
.type-composition .photo-mount-front { width: 64%; height: 74%; left: 15%; top: 11%; }
.type-composition.landscape .photo-mount-front { width: 81%; height: 51%; left: 6%; top: 28%; }
.type-composition .photo-mount-back { right: 8%; height: 55%; }
.type-copy { min-width: 0; }
.type-copy h2 { font-size: 30px; letter-spacing: -.02em; }
.type-copy h2 a:hover { color: #5c8575; }
.type-summary { font-size: 13px; margin-top: 11px; color: var(--muted); }
.variant-lines { margin: 18px 0; }
.variant-lines>div { margin: 12px 0; }
.variant-lines dt { font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.variant-lines dd { margin: 0; display: flex; flex-wrap: wrap; gap: 3px 10px; }
.variant-lines dd span { font-size: 13px; color: #65736b; }
.variant-lines dd span:not(:last-child)::after { content: ' /'; color: #b7c9bf; margin-left: 6px; }
.personal-note { font-size: 13px; color: var(--muted); margin: 15px 0; }
.type-copy .text-link { font-size: 13px; line-height: 1.7; }
.collection-crosslinks { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 29px; align-items: center; }
.collection-crosslinks h2 { width: 100%; font-size: 30px; margin-bottom: 5px; }
.collection-crosslinks .text-link { font-size: 13px; }
.collection-view { padding-block: 24px 60px; }
.product-breadcrumb { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; font-size: 13px; color: #6b776f; margin-bottom: 25px; }
.product-breadcrumb a { padding-block: 6px; border-bottom: 1px solid transparent; }
.product-breadcrumb a:hover { border-color: #95b0a5; }
.product-breadcrumb>span[aria-hidden] { color: #b6bdb6; }
.product-heading { display: flex; gap: 50px; align-items: center; justify-content: space-between; padding-bottom: 34px; }
.product-heading h1 { font-size: clamp(44px,4.6vw,63px); letter-spacing: -.035em; }
.product-heading p { font-size: 14px; color: var(--muted); margin-top: 15px; max-width: 61ch; }
.product-heading .collection-switch { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 0 0 220px; }
.product-heading .collection-switch select { max-width: 100%; width: 100%; }
.product-layout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(290px,.8fr); gap: 70px; align-items: start; }
.product-composition { max-width: 640px; aspect-ratio: 1.16; margin-inline: auto; }
.product-composition .photo-mount { padding: 13px; }
.photo-pending { font-size: 13px; text-align: center; color: #7b8178; margin: 12px 0; }
.product-options { padding: 10px 0 10px 5px; }
.product-options h2 { font-size: 36px; letter-spacing: -.02em; }
.product-options .options-intro { font-size: 13px; max-width: 41ch; margin: 14px 0 26px; line-height: 1.7; }
.product-options .option-group { margin-bottom: 24px; }
.product-options .option-group legend { font-size: 13px; margin-bottom: 10px; }
.product-options .option-choice span { font-size: 13px; padding: 9px 13px; border-color: #e4ddd4; border-radius: 5px; background: #fff; }
.product-options .option-choice input:checked+span { background: #e3f0e9; border-color: #a1bdae; }
.product-options .custom-details { padding-top: 21px; margin-top: 26px; border-color: #e9e1d9; }
.product-options .custom-details>p { font-size: 13px; }
.product-options .custom-details .button { min-width: 190px; margin-bottom: 4px; }
.product-options .custom-details .options-small { font-size: 13px; max-width: 39ch; margin-bottom: 0; }
.featured-photo { display: block; width: 100%; padding: 14px; background: #fff; border: 1px solid #eee7df; box-shadow: 0 8px 20px #383f3110; transform: rotate(-1deg); }
.featured-photo img { width: 100%; aspect-ratio: 1.1; object-fit: contain; height: auto; max-height: 60vh; background: #faf8f3; }
.featured-photo:hover { box-shadow: 0 8px 20px #383f311a; }
.featured-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #657366; padding-top: 16px; font-size: 13px; }
.featured-caption h2 { font-size: 26px; }
.product-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 16px 4px 6px; }
.product-thumbnails button { width: 65px; height: 65px; flex: 0 0 65px; padding: 4px; border: 1px solid #ece7df; background: #fff; }
.product-thumbnails button[aria-pressed=true] { border-color: #80a99a; }
.product-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.project-gallery { margin-top: 64px; padding-top: 39px; border-top: 1px solid #e9e3db; }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.gallery-heading h2 { font-size: 41px; letter-spacing: -.022em; }
.gallery-heading p { font-size: 15px; color: var(--muted); max-width: 58ch; margin-top: 12px; }
#gallery-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.gallery-filters { display: flex; align-items: flex-end; gap: 15px; flex-wrap: wrap; padding: 24px 0; }
.gallery-filter-label { font-size: 13px; padding-bottom: 9px; margin-right: 7px; }
.gallery-filters label { font-size: 13px; display: flex; flex-direction: column; gap: 5px; }
.gallery-filters select { border: 1px solid #deddd3; border-radius: 4px; background: #fff; font-size: 13px; padding: 9px 32px 9px 11px; max-width: 230px; }
.gallery-filters .text-link { font-size: 13px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px 28px; }
.project-tile { min-width: 0; }
.project-image { display: block; width: 100%; padding: 10px; border: 1px solid #ece6dd; background: #fff; }
.project-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.project-tile h3 { font-size: 26px; margin-top: 15px; }
.project-tile p,.project-tile time { font-size: 13px; color: var(--muted); margin-top: 6px; }
.catalogue-portfolio { margin-top: 0; border-top: 0; padding-top: 0; }
.catalogue-portfolio .gallery-heading { align-items: end; }
.catalogue-portfolio .gallery-heading p { max-width: 68ch; }
.catalogue-portfolio .portfolio-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.gallery-empty { max-width: 70ch; font-size: 13px; line-height: 1.8; color: #6e796e; border: 1px solid var(--line); padding: 15px 24px; margin-top: 24px; background: #f7faf6; }
#gallery-more { display: flex; margin: 30px auto 0; }
.collection-return { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 45px; }
@media (min-width: 1450px) {
  .collections-grid { gap: 43px 55px; }
}
@media (max-width: 1000px) {
  .collections-grid { column-gap: 20px; }
  .collection-portal h3 { font-size: 26px; }
  .types-grid { gap: 25px 30px; }
  .type-card { display: block; }
  .type-visual { width: 60%; max-width: 240px; margin: 0 auto 10px; }
  .type-composition { aspect-ratio: 1.3; }
  .type-copy h2 { font-size: 32px; }
  .category-intro { gap: 40px; padding-right: 0; }
  .category-composition { max-width: 320px; }
  .product-layout { gap: 40px; grid-template-columns: 1fr 1fr; }
  .product-options h2 { font-size: 32px; }
}
@media (max-width: 750px) {
  .catalogue-portfolio .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalogue-section { padding-block: 43px 50px; }
  .catalogue-heading { margin-bottom: 31px; }
  .catalogue-heading p { font-size: 14px; max-width: 32ch; margin: 14px auto 21px; }
  .collections-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
  .collection-portal h3 { font-size: 26px; }
  .category-intro { gap: 24px; }
  .category-intro h1 { font-size: 44px; }
  .category-intro p { font-size: 14px; }
  .category-intro .text-link { font-size: 13px; }
  .collection-selector { gap: 10px 20px; margin-bottom: 36px; }
  .product-heading { display: block; padding-bottom: 25px; }
  .product-heading .collection-switch { width: auto; margin-top: 21px; max-width: 100%; }
  .product-heading .collection-switch select { width: min(290px,100%); }
  .product-layout { gap: 25px; align-items: start; }
  .product-options h2 { font-size: 30px; }
  .product-options .option-choice span { padding: 8px 10px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .catalogue-portfolio .portfolio-grid { gap: 14px; }
  .catalogue-heading h2 { font-size: 38px; max-width: 17ch; margin: 0 auto; }
  .catalogue-heading .search-box { margin-top: 0; }
  .catalogue-heading .search-box input { font-size: 16px; }
  .collections-grid { gap: 20px 12px; }
  .collection-portal h3 { font-size: 25px; line-height: 1.1; margin-top: 10px; }
  .collection-portal>p { display: none; }
  .portal-action { margin-top: 8px; font-size: 13px; gap: 6px; }
  .paper-composition .photo-mount { padding: 5px; }
  .category-view { padding-top: 20px; }
  .category-intro { display: block; padding-top: 24px; padding-bottom: 19px; text-align: center; }
  .category-intro h1 { font-size: 44px; max-width: 16ch; margin: 0 auto; }
  .category-intro p { margin: 15px auto 12px; max-width: 32ch; }
  .category-composition { width: 70%; max-width: 275px; margin: 18px auto 0; aspect-ratio: 1.4; }
  .collection-selector { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 8px; overflow-x: auto; padding: 12px 2px; margin-bottom: 28px; scrollbar-width: thin; }
  .collection-selector a { font-size: 14px; line-height: 1.5; min-height: 44px; display: inline-flex; align-items: center; flex-shrink: 0; padding: 8px 12px; }
  .category-types-heading h2 { font-size: 35px; }
  .category-types-heading p { font-size: 13px; line-height: 1.7; max-width: 31ch; margin: 11px auto 0; }
  .types-grid { grid-template-columns: 1fr; row-gap: 25px; }
  .type-card { display: grid; grid-template-columns: minmax(88px,.63fr) minmax(0,1fr); align-items: start; gap: 16px; padding-bottom: 28px; }
  .type-visual { width: 100%; margin-top: 12px; }
  .type-composition { aspect-ratio: .82; }
  .type-copy h2 { font-size: 28px; }
  .type-summary { font-size: 13px; margin-top: 8px; }
  .variant-lines { margin: 12px 0; }
  .variant-lines dt,.variant-lines dd span { font-size: 13px; }
  .variant-lines dd { gap: 3px 6px; }
  .variant-lines dd span:not(:last-child)::after { margin-left: 3px; }
  .type-copy .text-link { font-size: 13px; }
  .search-heading h3 { font-size: 28px; }
  .search-heading .text-link { margin-left: 0; }
  .product-breadcrumb { font-size: 13px; gap: 7px; margin-bottom: 23px; }
  .product-heading h1 { font-size: 45px; }
  .product-heading p { font-size: 15px; line-height: 1.7; }
  .product-heading .collection-switch { display: block; margin-top: 21px; }
  .product-heading .collection-switch>span { display: block; font-size: 13px; margin-bottom: 5px; }
  .product-heading .collection-switch select { width: 100%; max-width: none; font-size: 14px; }
  .product-layout { grid-template-columns: 1fr; gap: 31px; }
  .product-visual { width: 100%; }
  .product-composition { width: 95%; max-width: 355px; aspect-ratio: 1.3; }
  .product-composition .photo-mount { padding: 9px; }
  .photo-pending { font-size: 13px; margin-top: 9px; }
  .product-options { padding: 0; }
  .product-options h2 { font-size: 35px; }
  .product-options .options-intro { margin-top: 13px; font-size: 13px; }
  .product-options .option-choice span { font-size: 13px; padding: 10px 13px; min-height: 44px; }
  .product-options .option-group legend { font-size: 13px; }
  .product-options .custom-details .button { width: 100%; }
  .product-options .custom-details .options-small { font-size: 13px; }
  .project-gallery { margin-top: 42px; padding-top: 29px; }
  .gallery-heading { display: block; }
  .gallery-heading h2 { font-size: 35px; }
  .gallery-heading p { font-size: 15px; }
  #gallery-count { display: block; margin-top: 12px; }
  .gallery-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
  .gallery-filter-label { grid-column: 1/-1; padding: 0; }
  .gallery-filters label { min-width: 0; }
  .gallery-filters select { max-width: 100%; width: 100%; font-size: 16px; padding: 11px 22px 11px 8px; }
  .gallery-grid { gap: 23px 14px; }
  .project-image { padding: 6px; }
  .project-tile h3 { font-size: 25px; }
  .project-tile p { font-size: 13px; }
  .gallery-empty { padding: 13px 18px; font-size: 13px; }
  .collection-return { align-items: flex-start; gap: 20px; }
  .collection-return .text-link { font-size: 13px; }
}
@media (max-width: 370px) {
  .catalogue-portfolio .portfolio-grid { grid-template-columns: 1fr; }
  .collection-portal h3 { font-size: 22px; }
  .portal-action { font-size: 13px; }
  .type-card { display: block; }
  .type-visual { width: 54%; max-width: 170px; margin: 0 auto 15px; }
  .type-composition { aspect-ratio: 1.2; }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-mount { transition: none; }
}

.product-options .option-group h3 { font-size: 13px; margin-bottom: 10px; }
.product-options .option-choices { display: grid; gap: 5px; list-style: disc; padding-left: 20px; }
.product-options .option-choices li { color: #66746c; font-size: 13px; line-height: 1.5; }
.product-options .custom-details .contact-actions { align-items: flex-start; }
.product-options .custom-details .contact-actions .button { min-width: 0; margin: 0; }
#example-content .contact-actions { margin-top: 16px; }
@media (max-width: 600px) {
  .product-options .custom-details .contact-actions { flex-direction: column; align-items: stretch; }
  .product-options .custom-details .contact-actions .text-link { align-self: flex-start; }
}

/* Compact collection headers put the catalogue ahead of decorative content. */
.category-catalogue-intro { padding: 22px 0 12px; }
.category-catalogue-intro h1 { font-size: clamp(36px,4.8vw,60px); letter-spacing: -.035em; }
.category-catalogue-intro p { max-width: 65ch; margin: 14px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 600px) {
  .category-catalogue-intro { padding-top: 16px; }
  .category-catalogue-intro p { font-size: 14px; }
}
.product-options .option-group h3 { font: 700 14px/1.5 var(--body); }
.product-breadcrumb { font-size: 13px; line-height: 1.6; }
.product-breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
.product-heading { margin-top: 20px; }
.gallery-heading h2 { max-width: 25ch; }
.gallery-empty { border-radius: 12px; }
@media (max-width: 600px) {
  .gallery-heading h2 { font-size: 32px; }
  .catalogue-portfolio .portfolio-grid { gap: 18px 12px; }
  .collection-selector a[aria-current=page] { background: #e8f2ed; border-color: #6e9686; border-radius: 8px 8px 0 0; }
  .product-heading h1 { font-size: clamp(36px, 10vw, 45px); overflow-wrap: anywhere; }
  .category-catalogue-intro h1 { font-size: clamp(34px, 10vw, 42px); }
  .collection-return { flex-wrap: wrap; }
}
.product-photo-empty { min-height: 220px; padding: 32px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--paper); border-radius: 14px; }
.product-photo-empty .photo-pending { margin: 0 0 16px; text-align: left; color: var(--muted); font-size: 15px; line-height: 1.65; }
@media (max-width: 600px) { .product-photo-empty { min-height: 160px; padding: 24px; } }
.photo-load-error { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.photo-load-error p { margin-bottom: 14px; }
