/* Editorial scene integration. Colour lives around the photograph, never over a face. */
.integrated-scene{position:relative;isolation:isolate;overflow:visible!important;background:none!important}
.integrated-scene:before{content:'';position:absolute;inset:-10% -9%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,var(--scene-tone) 0%,color-mix(in srgb,var(--scene-tone) 64%,transparent) 24%,transparent 68%)}
body .integrated-scene>img{display:block;position:relative;opacity:1;filter:none;border:0;border-radius:0;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(180deg,transparent,#000 5%,#000 90%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(180deg,transparent,#000 5%,#000 90%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in}
.opening-photo{display:flex;align-items:center;justify-content:center;min-height:0;margin-bottom:24px}.opening-photo>img{width:auto;height:auto;max-width:100%;max-height:460px;object-fit:contain}
/* A single visible panel; changing a feature never exposes a neighbour. */
.cinema-track{display:block;overflow:clip;scroll-snap-type:none;height:auto!important;touch-action:pan-y}
.cinema-track>.cinema-slide{width:100%;max-width:100%;max-height:none;min-width:0;overflow:visible}
.cinema-track>.cinema-slide[hidden]{display:none!important}
.editorial-slide.cinema-slide,.editorial-slide.cinema-slide:nth-child(even){min-height:520px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);padding-top:18px;padding-bottom:30px;gap:clamp(22px,3vw,54px);animation:reveal-spread .22s ease-out}
.editorial-slide .cinema-media{padding:12px 0}.editorial-slide .cinema-copy{padding-left:10px!important}
.editorial-slide .cinema-media>img{width:100%;max-height:510px;object-fit:contain}
.editorial-slide.portrait-cinema .cinema-media>img{width:auto;max-height:530px}
.cinema-heading{margin-bottom:24px}.cinema-controls{padding-bottom:24px}
@keyframes reveal-spread{from{opacity:.5}to{opacity:1}}
/* Extend the grass's own colour into the surrounding composition. The figure stays full-frame. */
.world-dispatch.portrait-dispatch{max-width:1480px;margin:0 auto;padding:55px var(--gutter) 62px;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:clamp(24px,4vw,65px);background:radial-gradient(ellipse at 27% 48%,#51613b66,transparent 65%)}
.dispatch-photo{justify-content:center;align-items:center;align-self:center}
.dispatch-photo>img{width:auto;height:auto;max-width:100%;max-height:650px;object-fit:contain}
.portrait-dispatch .dispatch-copy{padding:20px 0}.portrait-dispatch .dispatch-copy h2{font-size:39px}
/* Portrait and source heroes are composed in the page, not placed in a small side box. */
body .media-hero.portrait-hero,body .media-hero.frame-hero{column-gap:clamp(25px,3vw,55px)}
.media-hero.portrait-hero .hero-media,.media-hero.frame-hero .hero-media{min-width:0}
.media-hero.portrait-hero .hero-media img,.media-hero.frame-hero .hero-media img{max-height:clamp(360px,66dvh,700px)}
body .media-hero.interview-cover{padding-left:0;padding-right:0}.media-hero.interview-cover .hero-media{max-width:1180px}.media-hero.interview-cover .hero-content{padding-left:var(--gutter);padding-right:var(--gutter)}
.media-hero.interview-cover .hero-media img{width:100%;max-height:clamp(285px,49dvh,520px)}
/* New current editorial covers replace the rejected archive/placeholder covers. */
body .media-hero.stories-edition{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
.media-hero.stories-edition .hero-media img{max-height:610px;width:100%}
body .media-hero.episodes-edition{grid-template-columns:minmax(0,1.13fr) minmax(0,1fr)}
.media-hero.episodes-edition .hero-media{width:min(100%,500px);justify-self:center;aspect-ratio:4/5;max-height:64dvh;overflow:hidden!important}
.media-hero.episodes-edition .hero-media img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center bottom!important}
.episode-list{padding-top:8px;padding-bottom:50px}.episode-entry{display:grid;grid-template-columns:55px minmax(0,1fr) 190px;gap:28px;align-items:center;padding:30px 0;border-top:1px solid var(--line)}.episode-entry .episode-index{font-size:11px;color:var(--muted)}.episode-entry h3{font-size:30px;margin:12px 0}.episode-entry p{max-width:670px;color:var(--muted);font-size:14px;line-height:1.7}.episode-entry>.text-link{justify-self:end}.episode-entry .meta{line-height:1.7}
.archive-grid{gap:0}.archive-text-feature{background:transparent;border-top:1px solid var(--line);padding:27px 0}.archive-grid:not(.small-archive){grid-template-columns:1fr 1fr;column-gap:60px}
@media(max-width:850px){.editorial-slide.cinema-slide,.editorial-slide.cinema-slide:nth-child(even){min-height:470px}.portrait-dispatch .dispatch-copy h2{font-size:33px}.episode-entry{grid-template-columns:30px minmax(0,1fr)}.episode-entry>.text-link{grid-column:2;justify-self:start}.episode-entry h3{font-size:28px}}
@media(max-width:600px){
 .integrated-scene:before{inset:-7% -3%;background:radial-gradient(ellipse at center,var(--scene-tone) 8%,color-mix(in srgb,var(--scene-tone) 45%,transparent) 38%,transparent 72%)}
 body .integrated-scene>img{mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(180deg,transparent,#000 5%,#000 91%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(180deg,transparent,#000 5%,#000 91%,transparent)}
 .opening-photo{margin-left:-18px;margin-right:-18px}.opening-photo>img{max-height:430px}
 .editorial-slide.cinema-slide,.editorial-slide.cinema-slide:nth-child(even){padding:0 0 20px;gap:8px;min-height:0;display:flex}.editorial-slide .cinema-media{padding:0}.editorial-slide .cinema-media>img{max-height:none}.editorial-slide.portrait-cinema .cinema-media>img{max-height:480px}.editorial-slide .cinema-copy{padding:0 18px!important}.cinema-controls{padding-top:16px}
 .world-dispatch.portrait-dispatch{padding:35px 0 38px;gap:12px;background:radial-gradient(ellipse at 50% 29%,#53633d66,transparent 62%)}.dispatch-photo>img{width:100%;max-height:590px;object-fit:contain}.portrait-dispatch .dispatch-copy{padding:0 18px!important;margin:0}.portrait-dispatch .dispatch-copy h2{font-size:32px}
 body .media-hero.interview-cover .hero-content{padding:0 18px}.media-hero.interview-cover .hero-media img{max-height:none;width:100%}
 body .media-hero.stories-edition,body .media-hero.episodes-edition{gap:22px;padding-left:0;padding-right:0}.media-hero.stories-edition .hero-content,.media-hero.episodes-edition .hero-content{padding:0 18px}.media-hero.stories-edition .hero-media img{max-height:none;width:100%}.media-hero.episodes-edition .hero-media{max-height:45dvh;width:min(100%,390px);aspect-ratio:4/5;align-self:center}.media-hero.episodes-edition .hero-content p{margin-top:12px}
 .episode-entry{gap:17px;padding:25px 0}.episode-entry h3{font-size:27px}.episode-entry p{font-size:13px}.archive-grid:not(.small-archive){grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.cinema-track>.cinema-slide{animation:none}}
/* Prevent legacy photo rules from restoring a hard rectangular edge. */
body .integrated-scene>img{mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(180deg,transparent,#000 5%,#000 90%,transparent)!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(180deg,transparent,#000 5%,#000 90%,transparent)!important;mask-composite:intersect!important;-webkit-mask-composite:source-in!important}
main{overflow-x:clip}
.media-hero.episodes-edition .hero-media{height:min(64dvh,625px);width:auto;max-width:100%;max-height:none;aspect-ratio:4/5}
@media(max-width:600px){body .integrated-scene>img{mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(180deg,transparent,#000 5%,#000 91%,transparent)!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(180deg,transparent,#000 5%,#000 91%,transparent)!important}.media-hero.episodes-edition .hero-media{height:45dvh;width:auto;max-height:none;max-width:100%}}

/* V17 — the background layer never contributes to hero height. The prior generic
   relative-position rule was pushing Services/Foundation headings below the image. */
.media-hero:not(.portrait-hero):not(.frame-hero):not(.product-hero)>.hero-media{position:absolute;top:0;bottom:0}
body .media-hero:not(.portrait-hero):not(.frame-hero):not(.product-hero){justify-content:center;padding-top:48px;padding-bottom:calc(90px + env(safe-area-inset-bottom))}
body .media-hero:not(.portrait-hero):not(.frame-hero):not(.product-hero)>.hero-content{position:relative;inset:auto;transform:translateY(-3vh)}
/* The rejected portraits have different focal points. Dissolve their scenery,
   not the faces. Remove the coloured halo that was reading as another rectangle. */
.integrated-scene.scene-araujo:before,.integrated-scene.scene-gyokeres:before{display:none}
body .integrated-scene.scene-araujo>img{mask-image:linear-gradient(90deg,transparent,#000 17%,#000 94%,transparent),linear-gradient(180deg,transparent,#000 3%,#000 77%,transparent)!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 17%,#000 94%,transparent),linear-gradient(180deg,transparent,#000 3%,#000 77%,transparent)!important}
body .integrated-scene.scene-gyokeres>img{mask-image:radial-gradient(ellipse 84% 100% at 51% 46%,#000 55%,transparent 88%),linear-gradient(90deg,transparent,#000 17%,#000 85%,transparent),linear-gradient(180deg,transparent,#000 3%,#000 87%,transparent)!important;-webkit-mask-image:radial-gradient(ellipse 84% 100% at 51% 46%,#000 55%,transparent 88%),linear-gradient(90deg,transparent,#000 17%,#000 85%,transparent),linear-gradient(180deg,transparent,#000 3%,#000 87%,transparent)!important;mask-composite:intersect!important;-webkit-mask-composite:source-in!important}
.world-dispatch.portrait-dispatch{background:var(--canvas)}
/* The product sits in a continuous matching studio field. A single full-width
   transition belongs to the section, rather than a square around the garment. */
body .media-hero.product-hero{background:#f7f5f6;padding-top:64px;padding-bottom:calc(110px + env(safe-area-inset-bottom))}
.media-hero.product-hero:before,.media-hero.product-hero:after{content:'';position:absolute;left:0;right:0;z-index:2;pointer-events:none;height:54px}
.media-hero.product-hero:before{top:0;background:linear-gradient(var(--canvas),transparent)}
.media-hero.product-hero:after{bottom:0;background:linear-gradient(transparent,var(--canvas))}
.media-hero.product-hero .hero-media img{mask:none!important;-webkit-mask:none!important}
.media-hero.product-hero .hero-bottom{color:#514b48;bottom:66px}
@media(max-width:600px){
 body .media-hero:not(.portrait-hero):not(.frame-hero):not(.product-hero){justify-content:center;padding-top:36px;padding-bottom:calc(86px + env(safe-area-inset-bottom))}
 body .media-hero:not(.portrait-hero):not(.frame-hero):not(.product-hero)>.hero-content{transform:translateY(-4vh)}
 /* Heading first on every composed mobile hero, with the intact image below. */
 body .media-hero.portrait-hero,body .media-hero.frame-hero,body .media-hero.product-hero{justify-content:flex-start;gap:20px;padding-top:34px}
 .media-hero.portrait-hero>.hero-content,.media-hero.frame-hero>.hero-content,.media-hero.product-hero>.hero-content{order:-1}
 .media-hero.portrait-hero .hero-content h1,.media-hero.frame-hero .hero-content h1,.media-hero.product-hero .hero-content h1{font-size:32px;line-height:1.12}
 .media-hero.portrait-hero .hero-content p,.media-hero.frame-hero .hero-content p{font-size:13px;line-height:1.55;margin-top:12px}
 .media-hero.portrait-hero .hero-media img,.media-hero.frame-hero .hero-media img{max-height:40svh;width:auto;max-width:100%}
 .media-hero.stories-edition .hero-media img,.media-hero.interview-cover .hero-media img{max-height:40svh;width:auto;max-width:100%}
 body .media-hero.product-hero{padding-top:62px;padding-bottom:calc(110px + env(safe-area-inset-bottom))}
 .media-hero.product-hero .hero-content{padding-bottom:0}
 .media-hero.product-hero .hero-media img{max-height:38svh}
 .world-dispatch.portrait-dispatch{background:var(--canvas)}
}
/* Youth signup: editorial typography, open ruled fields, and restrained sage.
   All selectable profiles are fictional constants; there are no PII inputs. */
.youth-signup-page{position:relative;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(35px,7vw,100px);min-height:calc(100svh - var(--site-chrome) + 1px);padding:50px max(var(--gutter),calc((100vw - var(--max))/2 + var(--gutter))) 70px;align-items:start;background:radial-gradient(ellipse at 10% 90%,#213a3277,transparent 60%)}
.signup-intro h1{font-size:44px;line-height:1.12;margin:19px 0 23px;font-weight:400}.signup-camp-name{font-family:var(--font-display);font-size:25px!important;color:var(--text)!important;margin:0 0 8px!important}.signup-intro>p{font-size:12px;color:var(--muted);line-height:1.7}.signup-intro>.text-link{font-size:11px;margin-top:21px}.signup-scene{margin:25px 0 10px;max-width:460px}.signup-scene img{width:100%;height:200px;object-fit:cover;mask-image:linear-gradient(180deg,transparent,#000 17%,#000 72%,transparent);-webkit-mask-image:linear-gradient(180deg,transparent,#000 17%,#000 72%,transparent)}.signup-intro .signup-privacy{max-width:390px;font-size:10px;line-height:1.8}
.signup-flow{min-width:0}.signup-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:0 0 34px;gap:12px}.signup-progress li{border-top:1px solid var(--line);padding-top:13px;font-size:10px;line-height:1.55;color:var(--muted)}.signup-progress li[aria-current]{border-color:#99c0a7;color:#e4eee8}.signup-progress span{display:block;font-size:9px;margin-bottom:7px}.signup-progress a{color:inherit}.signup-panel h2{font-size:33px;font-weight:400;line-height:1.16;margin:18px 0}.signup-panel>p{font-size:13px;color:var(--muted);line-height:1.7}.signup-panel fieldset{border:0;padding:0;margin:27px 0}.signup-panel legend{font-size:11px;color:#b5c8bc;padding:0 0 13px}.signup-choice{display:flex;gap:13px;padding:20px 0;border-top:1px solid var(--line);cursor:pointer;align-items:flex-start}.signup-choice:last-child{border-bottom:1px solid var(--line)}.signup-choice input,.signup-ack input{width:19px;height:19px;flex:0 0 19px;accent-color:#a8c8b2;margin:2px 0 0}.signup-choice strong{font-size:14px;font-weight:500}.signup-choice small{display:block;font-size:11px;line-height:1.8;color:var(--muted);margin-top:7px}.signup-ack{display:flex;gap:13px;font-size:11px;line-height:1.8;color:#bfd0c7;margin:15px 0 25px}.signup-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:26px}.signup-panel .button{min-height:46px;font-size:11px}.signup-panel .text-link{font-size:11px}.signup-summary{margin:25px 0}.signup-summary>div{display:grid;grid-template-columns:minmax(115px,.8fr) minmax(0,1.2fr);gap:20px;border-top:1px solid var(--line);padding:15px 0;font-size:12px;line-height:1.7}.signup-summary dt{color:var(--muted)}.signup-summary dd{margin:0;overflow-wrap:anywhere}.signup-review-links{display:flex;gap:26px;margin:10px 0 25px}.signup-panel .signup-disclosure{font-size:11px;border-left:1px solid #799786;padding-left:16px;margin:23px 0}.signup-local-note{font-size:9px;color:var(--muted);line-height:1.7;margin-top:28px}.signup-panel .signup-success{color:#b6d5be}.signup-error{color:#ffd8b8!important;margin-top:18px}.signup-panel [hidden]{display:none!important}
@media(max-width:850px){.youth-signup-page{gap:32px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.signup-intro h1{font-size:37px}.signup-progress{gap:8px}}
@media(max-width:600px){.youth-signup-page{display:block;padding:31px 18px 45px}.signup-intro h1{font-size:32px;margin:16px 0 17px}.signup-intro .signup-camp-name{font-size:23px!important}.signup-intro>.text-link{margin-top:16px}.signup-scene{display:none}.signup-intro .signup-privacy{font-size:10px;margin:17px 0 30px}.signup-progress{gap:12px;margin-bottom:29px}.signup-progress li{font-size:9px}.signup-panel h2{font-size:29px}.signup-panel>p{font-size:12px}.signup-summary>div{font-size:11px;gap:15px;grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr)}.signup-panel .button{width:100%;justify-content:center}.signup-actions{gap:20px}.signup-actions>.text-link{order:2}.signup-review-links{gap:24px}.signup-choice{padding:18px 0}}

@media(max-width:600px){.media-hero.episodes-edition .hero-media{height:min(40svh,360px)}.media-hero.episodes-edition .hero-media img{max-height:none}}
/* Interviews also introduce the headline before the source photograph. */
.media-hero.interview-cover>.hero-content{order:-1}

/* V18: observed v17 render corrections. The Araújo element inherited a 1.6/1
   (phone 1.4/1) box while object-fit contained a portrait inside it. Its side
   mask was therefore fading letterbox space, not the actual photograph. */
.opening-photo>img{aspect-ratio:auto;width:auto;height:auto}
/* Let the international image meet the page edge. The grass remains photographic
   context, without an inset green rectangle or a cut-out around the player. */
.world-dispatch.portrait-dispatch{max-width:none;margin-left:0;margin-right:0;padding-left:0}
.portrait-dispatch .dispatch-photo{justify-content:flex-start}
body .integrated-scene.scene-gyokeres>img{mask-image:linear-gradient(90deg,#000 83%,transparent),linear-gradient(180deg,transparent,#000 4%,#000 86%,transparent)!important;-webkit-mask-image:linear-gradient(90deg,#000 83%,transparent),linear-gradient(180deg,transparent,#000 4%,#000 86%,transparent)!important;mask-composite:intersect!important;-webkit-mask-composite:source-in!important}
/* The small signup context image dissolves at its side edges as well. */
.signup-scene img{mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent),linear-gradient(180deg,transparent,#000 17%,#000 72%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent),linear-gradient(180deg,transparent,#000 17%,#000 72%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in}
@media(max-width:600px){
 /* The intentional 4:5 source frame already trims empty upper background. The
    generic mobile contain!important rule must not reintroduce side letterboxes. */
 .media-hero.episodes-edition .hero-media img{object-fit:cover!important}
 .world-dispatch.portrait-dispatch{padding-left:0;padding-right:0}
 .portrait-dispatch .dispatch-photo>img{width:100%;height:auto;max-height:none;aspect-ratio:auto}
 body .portrait-dispatch .integrated-scene.scene-gyokeres>img{mask-image:linear-gradient(180deg,transparent,#000 4%,#000 86%,transparent)!important;-webkit-mask-image:linear-gradient(180deg,transparent,#000 4%,#000 86%,transparent)!important;mask-composite:add!important;-webkit-mask-composite:source-over!important}
}

/* Real-photo edition: use the existing full-frame composition to retain the
   original photographic context and protect faces; no generative cutouts. */
body .reference-hero .integrated-scene>img{mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(180deg,transparent,#000 4%,#000 94%,transparent)!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(180deg,transparent,#000 4%,#000 94%,transparent)!important;mask-composite:intersect!important;-webkit-mask-composite:source-in!important}
.reference-hero .hero-bottom a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.camp-image{display:flex;align-items:center;justify-content:center;overflow:hidden}
.camp-image img[data-reference-photo]{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.sport-tile{display:flex;align-items:center;justify-content:center}
.sport-tile img[data-reference-photo]{position:relative;inset:auto;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.signup-scene{display:flex;align-items:center;justify-content:center}
.signup-scene img[data-reference-photo]{width:auto;height:auto;max-width:100%;max-height:200px;object-fit:contain}
@media(max-width:600px){.reference-hero .hero-bottom>span{font-size:7px;line-height:1.6}.signup-scene{display:none}}
