/* A small, complete refrigerator surrounded by the photos that will go on it. */
main>.photo-section-scattered.section{padding-block:clamp(36px,4vw,56px);max-width:1400px}
.photo-section-scattered .section-heading{margin-bottom:56px;justify-content:center;text-align:center}
.photo-section-scattered .section-heading>div{width:100%;min-width:0}
.photo-title-row{--camera-size:clamp(38px,4vw,54px);display:grid;grid-template-columns:minmax(var(--camera-size),1fr) minmax(0,auto) minmax(var(--camera-size),1fr);align-items:center;gap:clamp(12px,1.5vw,20px)}
.photo-camera{width:var(--camera-size);height:auto;justify-self:end;fill:none;stroke:#a6a6a6;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;transform:rotate(-8deg)}
.photo-camera :is(path,circle){vector-effect:non-scaling-stroke}
.photo-section-scattered .photo-subtitle{margin:4px auto 0;max-width:42rem;font-family:inherit;font-size:clamp(1.125rem,1.6vw,1.375rem);font-weight:300;line-height:1.3;color:#a6a6a6;letter-spacing:0;text-align:center}
.photo-subtitle>span{display:block}
.fridge-scene{--scatter-height:clamp(500px,calc(100svh - 220px),700px);height:var(--scatter-height);position:relative;isolation:isolate;width:100%}
/* Same unfilled gray linework and stroke weight as the cover drawings. */
.photo-section-scattered .fridge-mini{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:14%;min-width:120px;max-width:180px;aspect-ratio:5/9;height:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;z-index:1;pointer-events:none;color:#a6a6a6}
.fridge-sketch{display:block;width:100%;height:100%;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.fridge-sketch path{vector-effect:non-scaling-stroke}
.fridge-pin{position:absolute;width:5px;height:5px;border-radius:50%;transform:translate(-50%,-50%);background:#a6a6a6;opacity:.4}
.photo-connectors{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:2;pointer-events:none}
.photo-connector{fill:none;stroke:#a4a497;stroke-width:1;stroke-linecap:round;stroke-dasharray:2 6;opacity:.35;transition:stroke .18s ease,opacity .18s ease}
.photo-connector.is-highlighted{stroke:var(--ochre);stroke-width:1.5;opacity:1}
.fridge-scene:has(.is-caption-open) .photo-connector:not(.is-highlighted){opacity:.25}
.fridge-scene>.scatter-photo{position:absolute;left:var(--scatter-x);top:var(--scatter-y);width:min(calc(var(--scatter-width) * 1.16),calc(var(--scatter-height) * .26 * var(--photo-ratio)));height:auto;min-width:0;max-width:none;max-height:none;margin:0;padding:5px;aspect-ratio:auto;display:block;border:1px solid #a38c6a40;border-radius:2px;background:var(--ivory);box-shadow:0 3px 8px #34382d20;transform:translate(-50%,-50%) rotate(var(--photo-angle));transform-origin:center;transition:transform .22s ease,box-shadow .22s ease;z-index:3;cursor:help;line-height:0;overflow:visible}
.fridge-scene>.scatter-photo::before{display:none}
.fridge-scene>.scatter-photo img{display:block;width:100%;height:auto;object-fit:contain;transform:none}
.photo-annotation{position:absolute;top:calc(100% + 3px);left:6%;display:flex;align-items:center;gap:4px;padding:3px 7px;color:#a6a6a6;background:var(--ivory);border:1px solid #d6993959;border-radius:5px;font-family:var(--sans);font-size:.875rem;font-weight:400;line-height:1.3;white-space:nowrap;pointer-events:none;z-index:7}
.photo-annotation>svg{width:12px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.photo-annotation.is-highlighted{z-index:8;color:var(--ochre);border-color:var(--ochre)}
.fridge-scene>.scatter-photo.is-caption-open{transform:translate(-50%,-50%) rotate(0) scale(1.4);box-shadow:0 12px 28px #34382d30;z-index:6}
.fridge-scene>.scatter-photo:focus-visible{outline:2px solid var(--olive);outline-offset:4px}
@media(min-width:701px) and (max-width:1000px){
 .fridge-scene{--scatter-height:560px}
 .photo-section-scattered .fridge-mini{min-width:108px;width:15%;max-width:150px}
 .fridge-scene>.scatter-photo{width:min(calc(var(--scatter-width) * 1.18),calc(var(--scatter-height) * .24 * var(--photo-ratio)))}
}
@media(max-width:700px){
 main>.photo-section-scattered.section{width:calc(100% - 28px);padding-top:44px}
 .photo-section-scattered .section-heading{padding-inline:6px;margin-bottom:40px}
 .fridge-scene{--scatter-height:clamp(620px,110svh,840px)}
 .photo-section-scattered .fridge-mini{top:49%;width:26%;min-width:90px;max-width:126px}
 .fridge-scene>.scatter-photo{left:var(--mobile-x);top:var(--mobile-y);width:min(24.5%,calc(var(--scatter-height) * .145 * var(--photo-ratio)));padding:3px}
 .photo-connector{stroke-dasharray:2 5;opacity:.3}
}
@media(prefers-reduced-motion:reduce){
 .fridge-scene>.scatter-photo,.photo-connector{transition:none}
 .fridge-scene>.scatter-photo.is-caption-open{transform:translate(-50%,-50%) rotate(var(--photo-angle))}
}
