.photo-carousel-section{display:flow-root}
/* The user's Portfolio carousel, in VEGETATIVE's neutral glass palette. */
.photo-carousel-section .section-heading{grid-template-columns:1.1fr 1fr auto;gap:40px;margin-bottom:32px;align-items:end}
.photo-controls{display:flex;gap:8px}
.photo-controls button{position:relative;display:grid;place-items:center;flex:none;width:56px;height:56px;padding:0;border:1px solid var(--border);border-radius:50%;background:#ffffff65;box-shadow:inset 0 1px 1px #fff,0 4px 15px #00000006;backdrop-filter:blur(16px);transition:background .2s,transform .2s}
.photo-controls button:hover{background:#fff;transform:translateY(-2px)}
.photo-controls button:active{transform:scale(.95)}
.photo-controls svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.photo-controls .photo-progress{position:absolute;inset:-1px;width:56px;height:56px;transform:rotate(-90deg);stroke-width:1.8;stroke-dasharray:100;stroke-dashoffset:calc(100 - var(--photo-progress,0));pointer-events:none}
.photo-carousel-section .photo-rail{position:relative;display:flex;align-items:stretch;gap:12px;margin:0 calc(-1 * var(--gutter));padding:18px var(--gutter) 28px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gutter);scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;cursor:grab}
.photo-rail::-webkit-scrollbar{display:none}
.photo-carousel-section .photo-rail>figure{position:relative;flex:0 0 min(32vw,460px);width:auto;height:530px;margin:0;overflow:hidden;border-radius:26px;background:var(--surface);scroll-snap-align:start;transform-origin:center bottom;clip-path:inset(calc((1 - var(--weight,1)) * 72px) 0 0 round 26px);opacity:calc(.73 + var(--weight,1) * .27);border:1px solid #ffffffbc;box-shadow:0 8px 22px #00000009;isolation:isolate}
.photo-carousel-section .photo-rail img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;user-select:none;-webkit-user-drag:none;pointer-events:none}
.photo-rail figcaption{position:absolute;inset:auto 14px 14px;margin:0!important;padding:12px 16px;border:1px solid #ffffff95;border-radius:16px;background:#f7f7f5df;backdrop-filter:blur(16px);color:var(--ink);font-size:14px;line-height:1.4;box-shadow:0 3px 12px #00000008}
.photo-rail.is-dragging{cursor:grabbing;scroll-snap-type:none}
.photo-rail.is-resetting{scroll-behavior:auto;scroll-snap-type:none}
.photo-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin:0 0 28px}
.photo-dots{display:flex;align-items:center;min-height:48px;padding:2px 10px;border:1px solid #fff;border-radius:999px;background:#e9e9e766;box-shadow:inset 0 1px 1px #fff;backdrop-filter:blur(16px)}
.photo-dots button{display:grid;place-items:center;min-width:44px;height:44px;padding:0 8px;background:none;border-radius:99px}
.photo-dots span{display:block;width:7px;height:7px;border-radius:99px;background:#999;transition:width .25s,background .25s}
.photo-dots [aria-current] span{width:27px;background:var(--ink)}
@media(min-width:1800px){.photo-carousel-section .photo-rail>figure{flex-basis:560px;height:680px}}
@media(max-width:1000px){.photo-carousel-section .section-heading{gap:24px;grid-template-columns:1fr auto}.photo-carousel-section .section-heading>p{grid-column:1;grid-row:2}.photo-controls{grid-column:2;grid-row:1/3;align-self:end}.photo-carousel-section .photo-rail>figure{flex-basis:46vw;height:500px}}
@media(max-width:600px){.photo-carousel-section .section-heading{grid-template-columns:1fr auto;gap:22px 12px;margin-bottom:20px}.photo-carousel-section .section-heading h2{font-size:36px}.photo-carousel-section .section-heading>p{grid-column:1/-1;grid-row:2}.photo-controls{grid-row:1;gap:6px}.photo-controls button{width:44px;height:44px}.photo-controls .photo-progress{width:44px;height:44px}.photo-carousel-section .photo-rail{gap:10px;padding-top:12px;padding-bottom:20px}.photo-carousel-section .photo-rail>figure{flex-basis:calc(100vw - 72px);height:430px;clip-path:inset(calc((1 - var(--weight,1)) * 46px) 0 0 round 26px)}.photo-dots{padding-inline:5px}.photo-dots button{min-width:44px;padding-inline:5px}.photo-pagination{gap:8px}}
@media(prefers-reduced-motion:reduce){.photo-progress{display:none}.photo-carousel-section .photo-rail>figure{transform:none;clip-path:none;opacity:1}}

.photo-carousel-section .photo-full-frame img{object-fit:contain}
