/* Light table: one print, a loupe, grease-pencil marks and the record on the back. */
.hm-image-gallery-view{--ig-table:#171b1c;--ig-lamp:#272d2e;--ig-paper:#f0eee8;--ig-card:#e4e1d8;--ig-card-ink:#1f2526;--ig-ink:#e8e5dd;--ig-muted:#9da19b;--ig-marker:#f2c94c;--ig-border:clamp(10px,1vw,15px);--ig-loupe:clamp(170px,15.5vw,236px);--ig-ratio:1.3333;position:relative;height:calc(100dvh - var(--hm-bar-height,64px));min-height:540px;overflow:hidden;color:var(--ig-ink);background:radial-gradient(ellipse 62% 78% at 34% 42%,var(--ig-lamp) 0%,#1d2223 48%,var(--ig-table) 78%,#121516 100%)}
.hm-image-gallery-view [hidden]{display:none!important}
.hm-image-gallery-view .ig-table{height:100%;display:grid;grid-template-columns:minmax(0,1fr) clamp(318px,25vw,372px);gap:clamp(36px,3.8vw,64px);padding:clamp(22px,3.4vh,38px) clamp(30px,3.4vw,56px) clamp(22px,3.4vh,36px)}

/* The print */
.hm-image-gallery-view .ig-bench{container-type:size;min-width:0;min-height:0;display:grid;place-items:center}
.hm-image-gallery-view .ig-print{width:min(100cqw,calc((100cqh - 2 * var(--ig-border)) * var(--ig-ratio) + 2 * var(--ig-border)));perspective:2600px;animation:ig-settle .9s cubic-bezier(.2,.75,.2,1) backwards}
.hm-image-gallery-view .ig-card{position:relative;transform-style:preserve-3d;transition:transform .95s cubic-bezier(.32,.72,.2,1)}
.hm-image-gallery-view .ig-card.is-turned{transform:rotateY(180deg)}
.hm-image-gallery-view .ig-front,.hm-image-gallery-view .ig-back{backface-visibility:hidden;-webkit-backface-visibility:hidden;box-shadow:0 1px 1px #00000066,0 22px 40px -14px #000000b3,0 50px 90px -30px #00000080}
.hm-image-gallery-view .ig-front{padding:var(--ig-border);background:var(--ig-paper)}
.hm-image-gallery-view .ig-figure{position:relative;margin:0;aspect-ratio:var(--ig-ratio);background:#c9cbcc;cursor:none;outline:none;-webkit-tap-highlight-color:transparent}
.hm-image-gallery-view .ig-figure>img.ig-photo{display:block;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none}
.hm-image-gallery-view .ig-figure:focus-visible{outline:3px solid var(--ig-marker);outline-offset:calc(var(--ig-border) + 5px)}
.hm-image-gallery-view.is-parked .ig-figure,.hm-image-gallery-view[data-phase=back] .ig-figure,.hm-image-gallery-view.is-broken .ig-figure{cursor:default}

/* Grease-pencil marks */
.hm-image-gallery-view .ig-marks{position:absolute;inset:0;z-index:4;width:100%;height:100%;pointer-events:none;overflow:visible}
.hm-image-gallery-view .ig-mark-line{fill:none;stroke:var(--ig-marker);stroke-width:4.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 1.5px #00000080)}
.hm-image-gallery-view .ig-mark-line.is-new{stroke-dasharray:1;stroke-dashoffset:1;animation:ig-draw .75s cubic-bezier(.55,.1,.3,1) forwards}
.hm-image-gallery-view .ig-mark-layer{position:absolute;inset:0;z-index:4;pointer-events:none}
.hm-image-gallery-view .ig-mark{position:absolute;pointer-events:auto;min-height:0;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.hm-image-gallery-view .ig-mark:focus-visible{outline:3px solid #fff;outline-offset:3px}
.hm-image-gallery-view .ig-mark-label{position:absolute;top:50%;left:calc(100% + 12px);transform:translateY(-50%);white-space:nowrap;padding:5px 11px 6px;border-radius:3px;background:#15191ae6;color:var(--ig-marker);font-size:15px;font-weight:700;line-height:1.3;letter-spacing:-.01em;opacity:0;transition:opacity .45s .25s;pointer-events:none}
.hm-image-gallery-view .ig-mark-label.is-left{left:auto;right:calc(100% + 12px)}
.hm-image-gallery-view[data-phase=end] .ig-mark-label{opacity:1}

/* The loupe */
.hm-image-gallery-view .ig-loupe{position:absolute;z-index:3;width:var(--ig-loupe);aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none;transition:opacity .25s;animation:ig-loupe-in .8s .45s cubic-bezier(.2,.75,.2,1) backwards}
.hm-image-gallery-view .ig-loupe-shadow{position:absolute;inset:0;border-radius:50%;transform:translate(18px,26px);background:#000000a6;filter:blur(16px)}
.hm-image-gallery-view .ig-lens{position:absolute;inset:0;border-radius:50%;overflow:hidden;background:#2a2f30;box-shadow:inset 0 0 0 1.5px #0009}
.hm-image-gallery-view .ig-lens-photo{position:absolute;left:0;top:0;max-width:none;display:block;user-select:none}
.hm-image-gallery-view .ig-lens:after{content:'';position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 31% 24%,#ffffff40,#fff0 36%),radial-gradient(circle at 50% 50%,#0000 64%,#00000047 100%)}
.hm-image-gallery-view .ig-rim{position:absolute;inset:-11px;border-radius:50%;background:conic-gradient(from 205deg,#a9aca7,#4f5354 17%,#d9dbd5 35%,#464a4b 57%,#9fa29d 77%,#a9aca7);-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 11px),#000 calc(100% - 10.5px));mask:radial-gradient(farthest-side,#0000 calc(100% - 11px),#000 calc(100% - 10.5px))}
.hm-image-gallery-view .ig-glow{position:absolute;inset:-15px;border-radius:50%;box-shadow:0 0 0 3px var(--ig-marker),0 0 26px 6px #f2c94c70;opacity:var(--heat,0);transition:opacity .18s}
.hm-image-gallery-view .ig-loupe.is-near .ig-glow{opacity:1;box-shadow:0 0 0 4px var(--ig-marker),0 0 36px 12px #f2c94c99}
.hm-image-gallery-view[data-phase=back] .ig-loupe,.hm-image-gallery-view.is-parked .ig-loupe{opacity:0}
.hm-image-gallery-view .ig-error{position:absolute;left:24px;right:24px;bottom:24px;margin:0;padding:16px 18px;background:var(--ig-paper);color:var(--ig-card-ink);font-size:16px;line-height:1.6}

/* The back of the print */
.hm-image-gallery-view .ig-back{position:absolute;inset:0;transform:rotateY(180deg);overflow:auto;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(24px,3vw,48px);align-content:center;padding:clamp(24px,3.2vw,48px);background:#ebe8e0;color:var(--ig-card-ink)}
.hm-image-gallery-view .ig-back-label{align-self:start;padding:clamp(18px,1.8vw,26px) clamp(18px,1.8vw,28px);background:#f8f6f1;box-shadow:0 1px 0 #0000000f,0 8px 18px -10px #0000004d}
.hm-image-gallery-view .ig-back-title{margin:0 0 20px;font-family:HommingEditorial,serif;font-size:clamp(21px,1.75vw,27px);line-height:1.35;letter-spacing:-.04em}
.hm-image-gallery-view .ig-facts{margin:0}
.hm-image-gallery-view .ig-fact{display:grid;grid-template-columns:3.6em minmax(0,1fr);gap:14px;align-items:baseline;padding:11px 0;border-top:1px solid #d4cfc3}
.hm-image-gallery-view .ig-fact dt{font-size:14px;color:#6a706e}
.hm-image-gallery-view .ig-fact dd{margin:0;font-size:17px;line-height:1.5}
.hm-image-gallery-view .ig-fact.is-unknown dd{justify-self:start;padding:1px 10px 2px;border:2px solid #3f4f8c;border-radius:3px;color:#3f4f8c;font-weight:700;transform:rotate(-2.5deg)}
.hm-image-gallery-view .ig-back-notes{min-width:0}
.hm-image-gallery-view .ig-back-note{margin:0 0 22px;font-size:16.5px;line-height:1.75}
.hm-image-gallery-view .ig-summary-label{margin:0 0 8px;font-size:13.5px;color:#6a706e}
.hm-image-gallery-view .ig-summary p:not(.ig-summary-label){margin:0 0 12px;font-size:15px;line-height:1.78;color:#363d3e}
.hm-image-gallery-view .ig-back details.hm-source-details{margin-top:18px;color:#4a5251;border-color:#cfcabd;font-size:15px}
.hm-image-gallery-view .ig-back .hm-source-links a[href]{color:#2e4a6b}

/* The rail */
.hm-image-gallery-view .ig-rail{min-width:0;min-height:0;display:flex;flex-direction:column}
.hm-image-gallery-view .ig-rail-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin-right:-10px;padding:0 10px 26px 0;-webkit-mask-image:linear-gradient(#000 calc(100% - 26px),#0000);mask-image:linear-gradient(#000 calc(100% - 26px),#0000);scrollbar-width:thin;scrollbar-color:#3a4041 #0000}
.hm-image-gallery-view .ig-rail-foot{flex:none;display:flex;flex-direction:column;padding-top:14px}
.hm-image-gallery-view .hm-content-head h1{margin:0 0 14px;font-size:clamp(27px,2.3vw,34px);line-height:1.32;letter-spacing:-.045em}
.hm-image-gallery-view .hm-content-head .hm-intro{margin:0;font-size:16.5px;line-height:1.7}
.hm-image-gallery-view .hm-content-head .hm-provenance{margin:14px 0 0;font-size:13.5px}
.hm-image-gallery-view .ig-hint{margin-top:28px}
.hm-image-gallery-view .ig-hint p{margin:0;font-size:15.5px;line-height:1.7;color:var(--ig-ink)}
.hm-image-gallery-view .ig-hint .ig-keys{margin-top:10px;font-size:13.5px;color:var(--ig-muted)}
.hm-image-gallery-view .ig-slips{display:flex;flex-direction:column;gap:6px;margin-top:26px}
.hm-image-gallery-view .ig-slips:empty{display:none}
.hm-image-gallery-view .ig-slip-head{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:6px 0;border:0;background:none;color:var(--ig-muted);font:inherit;text-align:left}
.hm-image-gallery-view .ig-slip-dot{flex:none;width:13px;height:13px;border:2.5px solid var(--ig-marker);border-radius:50%}
.hm-image-gallery-view .ig-slip-title{font-family:HommingEditorial,serif;font-size:17px;line-height:1.35;letter-spacing:-.03em}
.hm-image-gallery-view .ig-slip-head:hover{color:var(--ig-ink)}
.hm-image-gallery-view .ig-slip-empty{display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 0;color:#7d827c;font-size:15px}
.hm-image-gallery-view .ig-slip-empty .ig-slip-dot{border:1.5px dashed #7d827c}
.hm-image-gallery-view .ig-slip.is-open .ig-slip-head{color:#f3efe6}
.hm-image-gallery-view .ig-slip.is-open .ig-slip-title{font-size:21px}
.hm-image-gallery-view .ig-slip-body{display:grid;gap:16px;padding:6px 0 8px 25px;animation:ig-slip-in .45s cubic-bezier(.2,.75,.2,1) both}
.hm-image-gallery-view .ig-kind{margin:0 0 5px;font-size:13px;line-height:1.4;color:var(--ig-marker)}
.hm-image-gallery-view .ig-seen-text{margin:0;font-size:16px;line-height:1.72}
.hm-image-gallery-view .ig-said{padding:15px 18px 13px;background:var(--ig-card);color:var(--ig-card-ink);border-radius:2px;box-shadow:0 12px 26px -12px #000000cc}
.hm-image-gallery-view .ig-said .ig-kind{color:#6b5718}
.hm-image-gallery-view .ig-said-title{margin:0 0 6px;font-size:16px;font-weight:700;line-height:1.45}
.hm-image-gallery-view .ig-said-text{margin:0;font-size:15.5px;line-height:1.7}
.hm-image-gallery-view .ig-said-source{margin:10px 0 0;padding-top:8px;border-top:1px dashed #b6b1a4;font-size:13px;line-height:1.5;color:#596160}
.hm-image-gallery-view .ig-status{margin:0 0 14px;font-size:14.5px;line-height:1.6;color:var(--ig-muted)}
.hm-image-gallery-view.is-complete .ig-status{color:var(--ig-ink)}
.hm-image-gallery-view .ig-flip{align-self:stretch;min-height:50px;padding:12px 18px;border:1px solid #e8e5dd59;border-radius:3px;background:#0000;color:var(--ig-ink);font-size:15.5px;transition:background .2s,color .2s,border-color .2s}
.hm-image-gallery-view .ig-flip:hover{border-color:var(--ig-ink)}
.hm-image-gallery-view .ig-flip.is-ready{border-color:var(--ig-marker);background:var(--ig-marker);color:#1a1e1f;font-weight:700}
.hm-image-gallery-view .ig-ending{margin-top:28px}
.hm-image-gallery-view[data-phase=end] .ig-slips{margin-top:22px}
.hm-image-gallery-view .ig-ending-text{margin:0;font-family:HommingEditorial,serif;font-size:19.5px;line-height:1.78;letter-spacing:-.025em;color:#f0ece3}
.hm-image-gallery-view .ig-ending-by{margin:10px 0 0;font-size:13px;color:var(--ig-muted)}
.hm-image-gallery-view .ig-related{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;margin-top:22px;padding:15px 18px 16px;border:0;border-radius:3px;background:var(--ig-paper);color:var(--ig-card-ink);text-align:left;transition:background .2s}
.hm-image-gallery-view .ig-related:hover{background:#fff}
.hm-image-gallery-view .ig-related-label{font-size:17px;font-weight:700;line-height:1.4}
.hm-image-gallery-view .ig-related-note{font-size:13.5px;line-height:1.55;color:#4c5453}
.hm-image-gallery-view .ig-restart{align-self:flex-start;margin-top:8px;min-height:44px;padding:6px 0;border:0;background:none;color:var(--ig-muted);font-size:14.5px;text-decoration:underline;text-underline-offset:4px}
.hm-image-gallery-view .ig-restart:hover{color:var(--ig-ink)}
.hm-image-gallery-view .ig-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Pencil thread from the open mark to its note */
.hm-image-gallery-view .ig-thread{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none;opacity:0;transition:opacity .3s}
.hm-image-gallery-view .ig-thread.is-on{opacity:1}
.hm-image-gallery-view[data-phase=back] .ig-thread{opacity:0}
.hm-image-gallery-view .ig-thread-line{fill:none;stroke:var(--ig-marker);stroke-width:2;stroke-linecap:round;stroke-dasharray:6 7;opacity:.95;filter:drop-shadow(0 1px 1px #0009)}
.hm-image-gallery-view .ig-thread-dot{fill:var(--ig-marker)}

/* One entrance only: the print settles, then the loupe slides onto it. */
@keyframes ig-settle{from{opacity:0;transform:translateY(-20px) scale(1.014)}to{opacity:1;transform:none}}
@keyframes ig-loupe-in{from{opacity:0;margin-left:90px}to{opacity:1;margin-left:0}}
@keyframes ig-draw{to{stroke-dashoffset:0}}
@keyframes ig-slip-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.hm-image-gallery-view.is-restored .ig-print,.hm-image-gallery-view.is-restored .ig-loupe{animation:none}

@media(min-width:961px) and (max-height:840px){
  .hm-image-gallery-view .hm-content-head h1{font-size:28px;margin-bottom:10px}
  .hm-image-gallery-view .hm-content-head .hm-intro{font-size:15.5px;line-height:1.65}
  .hm-image-gallery-view .hm-content-head .hm-provenance{margin-top:10px}
  .hm-image-gallery-view .ig-hint{margin-top:22px}
  .hm-image-gallery-view .ig-slips{margin-top:18px;gap:2px}
  .hm-image-gallery-view .ig-slip.is-open .ig-slip-title{font-size:19px}
  .hm-image-gallery-view .ig-slip-body{gap:12px}
  .hm-image-gallery-view .ig-seen-text{font-size:15px;line-height:1.66}
  .hm-image-gallery-view .ig-said{padding:13px 16px 11px}
  .hm-image-gallery-view .ig-said-title{font-size:15px}
  .hm-image-gallery-view .ig-said-text{font-size:14.5px;line-height:1.66}
  .hm-image-gallery-view .ig-ending-text{font-size:18px;line-height:1.72}
  .hm-image-gallery-view .ig-related{margin-top:16px}
}
@media(max-width:960px){
  .hm-image-gallery-view{height:auto;min-height:0;overflow:visible}
  .hm-image-gallery-view .ig-table{grid-template-columns:1fr;gap:28px;padding:20px}
  .hm-image-gallery-view .ig-bench{container-type:inline-size}
  .hm-image-gallery-view .ig-print{width:100%}
  .hm-image-gallery-view .ig-rail{overflow:visible}
  .hm-image-gallery-view .ig-rail-body{overflow:visible;margin:0;padding:0}
  .hm-image-gallery-view .ig-rail-foot{padding-top:24px}
  .hm-image-gallery-view .ig-thread{display:none}
  .hm-image-gallery-view .ig-back{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .hm-image-gallery-view *,.hm-image-gallery-view{animation:none!important;transition:none!important}
}
