.ph-text{gap:var(--space-stack);align-content:start;display:grid}.ph-feature{--mat:clamp(calc(var(--space-stack)*.75),2.6cqi,calc(var(--space-stack)*2));--lip:clamp(calc(var(--space-stack)*3),9cqi,calc(var(--space-stack)*6.5));--main-max-h:min(44rem,80svh);--mat-surface:color-mix(in srgb,var(--on-surface)4%,var(--surface,var(--canvas)));grid-template-columns:[mat-s]var(--mat)[photo-s]minmax(0,1fr)[photo-e]var(--mat)[mat-e];grid-template-rows:[mat-top]var(--mat)[photo-top]auto [photo-bottom]var(--lip)[mat-bottom]auto [text-top]auto [end];display:grid}.ph-feature:not([data-detail]){--lip:var(--mat)}.ph-feature:not([data-photo]){grid-template:none}.ph-feature[data-photo]:before{content:"";border:var(--border-width)solid var(--border);border-radius:var(--radius-surface);background:var(--mat-surface);box-shadow:var(--shadow-raised);grid-area:mat-top/mat-s/mat-bottom/mat-e}.ph-feature .ph-feature-main{border-radius:max(0px,calc(var(--radius-surface) - var(--mat)));box-shadow:none;grid-area:photo-top/photo-s/photo-bottom/photo-e}.ph-feature-detail{z-index:1;width:clamp(88px,32%,240px);margin-top:calc(var(--lip)*.4);padding:calc(var(--mat)*.5);border:var(--border-width)solid var(--border);border-radius:var(--radius-surface);background:var(--mat-surface);box-shadow:var(--shadow-raised);grid-area:photo-bottom/photo-s/text-top/photo-e;place-self:start end;position:relative}.ph-feature-detail .media{border-radius:max(0px,calc(var(--radius-surface) - var(--mat)*.5));box-shadow:none}.ph-feature[data-side=right] .ph-feature-detail{justify-self:start}.ph-feature-text{padding-top:calc(var(--space-stack)*2);grid-area:text-top/mat-s/end/mat-e}.ph-feature:not([data-photo]) .ph-feature-text{grid-area:auto;padding-top:0}@container (width>=720px){.ph-feature[data-photo]:not([data-orientation=landscape]){--main-w:min(calc(var(--main-max-h)*var(--aspect)),52cqi);grid-template-columns:[mat-s]var(--mat)[photo-s]var(--main-w)[photo-e]var(--mat)[mat-e]var(--space-gutter)[text-s]minmax(0,1fr)[text-e];grid-template-rows:[mat-top]var(--mat)[photo-top]auto [photo-bottom]var(--lip)[mat-bottom]auto [text-top]1fr [end]}.ph-feature[data-photo][data-side=right]:not([data-orientation=landscape]){grid-template-columns:[text-s]minmax(0,1fr)[text-e]var(--space-gutter)[mat-s]var(--mat)[photo-s]var(--main-w)[photo-e]var(--mat)[mat-e]}.ph-feature[data-photo]:not([data-orientation=landscape]) .ph-feature-text{grid-area:mat-top/text-s/end/text-e;align-self:center;padding-top:0}.ph-feature[data-photo][data-orientation=landscape]{max-width:calc(var(--main-max-h)*var(--aspect) + 2*var(--mat));margin-inline:auto}.ph-feature[data-photo][data-orientation=landscape] .ph-feature-text{grid-area:mat-bottom/photo-s/end/photo-e;justify-self:start;max-width:min(60%,38rem)}.ph-feature[data-photo][data-orientation=landscape][data-side=right] .ph-feature-text{justify-self:end}}.ph-corridor{--row-h:min(clamp(18rem,48cqi,34rem),62svh);--track-gap:calc(var(--space-stack)*1.5)}.ph-corridor-photo{gap:calc(var(--space-stack)*.6);width:min(calc(var(--row-h)*var(--aspect)),84cqi);align-content:start;margin:0;display:grid}.ph-corridor-photo figcaption{text-wrap:pretty;max-width:48ch}.ph-corridor-card{width:min(80cqi,24rem);min-height:var(--row-h);align-content:end}.ph-corridor-end{align-content:center;justify-items:start;width:min(64cqi,16rem);display:grid}.ph-curtain{--photo-max-h:min(40rem,78svh);--layer-surface:var(--surface,var(--canvas));gap:calc(var(--space-stack)*2);display:grid}.ph-curtain-stage{gap:calc(var(--space-stack)*2.5);display:grid}.ph-curtain-panel{justify-items:center;gap:calc(var(--space-stack)*2);display:grid}.ph-curtain .media{width:min(100%,calc(var(--photo-max-h)*var(--aspect)))}.ph-curtain-seam,.ph-curtain-details{text-align:center;justify-items:center}@media (prefers-reduced-motion:no-preference){@container (width>=720px){.ph-curtain-stage[data-curtain]{gap:0}[data-curtain]>.ph-curtain-panel{min-height:100svh;padding-block:calc(var(--space-stack)*2);align-content:center}[data-curtain]>.ph-curtain-first{position:sticky;top:0}[data-curtain]>.ph-curtain-second{--photo-max-h:min(36rem,66svh);border-top:max(1px,var(--border-width))solid var(--border);background:var(--layer-surface);align-content:start;position:relative}}.album-root[data-color-shift=on] .ph-curtain{--layer-surface:var(--live-surface,var(--canvas))}}