/* Shared public collections, featured photograph and footer. */
.sp-collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;min-width:0}
.sp-collection-grid .collection-card{position:relative;display:block;width:100%;min-width:0;aspect-ratio:9/16;margin:0;overflow:hidden;border:1px solid rgb(var(--sp-tone-9-rgb,255 255 255) / 0.109804);border-radius:16px;background:var(--sp-tone-1,#151515);color:var(--sp-tone-9,#faf6f1);cursor:pointer;isolation:isolate;transition:border-color .2s,transform .2s;box-sizing:border-box}
.sp-collection-grid .collection-card[hidden]{display:none!important}
.collection-card .collection-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 30%;transition:transform .45s ease}
.collection-card::after{content:"";position:absolute;inset:30% 0 0;z-index:0;pointer-events:none;background:linear-gradient(180deg,transparent 0%,rgb(var(--sp-tone-0-rgb,9 9 9) / 0.196078) 32%,rgb(var(--sp-tone-0-rgb,9 9 9) / 0.87451) 78%,rgb(var(--sp-tone-0-rgb,9 9 9) / 0.960784) 100%)}
.collection-card .collection-copy{position:absolute;inset:auto 0 0;z-index:1;display:grid;gap:8px;padding:22px}
.collection-copy .collection-label{margin:0;color:var(--sp-accent-soft,#ffd0ac);font-size:10px;font-weight:700;line-height:1.5;letter-spacing:.09em;text-transform:uppercase;overflow-wrap:anywhere}
.collection-copy h3{margin:0;color:var(--sp-tone-9,#fffaf5);font-size:clamp(19px,1.65vw,25px);font-weight:750;line-height:1.13;letter-spacing:-.035em;overflow-wrap:anywhere}
.collection-copy .collection-credit{margin:0;color:var(--sp-tone-8,#ddd5ce);font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.collection-copy .collection-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;padding-top:13px;border-top:1px solid rgb(var(--sp-tone-9-rgb,255 255 255) / 0.14902);color:var(--sp-tone-8,#e3dbd5);font-size:11px;font-weight:600}
.collection-bottom .collection-arrow{display:grid;place-items:center;width:27px;height:27px;border:1px solid rgb(var(--sp-tone-9-rgb,255 255 255) / 0.239216);border-radius:50%;font-size:15px;line-height:1}
.collection-card .collection-count{position:absolute;top:14px;right:14px;z-index:1;display:flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid rgb(var(--sp-tone-9-rgb,255 255 255) / 0.188235);border-radius:7px;background:rgb(var(--sp-tone-1-rgb,16 16 16) / 0.909804);color:var(--sp-tone-9,#fff);font-size:11px;font-weight:650;line-height:1.3}
.collection-count svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6}
.sp-collection-grid .collection-card:hover{border-color:var(--sp-accent-soft,#ffab70);transform:translateY(-3px)}
.collection-card:hover .collection-image{transform:scale(1.025)}
.collection-card:focus-visible,.featured-shot:focus-visible{outline:3px solid var(--sp-accent-soft,#ffab70);outline-offset:5px}

/* Names are intentionally independent of the retired hero-frame/blur styles. */
.hero-visual .orbit,.hero-visual .floating-logo{display:none!important}
.hero-visual .featured-shot{position:relative;display:block;width:min(100%,390px);margin:0 auto;padding:0;overflow:hidden;border:1px solid rgb(var(--sp-tone-9-rgb,255 255 255) / 0.141176);border-radius:18px;background:var(--sp-tone-1,#161412);color:var(--sp-tone-9,#f7f1e9);cursor:pointer;box-shadow:0 18px 45px rgb(var(--sp-tone-0-rgb,0 0 0) / 0.333333);transform:none}
.featured-shot .featured-image{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;background:var(--sp-tone-2,#1b1916)}
.featured-shot .featured-image img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 28%;transition:transform .4s ease}
.featured-shot:hover .featured-image img{transform:scale(1.025)}
.featured-shot .featured-tag{position:absolute;top:16px;left:16px;display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgb(var(--sp-tone-9-rgb,255 255 255) / 0.219608);border-radius:6px;background:rgb(var(--sp-tone-1-rgb,19 19 19) / 0.929412);color:var(--sp-tone-9,#f8ede3);font-size:9px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}
.featured-tag::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--sp-accent-soft,#ffa263)}
.featured-shot .featured-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 22px;background:var(--sp-tone-1,#171512);border-top:1px solid rgb(var(--sp-tone-9-rgb,255 255 255) / 0.0862745)}
.featured-caption>div{display:grid;gap:5px;min-width:0}
.featured-caption strong{color:var(--sp-tone-9,#fff7ee);font-size:26px;font-weight:750;letter-spacing:-.04em;line-height:1.1}
.featured-caption small{color:var(--sp-tone-7,#c6b9ad);font-size:12px;line-height:1.5}
.featured-caption .featured-open{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid var(--sp-accent,#a87550);border-radius:50%;background:rgb(var(--sp-accent-soft-rgb,255 154 82) / 0.0705882);color:var(--sp-accent-soft,#ffad77);font-size:21px;line-height:1}

/* One footer, one copyright. No runtime-injected brand lines. */
.sp-footer{width:min(100% - 64px,1440px);margin:48px auto 0;border-top:1px solid rgb(var(--sp-tone-9-rgb,255 255 255) / 0.141176);color:var(--sp-tone-9,#f7f1e9);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.sp-footer *{box-sizing:border-box}
.sp-footer a{color:inherit;text-decoration:none}
.sp-footer-top{display:grid;grid-template-columns:1.15fr .8fr 1fr;gap:48px;align-items:start;padding:42px 0}
.sp-footer-brand{display:flex;align-items:center;gap:13px;width:fit-content}
.sp-footer-brand img{display:block;width:50px;height:50px;object-fit:contain}
.sp-footer-brand>span{display:grid;gap:3px}
.sp-footer-brand strong{font-size:24px;font-weight:800;letter-spacing:-.045em;line-height:1.2}
.sp-footer-brand small{color:var(--sp-tone-7,#b0a49a);font-size:10px;line-height:1.5;letter-spacing:.12em;text-transform:uppercase}
.sp-footer-intro>p{max-width:280px;margin:16px 0 0;color:var(--sp-tone-7,#b0a49a);font-size:13px;line-height:1.75}
.sp-footer-nav{display:grid;grid-template-columns:1fr 1fr;gap:13px 24px;padding-top:5px}
.sp-footer-nav a{font-size:13px;line-height:1.5;color:var(--sp-tone-8,#d6cdc5)}
.sp-footer-contact{justify-self:end;display:grid;justify-items:start;gap:14px}
.sp-footer-contact p{max-width:260px;margin:0;color:var(--sp-tone-9,#f3ece6);font-size:21px;font-weight:600;line-height:1.3;letter-spacing:-.03em}
.sp-footer-contact a{display:inline-flex;align-items:center;gap:28px;min-height:40px;color:var(--sp-accent-soft,#ffad77);font-size:13px;font-weight:650;border-bottom:1px solid var(--sp-accent,#b5784a)}
.sp-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 0 24px;border-top:1px solid rgb(var(--sp-tone-9-rgb,255 255 255) / 0.0823529);color:var(--sp-tone-7,#a3978c);font-size:11px;line-height:1.5}
.sp-footer-bottom p{margin:0}
.sp-footer-bottom a{display:flex;align-items:center;gap:10px;min-height:30px}
.sp-footer a:hover{color:var(--sp-accent-soft,#ffad77)}
.sp-footer a:focus-visible{outline:2px solid var(--sp-accent-soft,#ffad77);outline-offset:5px;border-radius:2px}

/* Home preview uses the same vertical collection design. */
#portafolio .sp-home-collections{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:0}
#portafolio .sp-home-collections .collection-card{aspect-ratio:9/16}
@media(min-width:1600px){.pf-main .sp-collection-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1099px){.sp-collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.collection-card .collection-copy{padding:18px}.sp-footer-top{gap:28px;grid-template-columns:1fr .8fr 1fr}}
@media(max-width:759px){.sp-collection-grid,#portafolio .sp-home-collections{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sp-footer{width:calc(100% - 40px)}.sp-footer-top{grid-template-columns:1fr 1fr;gap:30px;padding:32px 0}.sp-footer-intro{grid-column:1/-1}.sp-footer-intro>p{max-width:390px}.sp-footer-contact{justify-self:start}.sp-footer-contact p{font-size:19px}.collection-copy h3{font-size:21px}}
@media(max-width:539px){.sp-collection-grid,#portafolio .sp-home-collections{grid-template-columns:minmax(0,1fr);gap:22px;max-width:420px;margin-inline:auto}.collection-card .collection-copy{padding:22px}.collection-copy h3{font-size:26px}.collection-copy .collection-label{font-size:10px}.collection-copy .collection-credit{font-size:13px}.hero-visual .featured-shot{width:min(100%,360px)}.sp-footer{margin-top:28px}.sp-footer-top{gap:28px 20px}.sp-footer-nav{grid-template-columns:1fr;gap:11px}.sp-footer-contact p{font-size:18px}.sp-footer-bottom{align-items:flex-start;gap:14px;font-size:10px}.sp-footer-bottom a{white-space:nowrap}.sp-footer-brand strong{font-size:23px}}
@media(prefers-reduced-motion:reduce){.sp-collection-grid .collection-card,.collection-card .collection-image,.featured-shot .featured-image img{transition:none}.collection-card:hover .collection-image,.featured-shot:hover .featured-image img,.sp-collection-grid .collection-card:hover{transform:none}}

.collection-arrow svg,.featured-open svg,.sp-footer-contact a svg,.sp-footer-bottom a svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.featured-open svg{width:20px;height:20px}
