/* Loose prints on two refrigerator doors, with small, deliberate overlaps. */
.photo-section{padding-top:68px;padding-bottom:72px}
.photo-section .section-heading{max-width:980px;margin:0 auto 32px}
.photo-section .heading-row{align-items:end}
.photo-section #photo-title{max-width:620px}
.fridge{--handle-right:25px;position:relative;max-width:980px;margin-inline:auto;border:2px solid #787f6666;border-radius:44px 44px 24px 24px;background:var(--background);background-image:linear-gradient(105deg,#f6efdfc2,transparent 35%,#787f6614 90%),linear-gradient(#787f661a,#787f6608);box-shadow:inset 5px 3px 6px #ffffffb0,inset -6px -3px 9px #787f6630,5px 6px 0 #b9b9a9,0 18px 32px #34382d16;padding-bottom:25px}
.fridge-freezer{position:relative;border-bottom:5px solid #787f6670;border-radius:42px 42px 0 0;background:linear-gradient(165deg,#f6efdf5c,transparent 65%);box-shadow:inset 0 -2px 3px #34382d12,0 2px 0 #ffffff85}
.fridge-main{position:relative}
.fridge-freezer::after,.fridge-main::after{content:"";position:absolute;right:var(--handle-right);width:18px;border:1px solid #787f6680;border-radius:10px;background:linear-gradient(90deg,#faf7ee,#e8e5de 48%,#a38c6a99);box-shadow:4px 4px 5px #34382d33,inset 2px 0 1px #fff9;pointer-events:none}
.fridge-freezer::after{height:68px;bottom:25px}
.fridge-main::after{top:42px;height:190px}
.fridge::before{content:"";position:absolute;left:30px;right:30px;bottom:9px;height:5px;border-radius:3px;background:#787f6640;box-shadow:0 1px 0 #f6efdfb0;pointer-events:none}
.freezer-photos{display:grid;grid-template-columns:1.2fr .9fr 1fr;align-items:center;gap:20px;padding:36px 80px 35px 48px}
.freezer-photos>.photo-tile:nth-child(2){width:94%;justify-self:end}
.freezer-photos>.photo-tile:nth-child(3){width:93%;justify-self:center}
.photo-collage{padding:34px 78px 0 34px}
.photo-cluster{display:grid;align-items:start;gap:16px;position:relative;padding-bottom:22px}
.cluster-first{grid-template-columns:1.22fr .78fr 1fr .88fr}
.cluster-first>.photo-tile:nth-child(2){margin-top:14px}
.cluster-first>.photo-tile:nth-child(4){margin-top:20px}
.cluster-trips{grid-template-columns:1.06fr 1.9fr .95fr;margin-top:-10px}
.cluster-trips>.photo-tile:last-child{margin-top:35px}
.photo-pair{display:flex;align-items:flex-start;padding-top:30px;position:relative}
.fridge .photo-pair>.photo-tile{width:52%;flex:0 0 52%}
.fridge .photo-pair>.photo-tile+ .photo-tile{margin-left:-4%}
.cluster-celebrations{grid-template-columns:1.08fr 1fr .84fr 1.05fr;margin-top:-4px}
.cluster-celebrations>.photo-tile:nth-child(2){margin-top:22px}
.cluster-celebrations>.photo-tile:nth-child(4){margin-top:20px}
.cluster-everyday{grid-template-columns:1.12fr .78fr 1fr;align-items:center;width:87%;margin:0 0 0 4%}
.fridge .photo-tile{--photo-angle:-2deg;--photo-offset:0px;--magnet-color:var(--olive);--magnet-x:42%;display:block;width:100%;height:auto;min-width:0;margin:0;padding:5px;background:var(--ivory);border:1px solid #a38c6a30;border-radius:2px;overflow:visible;box-shadow:0 4px 9px #34382d12,0 12px 22px #34382d0c;transform:translateY(var(--photo-offset)) rotate(var(--photo-angle));position:relative;z-index:1;line-height:0;cursor:help;transition:transform .22s ease,box-shadow .22s ease}
.fridge .photo-tile::before{content:"";position:absolute;z-index:2;top:-8px;left:var(--magnet-x);width:19px;height:19px;border-radius:50%;border:1px solid #34382d18;background-color:var(--magnet-color);background-image:radial-gradient(circle at 30% 25%,#ffffff6b,transparent 60%);box-shadow:1px 3px 3px #34382d38,inset 0 1px 1px #ffffff60;pointer-events:none}
.fridge .magnet-bar::before{width:30px;height:13px;top:-5px;border-radius:4px;transform:rotate(-10deg)}
.fridge .magnet-square::before{width:18px;height:18px;border-radius:4px;transform:rotate(15deg)}
.fridge .magnet-shared-under::before{display:none}
.fridge .magnet-shared::before{width:30px;height:14px;left:-10px;top:-6px;border-radius:4px;transform:rotate(-9deg)}
.fridge .photo-tile img{display:block;width:100%;height:auto;object-fit:contain;transform:none;transition:none}
.fridge .photo-tile.is-caption-open{z-index:6;transform:translateY(-4px) rotate(0);box-shadow:0 12px 26px #34382d24}
.fridge .photo-tile:focus-visible{outline:2px solid var(--olive);outline-offset:5px}
.fridge-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:8px 62px 26px 74px}
.fridge .fridge-bottom>.photo-tile{width:46%;max-width:340px}
.photo-section .fridge-note{position:relative;flex:0 1 250px;width:250px;min-width:0;margin:0;padding:27px 22px 24px;background:var(--yellow);background-image:linear-gradient(#ffffff12,transparent 36%);color:var(--ink);font-size:1rem;line-height:1.55;text-align:left;transform:rotate(-3deg);box-shadow:2px 5px 9px #34382d20;border-radius:1px 1px 12px 1px;overflow-wrap:break-word}
.fridge-caption span{display:block}
.fridge-caption span+span{margin-top:10px}
.fridge-note::before{content:"";position:absolute;inset:0 0 auto;height:18px;background:#d6993914;pointer-events:none}
.photo-section.photos-entered :is(.freezer-photos,.photo-collage){animation:photos-arrive .65s ease-out both}
@media(max-width:900px){
 .freezer-photos{gap:15px;padding:32px 65px 32px 32px}
 .photo-collage{padding:30px 65px 0 26px}
 .photo-cluster{gap:12px;padding-bottom:24px}
 .fridge-bottom{padding:4px 48px 24px 38px;gap:20px}
 .photo-section .fridge-note{flex-basis:225px;padding:24px 19px 22px}
}
@media(max-width:700px){
 .fridge{--handle-right:15px}
 .freezer-photos{gap:12px;padding:28px 44px 30px 22px}
 .photo-collage{padding:28px 44px 0 22px}
 .photo-cluster{grid-template-columns:1fr 1fr;gap:20px 12px;padding-bottom:24px;margin:0;width:100%}
 .photo-cluster>.photo-tile:nth-child(n){margin-top:0}
 .photo-pair{display:contents}
 .fridge .photo-pair>.photo-tile{width:100%}
 .fridge .photo-pair>.photo-tile+ .photo-tile{margin-left:0}
 .fridge .magnet-shared-under::before{display:block}
 .fridge .magnet-shared::before{left:42%}
 .fridge .photo-tile{transform:translateY(calc(var(--photo-offset) * .3)) rotate(var(--photo-angle))}
 .cluster-everyday>.photo-tile:last-child{grid-column:1 / -1;width:64%;justify-self:center}
 .fridge-main::after{width:12px;height:120px;top:36px}
 .fridge-freezer::after{width:12px;height:55px;bottom:24px}
 .fridge-bottom{padding:0 35px 25px 26px;gap:18px}
 .photo-section .fridge-note{font-size:.9375rem;padding:24px 16px 20px}
}
@media(max-width:480px){
 .photo-section{padding-block:48px}
 .photo-section .section-heading{margin-bottom:24px}
 .fridge{--handle-right:10px;border-radius:28px 28px 18px 18px;padding-bottom:18px;box-shadow:inset 3px 2px 5px #ffffffb0,inset -3px -2px 5px #787f6626,3px 4px 0 #b9b9a9,0 12px 22px #34382d12}
 .fridge-freezer{border-radius:26px 26px 0 0;border-bottom-width:4px}
 .freezer-photos{grid-template-columns:1fr 1fr;gap:16px 12px;padding:24px 34px 22px 16px}
 .freezer-photos>.photo-tile:nth-child(3){grid-column:1 / -1;width:64%;justify-self:center}
 .photo-collage{padding:24px 34px 0 16px}
 .fridge .photo-tile{padding:4px}
 .fridge .photo-tile::before{width:16px;height:16px;top:-6px}
 .fridge .magnet-bar::before,.fridge .magnet-shared::before{width:25px;height:11px;top:-5px}
 .fridge-main::after{width:10px;height:100px;top:28px}
 .fridge-freezer::after{width:10px;height:48px;bottom:20px}
 .fridge::before{left:20px;right:20px;bottom:8px;height:4px}
 .fridge-bottom{display:flex;flex-direction:column;align-items:flex-end;padding:0 22px 24px 22px;gap:10px}
 .fridge .fridge-bottom>.photo-tile{width:74%;align-self:flex-start}
 .photo-section .fridge-note{flex:auto;width:min(220px,92%);transform:rotate(-2deg)}
}
@media(prefers-reduced-motion:reduce){
 .photo-section.photos-entered :is(.freezer-photos,.photo-collage){animation:none}
 .fridge .photo-tile{transition:none}
 .fridge .photo-tile.is-caption-open{transform:translateY(var(--photo-offset)) rotate(var(--photo-angle))}
}
@media(max-width:700px) and (prefers-reduced-motion:reduce){.fridge .photo-tile.is-caption-open{transform:translateY(calc(var(--photo-offset) * .3)) rotate(var(--photo-angle))}}
