img { height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #547e86; outline-offset: 4px; }
button, select, input:not([type=checkbox]):not([type=radio]), .action-link, .save-photo { min-height: 44px; }
button, a, input, select { -webkit-tap-highlight-color: #a6c2c333; }
button { cursor: pointer; }
button:disabled, [aria-disabled=true] { opacity: .55; cursor: wait; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: 1rem; background: var(--paper); color: var(--ink); z-index: 1000; }
.skip-link:focus { top: 1rem; }
.hero picture { display: block; position: absolute; inset: 0; }
.hero picture img { width: 100%; height: 100%; object-fit: cover; animation: hero-in 1.2s ease both; }
.hero-print-link { display: inline-flex; padding: .8rem 1rem; border: 1px solid #fff9; margin-inline-end: 1.5rem; margin-bottom: 1rem; }
.feature-section { padding-top: clamp(3rem,6vw,6rem); padding-bottom: clamp(3rem,6vw,6rem); }
.feature-section h2 { font: 400 clamp(2rem,4vw,3.4rem)/1.12 var(--serif); }
.story-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 2rem; }
.story-cards>a { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.story-cards h2 { font-size: 2rem; }
.story-cards img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.frame-detail-photo { margin: 1rem 0; }
.frame-detail-photo img { max-height: 260px; object-fit: cover; }
.frame-detail-photo figcaption { font-size: .8rem; padding-top: .5rem; }
.action-link { display: inline-flex; align-items: center; padding: .85rem 1.2rem; background: var(--ink); color: var(--paper); margin: 1rem 1rem 1rem 0; }
.save-photo { background: transparent; border: 1px solid var(--line); padding: .65rem 1rem; margin-bottom: 1rem; }
.save-photo[aria-pressed=true] { background: #d6e0d7; }
.shortlist-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 2rem; }
.shortlist-grid article { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.shortlist-grid img { aspect-ratio: 4/3; object-fit: contain; background: #e6e3dd; }
.shortlist-grid h2 { font-size: 1.6rem; }
.shortlist-grid button, .forget-draft { padding: .5rem 1rem; border: 1px solid var(--line); background: transparent; }
.configuration-summary { padding: 1.5rem; background: #e7e3d9; margin-bottom: 2rem; }
.connection-banner { position: fixed; bottom: 0; z-index: 100; padding: .8rem var(--pad); background: #413c2f; color: white; width: 100%; }
.image-retry { position: relative; z-index: 3; border: 1px solid var(--line); padding: .5rem; color: var(--ink); background: var(--paper); }
.studio-mode-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.studio-mode-tabs button { padding: .7rem 1rem; border: 1px solid var(--line); background: transparent; }
.studio-mode-tabs button[aria-pressed=true] { color: var(--paper); background: var(--ink); }
.preview-workspace { display: grid; grid-template-columns: minmax(0,2.4fr) minmax(240px,1fr); align-items: start; gap: 2rem; }
.room-canvas-wrap { position: sticky; top: 1rem; min-width: 0; }
.room-canvas-wrap canvas { display: block; width: 100%; height: auto; border: 1px solid var(--line); touch-action: pan-y; }
.room-controls { display: grid; gap: 1rem; }
.room-controls label { display: grid; gap: .35rem; font-size: .85rem; }
.room-controls select, .room-controls input { width: 100%; min-width: 0; }
.room-controls input[type=color] { width: 100%; padding: .25rem; }
.room-controls input[type=range] { padding: 0; accent-color: #496764; }
.room-controls input[type=file] { font-size: .8rem; }
.room-controls p, .model-panel p, .preview-measurements { font-size: .85rem; color: #555; }
.room-controls button, .model-panel button { background: transparent; border: 1px solid var(--line); padding: .7rem; }
.room-controls>div { display: grid; gap: .75rem; }
.model-panel { grid-column: 1/-1; }
model-viewer { display: block; width: 100%; height: min(65svh,650px); background: #e8e3d9; }
.mobile-order-bar { display: none; }
.draft-notice { padding: 1rem; background: #ede0bb; }
.viewer-open { overflow: hidden; }
.lightbox { max-width: 100vw; width: 100vw; max-height: 100dvh; height: 100dvh; padding: 0; margin: 0; border: 0; background: #111; color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.viewer-toolbar { display: flex; align-items: center; gap: .5rem; padding: max(.5rem,env(safe-area-inset-top)) max(.5rem,env(safe-area-inset-right)) .5rem max(.5rem,env(safe-area-inset-left)); }
.viewer-toolbar button { position: static; color: white; background: #fff1; border: 1px solid #fff4; min-width: 44px; padding: .3rem; font-size: 1.5rem; }
.viewer-toolbar [data-viewer-caption] { flex: 1; text-align: center; font-size: .85rem; }
.viewer-stage { display: grid; place-items: center; overflow: hidden; min-height: 0; touch-action: none; }
.viewer-stage img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; }
.viewer-help { text-align: center; padding: .5rem .5rem max(.5rem,env(safe-area-inset-bottom)); margin: 0; color: #ccc; font-size: .8rem; }
.genre-filter { display: flex; gap: 1rem; align-items: center; margin: 1rem 0 2rem; }
.genre-filter select { padding: .5rem; max-width: 70vw; }
.print-step-nav { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.print-step-nav button { flex: 1; padding: .5rem; border: 1px solid var(--line); background: transparent; }
html:not(.js-enabled) .print-studio, html:not(.js-enabled) .save-photo, html:not(.js-enabled) .price-breakdown, html:not(.js-enabled) .product-total, html:not(.js-enabled) .visualizer-trigger { display: none; }
@media(max-width:1050px) { html:not(.js-enabled) .site-nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; padding: .5rem; } html:not(.js-enabled) .site-header { height: auto; flex-wrap: wrap; } html:not(.js-enabled) .menu-button { display: none; } }
.exhibition-viewport { height: min(65svh,650px); min-height: 300px; overflow: hidden; perspective: 850px; background: #cfc9bf; }
.exhibition-space { height: 100%; position: relative; transform-style: preserve-3d; }
.exhibition-back { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at top,#fffdf6,#d4cfc5); transform: translateZ(-180px); }
.exhibition-back a { display: flex; flex-direction: column; align-items: center; width: 65%; height: 75%; justify-content: center; }
.exhibition-back img { max-height: 82%; max-width: 100%; width: auto; object-fit: contain; border: 10px solid #51402f; box-shadow: 8px 14px 18px #0005; background: #eee; }
.exhibition-back span { padding: .8rem; font-size: .9rem; }
.exhibition-floor { position: absolute; height: 500px; width: 180%; left: -40%; bottom: -300px; background: repeating-linear-gradient(90deg,#b29a7e 0 10%,#bca78c 10% 20%); transform: rotateX(70deg); }
.exhibition-left,.exhibition-right { position: absolute; top: 0; bottom: 0; width: 200px; background: #d5d0c7; }
.exhibition-left { left: -115px; transform: rotateY(65deg); }.exhibition-right { right: -115px; transform: rotateY(-65deg); }
.exhibition-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.exhibition-controls button { border: 1px solid var(--line); padding: .6rem; background: transparent; }
@media(max-width:760px) {
  .brand { max-width: 72%; line-height: 1.4; font-size: .72rem; }
  .menu-button { width: 48px; min-height: 48px; flex-shrink: 0; }
  .site-nav { max-height: calc(100svh - 72px); overflow-y: auto; }
  .language-switch button { min-width: 48px; min-height: 48px; margin-top: .5rem; }
  .hero { min-height: 440px; height: 86svh; }
  .hero h1 { font-size: clamp(2.5rem,11vw,4rem); }
  .hero-copy { bottom: 2.2rem; }
  .hero-print-link { display: flex; width: fit-content; }
  .photo-grid { gap: 1.5rem; }
  .photo-item img { object-fit: contain; }
  .photo-pagination { grid-template-columns: 1fr 1fr; font-size: .7rem; }
  .photo-pagination>a { display: flex; align-items: center; min-height: 48px; }
  .photo-pagination>a:nth-child(2) { grid-column: 1/-1; grid-row: 2; justify-content: center; }
  .photo-pagination>a:last-child { justify-content: end; }
  .preview-workspace { grid-template-columns: 1fr; gap: 1rem; }
  .room-canvas-wrap { position: static; }
  .room-controls { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1rem; }
  .room-controls>div { grid-column: 1/-1; }
  .room-controls label { min-width: 0; }
  .room-controls button { font-size: .82rem; }
  .studio-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .studio-mode-tabs button { font-size: .85rem; }
  .product-controls select, .contact-form input, .contact-form textarea { font-size: 16px; }
  .product-controls select { width: 100%; text-overflow: ellipsis; }
  .product-details { min-width: 0; }
  .mobile-order-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 35; display: flex; gap: .7rem; align-items: center; justify-content: space-between; padding: .65rem max(1rem,env(safe-area-inset-right)) max(.65rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left)); background: #f3f2eef5; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px #0001; }
  .mobile-order-bar span { font-size: .82rem; }
  .mobile-order-bar button { background: var(--ink); color: var(--paper); border: 0; padding: .6rem 1rem; font-size: .82rem; }
  .has-order-bar { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .has-order-bar .connection-banner { bottom: calc(75px + env(safe-area-inset-bottom)); }
  .viewer-toolbar { gap: .25rem; }
  .viewer-toolbar [data-viewer-caption] { font-size: .7rem; }
  .feature-section header p { font-size: .92rem; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
/* Product-first print presentation; all scenes reuse the same measured frame. */
.print-shop-detail .photo-detail-head { padding-top: clamp(2rem,4vw,4rem); padding-bottom: 1.5rem; }
.print-shop-detail .photo-detail-head h1 { font-size: clamp(2.1rem,4.5vw,4.2rem); line-height: 1.08; max-width: 1100px; }
.print-shop-detail .detail-title-row { margin-bottom: 1rem; }
.print-shop-detail .save-photo { margin: .75rem 0 0; }
.print-shop-detail .detail-print { padding-top: .5rem; padding-bottom: clamp(3rem,6vw,6rem); background: var(--paper); }
.print-shop-detail .print-product { grid-template-columns: minmax(0,1.3fr) minmax(280px,.8fr); gap: clamp(1.5rem,4vw,4rem); align-items: start; }
.print-gallery { min-width: 0; }
.print-gallery-stage { --room-art-width: 15%; position: relative; aspect-ratio: var(--presentation-ratio, 4/3); max-height: min(72svh,740px); overflow: hidden; background: radial-gradient(ellipse at 40% 25%,#faf9f6,#e5e1d9); background-size: cover; background-position: center; }
.print-gallery-scene { position: absolute; inset: 0; display: grid; align-items: center; padding: 10%; }
.print-gallery-stage[data-panoramic=true] .print-gallery-scene { padding: clamp(12px,4%,28px); }
.print-gallery-stage .frame-preview { width: min(100%, calc(47vh * var(--preview-ratio))); max-height: none; margin: auto; box-shadow: 0 14px 19px -7px #29241e45,0 2px 3px #29241e3a; }
.print-gallery-stage[data-view=room] { aspect-ratio: 3/2; }
.print-gallery-stage[data-view=room] .print-gallery-scene { padding: 0; }
.print-gallery-stage[data-view=room] .frame-preview { position: absolute; width: var(--room-art-width); max-height: none; top: 31%; left: 50%; transform: translate(-50%,-50%); box-shadow: 2px 5px 7px #302c263d; }
.print-gallery-stage[data-view=detail] .print-gallery-scene { padding: 6%; transform: scale(1.7); transform-origin: 15% 85%; }
.print-gallery-original { position: absolute; inset: 0; padding: 5%; }
.print-gallery-original button { display: block; padding: 0; border: 0; background: none; width: 100%; height: 100%; }
.print-gallery-original img { width: 100%; height: 100%; object-fit: contain; }
.print-gallery-thumbs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin-top: .65rem; }
.print-gallery-thumbs button { min-width: 0; padding: .35rem; border: 1px solid transparent; background: transparent; color: var(--ink); font: inherit; font-size: .72rem; }
.print-gallery-thumbs button[aria-pressed=true] { border-color: var(--ink); }
.print-gallery-thumbs button>span:first-child { display: grid; place-items: center; aspect-ratio: 4/3; overflow: hidden; margin-bottom: .5rem; background-color: #e6e2da; }
.print-gallery-thumbs img { width: 73%; height: 70%; object-fit: contain; }
.thumb-frame img,.thumb-detail img { border: 3px solid #64523d; padding: 4px; background: #f7f4ed; box-shadow: 2px 3px 5px #0003; }
.print-gallery-thumbs .thumb-room { background-size: cover; background-position: center; position: relative; }
.print-gallery-thumbs .thumb-room img { position: absolute; top: 15%; left: 34%; width: 32%; height: 29%; background: white; border: 2px solid #64523d; object-fit: contain; }
.thumb-detail img { transform: scale(1.8); transform-origin: bottom left; }
.print-gallery-caption { min-height: 3em; font-size: .76rem; color: #5d5952; line-height: 1.5; margin: 1rem 0; }
.print-gallery .visualizer-trigger { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; text-decoration: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .8rem; }
.print-experiments { margin: 0; scroll-margin-top: 1rem; }
.print-experiments>summary { cursor: pointer; padding: 1.5rem clamp(1.2rem,4vw,4rem); border-block: 1px solid var(--line); }
.print-shop-detail .product-details { padding-top: .25rem; }
html:not(.js-enabled) .print-gallery-thumbs { display: none; }
@media(min-width:1100px) { .print-gallery { position: sticky; top: 1rem; } }
@media(max-width:760px) {
  .print-shop-detail .print-product { grid-template-columns: minmax(0,1fr); }
  .print-gallery-stage .frame-preview { width: min(100%,calc(42vh * var(--preview-ratio))); }
  .print-gallery-stage[data-view=room] .frame-preview { width: var(--room-art-width); }
  .print-shop-detail .photo-detail-head h1 { font-size: clamp(2rem,8vw,3rem); }
}
/* Glazing belongs inside the frame, over the mat and print, never the original. */
.mat-preview[data-has-mat=true] {
  /* Light across the board face stays subtle; its measured cut edge supplies depth. */
  background-image: linear-gradient(135deg,#ffffff35,transparent 65%), repeating-linear-gradient(0deg,transparent 0 2px,#5b514204 2px 3px);
}
.mat-preview[data-has-mat=true] img {
  /* Outside shadows do not crop the photograph or change its measured dimensions. */
  box-shadow: 0 0 0 var(--mat-cut-edge) #fffdf7,
    calc(var(--mat-cut-edge) * -.75) calc(var(--mat-cut-edge) * -.75) calc(var(--mat-cut-edge) * .8) calc(var(--mat-cut-edge) * .3) #4a403766;
  outline: .5px solid #4c43352b;
}
.mat-depth-note { display: block; font-size: .75rem; line-height: 1.6; color: #5d5952; }
.mat-depth-note[hidden] { display: none; }
.print-gallery-stage[data-glazed=true] .mat-preview { position: relative; isolation: isolate; }
.print-gallery-stage[data-glazed=true] .mat-preview::before,
.print-gallery-stage[data-glazed=true] .mat-preview::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.print-gallery-stage[data-glazed=true] .mat-preview::before {
  /* The frame rebate casts a narrow contact shadow behind its glass lip. */
  box-shadow: inset 2px 3px 6px #1f1a1847, inset -1px -1px 2px #ffffff9c;
  border: 1px solid #ffffff38;
}
.print-gallery-stage[data-glazed=true] .mat-preview::after {
  z-index: 2;
  background:
    linear-gradient(112deg, #ffffff16 0%, #ffffff07 33%, transparent 51%),
    linear-gradient(115deg, transparent 8%, #ffffff20 8.4%, #ffffff0c 27%, transparent 27.4%, transparent 29%, #ffffff13 29.4%, #ffffff06 44%, transparent 44.4%),
    linear-gradient(0deg, #9bafba05, transparent 35%, #ffffff05);
  box-shadow: inset 0 0 1px 1px #ffffff47;
}
.print-gallery-stage[data-view=room][data-glazed=true] .mat-preview::after {
  /* Soft window reflection follows the daylight entering the room from left. */
  background:
    linear-gradient(108deg, #ffffff26, #ffffff07 35%, transparent 60%),
    linear-gradient(112deg, transparent 13%, #ffffff30 13.5%, #ffffff12 34%, transparent 34.5%, transparent 37%, #ffffff18 37.5%, #ffffff07 53%, transparent 53.5%);
}
.print-gallery-stage[data-glazed=true] .frame-preview {
  box-shadow: 1px 2px 2px #21180f40, 4px 10px 15px -6px #29241e52, 9px 20px 30px -15px #29241e30;
}
.print-gallery-stage[data-view=room][data-glazed=true] .frame-preview {
  box-shadow: 1px 2px 2px #21180f59, 3px 5px 8px -2px #302c2652;
}
/* Compact, paginated collections; retain the complete photograph in every tile. */
.collection-toolbar { padding-top: 1rem; padding-bottom: 1rem; }
.collection-search { display: flex; align-items: end; flex-wrap: wrap; gap: .8rem 1rem; }
.collection-search label { display: grid; gap: .4rem; font-size: .8rem; }
.collection-search label:first-child { flex: 1 1 240px; }
.collection-search input,.collection-search select,.collection-search button { min-height: 44px; padding: .6rem .8rem; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; box-sizing: border-box; max-width: 100%; border-radius: 0; }
.collection-search button { background: var(--ink); color: var(--paper); }
.collection-search>a { display: inline-flex; min-height: 44px; align-items: center; font-size: .8rem; }
.collection-count { font-size: .8rem; margin: 1rem 0 0; color: #59564e; }
.collection-browser-grid.photo-grid,.print-browser-grid.print-photo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem 1.1rem; padding-top: 1rem; padding-bottom: 2rem; }
.collection-browser-grid .photo-item { grid-column: auto; margin: 0; min-width: 0; }
.collection-browser-grid .photo-item>a.protected-image { display: grid; place-items: center; aspect-ratio: 4/3; overflow: hidden; background: #e9e6df; }
.collection-browser-grid .photo-item img,.collection-browser-grid .photo-item.portrait img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.collection-browser-grid .photo-item figcaption { display: grid; gap: .3rem; min-width: 0; font-size: .7rem; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }
.collection-browser-grid .photo-item figcaption>span:last-child:not(:first-child) { color: #68645b; }
.collection-browser-grid .photo-item>a.collection-print-link { display: inline-flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 44px; width: 100%; font-size: .73rem; text-decoration: none; }
.collection-browser-grid.layout-large,.print-browser-grid.layout-large { grid-template-columns: repeat(2,minmax(0,1fr)); }
.collection-pagination { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; padding-top: .8rem; padding-bottom: 1.5rem; }
.collection-pagination a,.collection-pagination .current-page { min-width: 44px; min-height: 44px; display: inline-flex; justify-content: center; align-items: center; padding: .3rem .7rem; box-sizing: border-box; border: 1px solid var(--line); font-size: .8rem; text-decoration: none; }
.collection-pagination .current-page { color: var(--paper); background: var(--ink); }
.collection-browser-grid .empty-gallery { grid-column: 1/-1; }
@media(max-width:1100px) { .collection-browser-grid.photo-grid,.print-browser-grid.print-photo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .collection-browser-grid.layout-large,.print-browser-grid.layout-large { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
  .collection-browser-grid.photo-grid,.print-browser-grid.print-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem .7rem; }
  .collection-browser-grid.layout-large,.print-browser-grid.layout-large { grid-template-columns: minmax(0,1fr); }
  .collection-search { gap: .7rem; }
  .collection-search label:first-child { flex-basis: 100%; }
  .collection-search label { flex: 1 1 120px; min-width: 0; }
  .collection-search input,.collection-search select { font-size: 16px; width: 100%; }
  .collection-search button { flex: 0 0 auto; }
  .collection-browser-grid .photo-item figcaption { font-size: .75rem; }
}
.print-browser-grid .print-photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #e9e6df; filter: none; }
.print-browser-grid .print-photo-copy { display: grid; gap: .4rem; }
.print-browser-grid .print-photo-copy strong { font-size: 1.1rem; overflow-wrap: anywhere; }
.print-browser-grid .print-photo-copy small { max-width: none; text-align: start; }
.print-catalogue-intro {
  max-width: 1240px;
  margin-inline: auto;
  padding-block: clamp(1.8rem, 4vw, 3.5rem);
}
.print-catalogue-intro h1 { margin: 0; font: 400 clamp(2.6rem, 6vw, 5.2rem)/1 var(--serif); }
.print-catalogue-intro p { max-width: 40rem; margin: .8rem 0 0; }
.print-catalogue {
  background: var(--site-panel);
  color: var(--ink);
  padding-block: .5rem 1.5rem;
}
.print-catalogue > .section-pad { max-width: 1240px; margin-inline: auto; }
.print-catalogue .collection-count,
.print-catalogue .print-photo-copy small { color: var(--site-muted); }
.print-catalogue .collection-search input,
.print-catalogue .collection-search select { background: var(--site-field); }
.print-catalogue a:focus-visible,
.print-catalogue :is(input, select, button):focus-visible { outline: 2px solid var(--site-focus); outline-offset: 3px; }
.print-catalogue .print-browser-grid.print-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.8vw, 2.5rem) clamp(.75rem, 2.2vw, 1.75rem);
}
.print-catalogue .print-browser-grid.layout-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.print-catalogue .print-photo-wrap { min-width: 0; }
.print-catalogue .print-photo-card { text-decoration: none; }
.print-catalogue .print-photo-card img { display: block; height: auto; background: var(--site-image-backdrop); }
.print-catalogue .print-photo-copy { gap: .25rem; border-top: 0; padding-top: .55rem; }
.print-catalogue .print-photo-copy strong { font-size: clamp(1rem, 2vw, 1.3rem); }
.print-catalogue .print-photo-card:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.print-catalogue .catalogue-empty { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .print-catalogue .print-browser-grid.print-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .print-catalogue .print-browser-grid.layout-large { grid-template-columns: minmax(0, 1fr); }
  .print-catalogue .print-photo-wide { grid-column: 1 / -1; }
  .print-catalogue .print-photo-wide img { aspect-ratio: auto; }
}
.collection-intro { padding-top: clamp(2rem,5vw,4rem); padding-bottom: 1rem; }
.collection-intro h1 { font-size: clamp(2.5rem,6vw,5rem); margin-bottom: 1rem; }
.collection-intro .lead { margin-bottom: 0; }

/* Theme the site interface while preserving the physical colors of previews. */
:root[data-site-theme] {
  color-scheme: light;
  --site-panel: #e9e6df;
  --site-field: #faf8f4;
  --site-image-backdrop: #dedbd3;
  --site-muted: #55524c;
  --site-focus: #735225;
  --site-error: #9d2b23;
}
:root[data-site-theme="dark"] {
  color-scheme: dark;
  --paper: #1d1d1d;
  --ink: #f4f1ea;
  --line: #66635d;
  --site-panel: #252525;
  --site-field: #2d2d2d;
  --site-image-backdrop: #2b2b2b;
  --site-muted: #c8c4bc;
  --site-focus: #f4d49a;
  --site-error: #ffb2a8;
}
.portfolio-display,
.photo-detail-head,
.collection-intro,
body:not(.home-page) .site-header {
  color: var(--ink);
  background: var(--paper);
}
.site-footer { background: var(--site-panel); color: var(--ink); border-color: var(--line); }
.site-footer p { color: var(--site-muted); }
.site-theme-toggle {
  align-self: center;
  padding: .4rem .7rem;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  font-size: .75rem;
  white-space: nowrap;
  cursor: pointer;
}
.site-theme-toggle[aria-pressed="true"] { background: #3b3b3b; }
@media (min-width: 1051px) { .site-nav { gap: clamp(.75rem, 2vw, 2rem); } }
@media (max-width: 1050px) { .site-theme-toggle { align-self: start; margin-block: .35rem; } }
.gallery-index.portfolio-display { padding-block: clamp(2.5rem, 6vw, 6rem); }
.gallery-index .gallery-row p,
.collection-display .collection-count,
.collection-display .collection-browser-grid .photo-item figcaption > span:last-child:not(:first-child) {
  color: var(--site-muted);
}
.gallery-index .gallery-exhibition-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block-start: 1.5rem;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.collection-display { padding-block: .5rem 1.5rem; }
.collection-display .collection-search input,
.collection-display .collection-search select { background: var(--site-field); }
.collection-display .collection-browser-grid .photo-item > a.protected-image { background: var(--site-image-backdrop); }
.collection-display .collection-browser-grid .photo-item figcaption { gap: .2rem; font-size: .85rem; }
.collection-display .collection-print-link { color: var(--site-muted); }
.collection-display .collection-print-link:hover { color: var(--ink); text-decoration: underline; }
.photo-detail-head { padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.photo-detail-head .detail-image { background: var(--site-image-backdrop); }
.photo-detail-head .save-photo { color: var(--ink); }
.photo-detail-head .save-photo[aria-pressed=true],
.photo-detail-head .draft-notice { color: #151515; }
.print-gallery-stage[data-view=original] { background-color: var(--site-image-backdrop); background-image: none; }
.portfolio-display :is(a, button, input, select):focus-visible,
.photo-detail-head :is(a, button):focus-visible,
.site-header :is(a, button):focus-visible { outline: 2px solid var(--site-focus); outline-offset: 3px; }

:root[data-site-theme] :is(.commissions, .testimonials, .testimonial-grid blockquote, .handmade-frames,
  .configuration-summary, .room-visualizer) { background: var(--site-panel); }
:root[data-site-theme] :is(.collection-copy p, .commissions header p:last-child, .commission-caption small,
  .testimonial-grid footer span, .print-feature-copy p, .product-description, .price-breakdown,
  .handmade-head > div > p, .handmade-card > p, .photo-facts dd, .capture-settings small,
  .calculated-size, .panorama-note, .room-legend small, .preview-note, .room-controls p,
  .model-panel p, .preview-measurements, .print-gallery-caption, .mat-depth-note) { color: var(--site-muted); }
:root[data-site-theme] :is(.closing-statement, .hiking-service, .service-list, .print-process) {
  color: #f4f1ea;
  background: #202020;
  --line: #66635d;
}
:root[data-site-theme="dark"] :is(.closing-statement, .hiking-service, .service-list, .print-process) { background: var(--site-panel); }
:root[data-site-theme] :is(.field input, .field textarea, .submit-button) { color: var(--ink); }
:root[data-site-theme] .error-text { color: var(--site-error); }
:root[data-site-theme] .mobile-order-bar { background: var(--paper); }
:root[data-site-theme] :is(.shortlist-grid img, .handmade-image, .print-gallery-thumbs button > span:first-child) { background-color: var(--site-image-backdrop); }
:root[data-site-theme] .save-photo[aria-pressed=true] { color: #151515; }

.print-extra-views { margin-top: .75rem; }
.print-extra-views summary { cursor: pointer; padding: .65rem 0; font-size: .85rem; }
.print-extra-views .print-gallery-thumbs button { min-height: 44px; }
