/* Scoped styles for the original-media lookbook. */
#lookbook-gallery {
  --lb-ink: #302727;
  --lb-muted: #6e5f5c;
  --lb-paper: #faf7f2;
  --lb-line: #d7c5b8;
  --lb-brand: #b00070;
  color: var(--lb-ink);
}
#lookbook-gallery *, .lb-dialog * { box-sizing: border-box; }
#lookbook-gallery button { font: inherit; cursor: pointer; }
#lookbook-gallery button:focus-visible,
#lookbook-gallery a:focus-visible,
#lookbook-gallery video:focus-visible {
  outline: 3px solid var(--lb-brand);
  outline-offset: 5px;
}
.lb-filters[hidden] { display: none; }
.lb-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.lb-filter {
  border: 1px solid var(--lb-line);
  border-radius: 2px;
  background: transparent;
  color: var(--lb-ink);
  min-height: 44px;
  padding: 10px 20px;
  font-size: .875rem !important;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.lb-filter[aria-pressed="true"] { background: var(--lb-brand); border-color: var(--lb-brand); color: white; }
.lb-filter:hover:not([aria-pressed="true"]) { background: #efe2dc; border-color: var(--lb-muted); }
.lb-count { color: var(--lb-muted); margin: 18px 0 26px; text-align: center; font-size: .8rem; }
.lb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
.lb-card { margin: 0; min-width: 0; }
.lb-photo-button {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  width: 100%;
  background: #e9dfd7;
  overflow: hidden;
  border-radius: 2px;
}
.lb-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 450ms ease; }
.lb-photo-button:hover .lb-photo { transform: scale(1.025); }
.lb-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--lb-ink);
  background: #faf7f2ed;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
}
.lb-card-caption { padding: 15px 0 11px; border-bottom: 1px solid var(--lb-line); }
.lb-card-title { font: 400 1.32rem/1.3 Georgia, 'Times New Roman', serif; margin: 0; }
.lb-message { color: var(--lb-muted); line-height: 1.6; }
.lb-modal-open { overflow: hidden; }
.lb-dialog {
  border: 0;
  padding: 52px 18px 14px;
  width: min(92vw, 1000px);
  max-width: calc(100vw - 24px);
  max-height: 94dvh;
  background: var(--lb-paper, #faf7f2);
  color: var(--lb-ink, #302727);
  overflow: auto;
  border-radius: 3px;
  box-shadow: 0 25px 100px #0006;
}
.lb-dialog::backdrop { background: #181012d9; }
.lb-dialog-close {
  position: absolute;
  right: 7px;
  top: 5px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  width: 44px;
  height: 44px;
  font-size: 2rem !important;
  line-height: 1;
}
.lb-viewer { margin: 0; }
.lb-enlarged { display: block; width: 100%; height: auto; max-height: calc(94dvh - 170px); object-fit: contain; }
.lb-caption { padding: 14px 4px 0; text-align: center; }
.lb-dialog-title { margin: 0; font: 400 1.3rem/1.35 Georgia, 'Times New Roman', serif; }
.lb-viewer-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 6px; }
.lb-arrow { width: 44px; height: 44px; border: 1px solid var(--lb-line); background: transparent; color: inherit; font-size: 1.2rem !important; border-radius: 50%; }
.lb-arrow:hover { background: #efe2dc; }
.lb-arrow:disabled { opacity: .4; cursor: default !important; }
.lb-position { min-width: 60px; margin: 0; font-size: .875rem; color: var(--lb-muted); }
.lb-video-section { margin-top: clamp(64px, 8vw, 110px); }
.lb-eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; color: var(--lb-muted); margin: 0 0 12px; }
.lb-section-title { margin: 0 0 30px; font: 400 clamp(2rem, 4vw, 3.3rem)/1.1 Georgia, 'Times New Roman', serif; }
.lb-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
.lb-video-card { margin: 0; min-width: 0; }
.lb-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #211b1d; border-radius: 2px; }
.lb-video-caption { padding-top: 15px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.lb-video-caption .lb-card-title { flex: 1; }
.lb-duration { color: var(--lb-muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.lb-video-description { flex-basis: 100%; color: var(--lb-muted); font-size: .9rem; line-height: 1.65; margin: 0; }
@media (max-width: 999px) {
  .lb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .lb-filters { gap: 8px; }
  .lb-filter { padding: 10px 13px; }
  .lb-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lb-card-title { font-size: 1.3rem; }
  .lb-video-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lb-video { max-height: 72dvh; }
  .lb-dialog { padding-left: 10px; padding-right: 10px; width: calc(100vw - 24px); }
  .lb-dialog-title { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  #lookbook-gallery *, #lookbook-gallery *::before, #lookbook-gallery *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .lb-photo-button:hover .lb-photo { transform: none; }
}

.lb-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.lb-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
