/* Public SIG pages only. No Desk selectors, global hooks or external assets. */
.sig-catalogue {
  --sig-canvas: #fbf8f2;
  --sig-surface: #fff;
  --sig-text: #17151a;
  --sig-muted: #66615e;
  --sig-border: #ebe4da;
  --sig-accent: #345747;
  --sig-accent-soft: #e8eee9;
  margin: 0;
  padding-bottom: 48px;
  background: var(--sig-canvas);
  color: var(--sig-text);
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
.sig-catalogue *, .sig-catalogue *::before, .sig-catalogue *::after { box-sizing: border-box; }
.sig-catalogue a { color: inherit; text-decoration: none; }
.sig-catalogue img { display: block; max-width: 100%; }
.sig-catalogue h1, .sig-catalogue h2, .sig-catalogue h3, .sig-catalogue p { margin: 0; }
.sig-catalogue a:focus-visible, .sig-catalogue button:focus-visible,
.sig-catalogue input:focus-visible, .sig-catalogue select:focus-visible {
  outline: 3px solid var(--sig-accent);
  outline-offset: 4px;
}
.sig-container { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.sig-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px; border-bottom: 1px solid var(--sig-border); }
.sig-brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; line-height: 1.25; }
.sig-brand img { flex: 0 0 42px; }
.sig-brand-caption { display: block; margin-top: 5px; font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--sig-muted); }
.sig-intro { padding-block: 68px 44px; }
.sig-intro h1 { font-size: clamp(16px, 4.2vw, 56px); line-height: 1.18; font-weight: 500; letter-spacing: -.055em; }
.sig-dot { color: var(--sig-accent); }
.sig-filters { display: flex; align-items: flex-end; gap: 16px; padding: 24px; background: var(--sig-surface); border: 1px solid var(--sig-border); border-radius: 12px; }
.sig-search-field { flex: 1; min-width: 0; }
.sig-style-field { width: 250px; min-width: 0; }
.sig-filters label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.sig-filters input, .sig-filters select {
  width: 100%; min-width: 0; height: 46px; border: 1px solid var(--sig-border); border-radius: 8px;
  padding: 0 14px; background: var(--sig-canvas); color: var(--sig-text); font: inherit; font-size: 14px;
}
.sig-filters input::placeholder { color: var(--sig-muted); }
.sig-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 46px; padding: 11px 20px; border: 1px solid var(--sig-accent); border-radius: 8px;
  background: var(--sig-accent); color: #fff !important; font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; text-align: center; white-space: nowrap;
}
.sig-button:hover { background: #294638; }
.sig-button-secondary { background: transparent; color: var(--sig-accent) !important; border-color: var(--sig-border); }
.sig-button-secondary:hover { background: var(--sig-accent-soft); }
.sig-reset { padding-block: 12px; white-space: nowrap; font-size: 13px; text-decoration: underline !important; text-underline-offset: 4px; }
.sig-results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-block: 40px 24px; }
.sig-results-heading h2 { font-size: 20px; font-weight: 500; }
.sig-results-heading > span { color: var(--sig-muted); font-size: 13px; white-space: nowrap; }
.sig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 26px; row-gap: 40px; }
.sig-card { min-width: 0; }
.sig-card-image { position: relative; overflow: hidden; border-radius: 12px; background: var(--sig-accent-soft); aspect-ratio: 4 / 5; }
.sig-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.sig-card:hover .sig-card-image img { transform: scale(1.025); }
.sig-card-open { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sig-surface); color: var(--sig-accent); font-size: 20px; }
.sig-card-caption { padding-top: 16px; }
.sig-tag { display: inline-block; padding: 4px 10px; border-radius: 6px; color: var(--sig-accent); background: var(--sig-accent-soft); font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.sig-card h3 { margin-top: 10px; font-size: 18px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.sig-card-caption p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; color: var(--sig-muted); font-size: 13px; overflow-wrap: anywhere; }
.sig-empty { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 40px 24px; text-align: center; border: 1px dashed var(--sig-border); border-radius: 12px; }
.sig-empty h3 { font-size: 20px; font-weight: 500; }
.sig-empty p { color: var(--sig-muted); }
.sig-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 48px; font-size: 13px; color: var(--sig-muted); }
.sig-pagination > :first-child { justify-self: start; }
.sig-pagination > :last-child { justify-self: end; }
.sig-skip { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 10px 16px; background: var(--sig-surface); border: 1px solid var(--sig-accent); border-radius: 8px; }
.sig-skip:focus { top: 12px; }
.sig-back { display: inline-block; margin-block: 28px 24px; font-size: 13px; color: var(--sig-muted) !important; }
.sig-back:hover { color: var(--sig-text) !important; }
/* Detail: photos left, sticky copy right; the copy is first in the DOM for phones. */
.sig-detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr); gap: 48px; align-items: start; }
.sig-detail-gallery { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.sig-detail-copy { grid-column: 2; grid-row: 1; position: sticky; top: 32px; min-width: 0; }
.sig-detail-panel { padding: 32px; background: var(--sig-surface); border: 1px solid var(--sig-border); border-radius: 16px; }
.sig-detail h1 { margin-top: 16px; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.2; font-weight: 500; letter-spacing: -.035em; overflow-wrap: anywhere; }
.sig-detail-meta { margin-top: 10px !important; color: var(--sig-muted); font-size: 13px; }
.sig-detail-description { margin-top: 20px !important; padding-top: 20px; border-top: 1px solid var(--sig-border); white-space: pre-line; overflow-wrap: anywhere; color: var(--sig-muted); }
.sig-detail-actions { display: grid; gap: 10px; margin-top: 28px; }
.sig-detail-image { margin: 0; min-width: 0; }
.sig-detail-image a { display: block; overflow: hidden; border-radius: 12px; background: var(--sig-accent-soft); cursor: zoom-in; }
.sig-detail-image img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; transition: transform .3s ease; }
.sig-detail-image a:hover img { transform: scale(1.02); }
.sig-detail-cover { grid-column: 1 / -1; }
/* Cover + odd remainder would leave one orphan tile: let the last photo close the grid. */
.sig-detail-image:last-child:nth-child(even) { grid-column: 1 / -1; }
.sig-detail-image figcaption { padding: 8px 2px 0; color: var(--sig-muted); font-size: 13px; overflow-wrap: anywhere; }
.sig-detail-footer { display: flex; justify-content: center; margin-top: 56px; }
/* Full-screen viewer; the cropped grid never hides part of a photo for good. */
.sig-lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: #141215; color: #fff; }
.sig-lightbox[open] { display: grid; place-items: center; }
.sig-lightbox::backdrop { background: rgba(18, 17, 19, .96); }
.sig-lightbox .sig-lightbox-image { width: auto; height: auto; max-width: calc(100vw - 176px); max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 4px; }
.sig-lightbox-bar { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .8); }
.sig-lightbox button { display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-family: inherit; line-height: 1; cursor: pointer; }
.sig-lightbox button:hover { background: rgba(255, 255, 255, .22); }
.sig-lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.sig-lightbox-close { width: 44px; height: 44px; font-size: 28px; }
.sig-lightbox-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; padding-bottom: 4px; font-size: 36px; }
.sig-lightbox-prev { left: 24px; }
.sig-lightbox-next { right: 24px; }
body:has(.sig-lightbox[open]) { overflow: hidden; }
@media (max-width: 960px) {
  .sig-container { width: calc(100% - 48px); }
  .sig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .sig-filters { flex-wrap: wrap; }
  .sig-search-field { flex-basis: calc(60% - 16px); }
  .sig-style-field { flex: 1 0 calc(40% - 16px); }
  .sig-detail { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sig-detail-copy, .sig-detail-gallery { grid-column: 1; grid-row: auto; }
  .sig-detail-copy { position: static; }
  .sig-detail-panel { padding: 24px; }
}
@media (max-width: 600px) {
  .sig-container { width: calc(100% - 32px); }
  .sig-header { padding-block: 20px; }
  .sig-intro { padding-block: 40px 28px; }
  .sig-filters { padding: 16px; gap: 16px; }
  .sig-search-field, .sig-style-field { width: 100%; flex: 0 0 100%; }
  .sig-filters input, .sig-filters select { font-size: 16px; }
  .sig-filters .sig-button { flex: 1; }
  .sig-results-heading { margin-block: 28px 20px; gap: 12px; }
  .sig-results-heading h2 { font-size: 17px; }
  .sig-grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .sig-pagination { gap: 8px; }
  .sig-pagination .sig-button { padding: 10px; font-size: 11px; white-space: normal; }
  .sig-pagination > span { font-size: 11px; }
  .sig-back { margin-block: 20px 16px; }
  .sig-detail { gap: 24px; }
  .sig-detail-panel { padding: 0; background: none; border: 0; border-radius: 0; }
  .sig-detail h1 { margin-top: 12px; font-size: 30px; }
  .sig-detail-actions { grid-template-columns: 1fr 1fr; margin-top: 20px; }
  .sig-detail-actions .sig-button { padding-inline: 12px; white-space: normal; }
  .sig-detail-gallery { gap: 8px; }
  .sig-detail-image a { border-radius: 8px; }
  .sig-detail-footer { margin-top: 40px; }
  .sig-lightbox .sig-lightbox-image { max-width: calc(100vw - 24px); max-height: calc(100dvh - 160px); }
  .sig-lightbox-nav { top: auto; bottom: 24px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .sig-card-image img, .sig-detail-image img { transition: none; } }
