/* Full-width fields, face-safe framing, fixed overlays and scroll-only photo displacement. */
#afp-guest{overflow-x:clip}
#afp-guest .afp-photo-scene{--photo-rgb:28,45,66;position:relative;isolation:isolate;display:grid;grid-template-columns:38% 62%;width:var(--afp-viewport,100vw);max-width:none;margin:0 calc(50% - var(--afp-viewport,100vw)/2);padding:0;min-height:540px;background:rgb(var(--photo-rgb));color:#fff9ec;overflow:hidden;border:0;border-radius:0;gap:0}
#afp-guest main:has(>.g-photo-home)>.afp-photo-scene{grid-column:1/-1;margin-inline:0;width:100%}
#afp-guest .afp-photo-frame{position:relative;overflow:hidden;grid-column:2;grid-row:1;min-height:0;margin:0;padding:0;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.015) 5%,rgba(0,0,0,.07) 11%,rgba(0,0,0,.2) 18%,rgba(0,0,0,.42) 26%,rgba(0,0,0,.67) 34%,rgba(0,0,0,.86) 43%,rgba(0,0,0,.97) 53%,#000 65%)}
#afp-guest .afp-photo-frame img{position:absolute;inset:0;display:block;max-width:none;width:100%;height:100%;object-fit:cover;object-position:50% 20%;transform:translate3d(0,var(--parallax-y,0px),0) scale(1.10);transform-origin:center;will-change:transform;border:0;border-radius:0;opacity:1;mix-blend-mode:normal}
#afp-guest .afp-photo-gray{filter:grayscale(1)}
#afp-guest .afp-photo-frame:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,rgba(var(--photo-rgb),.15) 0%,rgba(var(--photo-rgb),1) 100%)}
#afp-guest .afp-photo-copy{position:relative;z-index:1;grid-column:1;grid-row:1;align-self:center;padding:44px 2vw 44px max(28px,5vw);margin:0;max-width:none;min-width:0}
#afp-guest .afp-photo-copy :is(h1,h2){font-size:clamp(42px,4.2vw,72px);line-height:1.05;max-width:740px;margin:14px 0 24px;color:inherit}
#afp-guest .afp-photo-copy p{max-width:650px;font-size:17px;line-height:1.6;color:inherit;margin:0 0 20px}
#afp-guest .afp-photo-copy .g-kicker{color:#ffbd9e}
#afp-guest .afp-photo-copy .g-button{background:#faf7ee;color:#22335c;border-color:#faf7ee}
#afp-guest .afp-photo-copy .g-button.text{background:transparent;color:inherit}
#afp-guest .afp-photo-copy .g-actions{flex-wrap:wrap}
#afp-guest .afp-photo-light{color:#22335c}
#afp-guest .afp-photo-light .g-kicker{color:#b72f28}
#afp-guest .afp-photo-light .g-button.primary{background:#b72f28;color:#fff;border-color:#b72f28}
#afp-guest .afp-photo-about .afp-photo-frame img,#afp-guest .afp-photo-directory .afp-photo-frame img{height:108%;object-position:center top}
#afp-guest .afp-photo-directory{min-height:420px}
#afp-guest .afp-photo-directory h2{font-size:clamp(38px,3.8vw,60px)}
#afp-guest .afp-photo-submission .afp-photo-frame img,#afp-guest .afp-photo-reproductive .afp-photo-frame img{object-position:center top}
#afp-guest .afp-photo-results{grid-template-columns:minmax(0,1fr) minmax(0,600px);min-height:400px}
#afp-guest .afp-photo-results .afp-photo-frame{aspect-ratio:1.5;align-self:center;width:100%;height:auto}
#afp-guest .afp-photo-results .afp-photo-frame img{inset:-12px -18px;width:calc(100% + 36px);height:calc(100% + 24px);object-position:center;transform:translate3d(0,var(--parallax-y,0px),0)}
#afp-guest .afp-photo-results h1{font-size:clamp(40px,3.5vw,56px)}
#afp-guest .g-home-directory>.afp-photo-scene{margin-bottom:28px}
#afp-guest .g-participation-story{display:block;padding-block:24px}
#afp-guest .g-participation-story .g-story-chapters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#afp-guest .g-participation-story .g-story-chapters details{min-width:0}
#afp-guest .g-participation-story .g-story-chapters summary{font-size:clamp(24px,2.3vw,32px)}
#afp-guest .afp-photo-scene+.g-directory-grid{margin-top:28px}
#afp-guest[data-theme=dark] .afp-photo-light{--photo-rgb:25,41,77!important;color:#fff9ec}
#afp-guest[data-theme=dark] .afp-photo-light .g-kicker{color:#ffbd9e}
@media(min-width:1700px){#afp-guest .afp-photo-scene{min-height:600px}#afp-guest .afp-photo-directory{min-height:520px}#afp-guest .afp-photo-results{min-height:400px}}
@media(min-width:761px) and (max-width:1199px){
 #afp-guest .afp-photo-scene{display:flex;flex-direction:column;min-height:0}
 #afp-guest .afp-photo-frame{width:100%;height:clamp(360px,45vw,520px);flex:none;mask-image:linear-gradient(to bottom,#000 0%,#000 25%,rgba(0,0,0,.98) 37%,rgba(0,0,0,.88) 49%,rgba(0,0,0,.65) 63%,rgba(0,0,0,.34) 77%,rgba(0,0,0,.09) 91%,transparent 100%)}
 #afp-guest .afp-photo-frame:after{background:linear-gradient(to bottom,rgba(var(--photo-rgb),.12) 0%,rgba(var(--photo-rgb),.18) 45%,rgba(var(--photo-rgb),.32) 65%,rgba(var(--photo-rgb),.6) 83%,rgba(var(--photo-rgb),.86) 100%)}
 #afp-guest .afp-photo-copy{width:100%;max-width:850px;align-self:center;margin-top:-70px;padding:16px 6vw 32px}
 #afp-guest .afp-photo-copy :is(h1,h2){font-size:clamp(42px,5vw,58px)}
 #afp-guest .afp-photo-results{display:grid;grid-template-columns:45% 55%;align-items:center}
 #afp-guest .afp-photo-results .afp-photo-frame:after{background:linear-gradient(to bottom,rgba(var(--photo-rgb),.15),rgba(var(--photo-rgb),1))}
 #afp-guest .afp-photo-results .afp-photo-frame{height:auto;aspect-ratio:1.5;mask-image:linear-gradient(90deg,transparent,#000 65%)}
 #afp-guest .afp-photo-results .afp-photo-copy{margin:0;padding:28px 3vw 28px 5vw}
 #afp-guest .afp-photo-results h1{font-size:clamp(34px,4vw,44px)}
}
@media(max-width:760px){
 #afp-guest .afp-photo-scene{display:flex;flex-direction:column;min-height:0}
 #afp-guest .afp-photo-frame{width:100%;height:auto;aspect-ratio:1.8;flex:none;mask-image:none}
 #afp-guest .afp-photo-frame img{object-position:center top}
 #afp-guest .afp-photo-copy{width:100%;margin-top:clamp(-90px,-16vw,-58px);padding:16px 7vw 28px}
 #afp-guest .afp-photo-copy :is(h1,h2){font-size:clamp(36px,10vw,46px);margin-bottom:16px}
 #afp-guest .afp-photo-copy p{font-size:16px;line-height:1.55;margin-bottom:16px}
 #afp-guest .afp-photo-results .afp-photo-frame{aspect-ratio:1.5}
 #afp-guest .afp-photo-results .afp-photo-copy{margin:0;padding-top:12px}
 #afp-guest .g-participation-story .g-story-chapters{grid-template-columns:1fr;gap:0}
}
@media(prefers-reduced-motion:reduce){#afp-guest .afp-photo-frame img{transform:scale(1.10);will-change:auto}#afp-guest .afp-photo-results .afp-photo-frame img{transform:none}}
/* Audit: use the full available width for participation and compact footer navigation. */
#afp-guest .g-participation-story .g-story-chapters{width:100%;max-width:none}
#afp-guest .g-footer>div:last-child{max-width:740px;flex:1;min-width:0;align-items:flex-end}
#afp-guest .g-footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 20px}
#afp-guest .g-footer-links a{display:inline-flex;align-items:center;min-height:44px}
#afp-guest .g-photo-issues>div>.g-button.text{margin-right:18px}
@media(max-width:760px){#afp-guest .g-footer>div:last-child{flex-basis:100%;align-items:flex-start}#afp-guest .g-footer-links{justify-content:flex-start;gap:0 20px}}
#afp-guest .g-results:has(>.afp-photo-scene),#afp-guest .g-commons-section:has(>.afp-photo-scene){padding-top:0}
