@font-face{font-family:Figtree;src:url(assets/figtree.ttf)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#12295c;font:1.05rem/1.5 Figtree,Arial,sans-serif}button,input,select{font:inherit}button,select{cursor:pointer}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f47635;outline-offset:3px}.wrap{width:min(1160px,90%);margin:auto}.bar{display:flex;align-items:center;justify-content:space-between;gap:1rem}.bar img{width:108px;display:block}header{border-bottom:1px solid #dce1ed;background:white}.bar{min-height:74px}nav{display:flex;gap:clamp(15px,3vw,42px);align-items:center}nav a{font-weight:700;text-decoration:none}nav a:hover,.back:hover{text-decoration:underline}.skip{position:absolute;left:-100vw}.skip:focus{left:1rem;background:white;z-index:5}.hero{background:#edf3ff;overflow:hidden}.heroGrid{display:grid;grid-template-columns:.95fr 1.05fr;gap:5%;align-items:center;padding-block:clamp(44px,6vw,86px)}.kicker,.missions article>span{font-size:.83rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800;margin:0 0 1rem;color:#344d8d}.kicker span{color:#e06699}.hero h1{font-size:clamp(4.5rem,8.8vw,8.1rem);letter-spacing:-.075em;line-height:.84;margin:.22em 0;font-weight:900}.hero em{font-style:normal;color:#314fe3}.lead,.intro{font-size:clamp(1.08rem,1.5vw,1.28rem);max-width:72ch}.lead{max-width:37ch;margin:1.6rem 0}.button,button{display:inline-block;border-radius:999px;text-decoration:none;padding:.67rem 1.15rem;border:1px solid #b7c3de;background:#fff;color:#152d67;font-weight:700}.button{background:#203fcf;border-color:#203fcf;color:white}.heroArt{position:relative;margin:0;padding:18px 18px 0;background:#f7bdde;border-radius:46% 46% 22px 22px;box-shadow:12px 12px 0 #ffdd61}.heroArt img{width:100%;height:clamp(260px,26vw,375px);object-fit:cover;border-radius:50% 50% 9px 9px;display:block}.heroArt figcaption{padding:.5rem 0 .6rem;text-align:center;font-weight:700;font-size:.88rem}.section{padding-block:clamp(44px,6vw,85px)}h2,h3{line-height:1.08;letter-spacing:-.035em;margin:0}h2{font-size:clamp(2.15rem,4vw,3.6rem)}h3{font-size:1.55rem}.missions,.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.missions{margin-top:2rem}.missions article{background:#fbe0f0;border-radius:18px;padding:24px}.missions article:nth-child(2){background:#fff0ab}.missions article:nth-child(3){background:#dcecff}.missions article>span{display:block;color:inherit;margin-bottom:.5rem}.missions p,.card p{margin-bottom:0}.catalog{background:#f4f7fc}.filters,.controls{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.filters{margin-top:2rem}.filters label{display:grid;gap:5px;font-weight:650}.filters input,.filters select,.controls select{border:1px solid #bdc9dc;border-radius:10px;padding:.65rem .8rem;background:white;color:inherit;max-width:100%}.filters input{width:min(370px,100%)}#count{font-size:.94rem}.card{display:flex;flex-direction:column;background:white;color:inherit;border:1px solid #d6deea;border-radius:15px;overflow:hidden;text-decoration:none;transition:transform .18s}.card:hover{transform:translateY(-3px);border-color:#4861ce}.card>img{width:100%;aspect-ratio:1.85;object-fit:cover}.card .cover{object-fit:contain;background:#e6edff}.card div{padding:18px}.card h3{font-size:1.32rem}.card p{font-size:.94rem}.tag{display:inline-block;border-radius:6px;padding:.18rem .55rem;background:#ffddeb;font-size:.83rem;font-weight:730;margin-bottom:.7rem}.tag.blue{background:#d9edff}.detailTitle{font-size:clamp(2.2rem,5vw,4.4rem);line-height:1.04;letter-spacing:-.055em;margin:.2em 0;max-width:24ch}.back{display:inline-block;margin-bottom:1.8rem;font-weight:700}.detailHead{border-bottom:2px dotted #c6d3e6;padding-bottom:24px}.detailNav{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.detailNav a{border-radius:999px;background:#edf2ff;padding:8px 15px;font-weight:bold;text-decoration:none}.sub{margin-top:3rem}.sub h2{font-size:clamp(1.8rem,3vw,2.5rem);margin-bottom:1rem}.prose{max-width:76ch}.reader{background:#e7edfa;border-radius:18px;padding:clamp(12px,3vw,34px)}.pages{display:flex;justify-content:center;perspective:2000px;gap:2px}.pages img{width:auto;max-width:49%;height:auto;max-height:76vh;object-fit:contain;box-shadow:0 4px 16px #162b521f;align-self:center}.pages.turn img:last-child{animation:flip .35s ease-out;transform-origin:left}@keyframes flip{from{transform:rotateY(-32deg);opacity:.6}}.controls{justify-content:center;align-items:center;margin-top:18px}.controls label{font-size:.9rem}.controls select{padding:.35rem}button:disabled{opacity:.42;cursor:default}.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px}.gallery button{padding:0;border:0;border-radius:12px;overflow:hidden}.gallery img{display:block;width:100%;aspect-ratio:1.5;object-fit:cover}.media{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:1rem}.media video{width:100%;max-height:60vh;background:#15264a;border-radius:15px}.empty{padding:1rem 1.4rem;background:#f2f5fb;border-radius:12px}.small{font-size:.92rem}.credit{color:#415474}footer{border-top:1px solid #dce1ed;padding-block:14px}dialog{padding:1rem;border:0;border-radius:14px;max-width:95vw}dialog::backdrop{background:#081634cf}dialog img{display:block;max-width:85vw;max-height:77vh;margin-top:.5rem}.reader a{display:table;margin:1rem auto 0}#detail[hidden],#home[hidden]{display:none}
@media(max-width:760px){.heroGrid{grid-template-columns:1fr;gap:2rem}.hero h1 br{display:none}.hero h1 br:after{content:' '}.hero h1 em:before{content:' '}.heroArt{max-width:530px;width:96%;margin:auto}.heroArt img{height:240px}.missions,.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.missions article:last-child{grid-column:1/-1}.pages img{max-width:100%}.bar img{width:85px}.bar{min-height:62px}.wrap{width:92%}nav{font-size:.94rem}}@media(max-width:500px){.cards,.missions{grid-template-columns:1fr}.filters label{width:100%}.filters input{width:100%}.hero h1{font-size:clamp(3.35rem,14vw,4.6rem)}.controls{gap:6px}.controls button{padding:.48rem .68rem}footer .bar{font-size:.85rem}}@media(prefers-reduced-motion:reduce){*:not(.belt):not(.photoTrack){animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.hero{background:white;border-bottom:1px solid #dce4f3}.heroGrid{width:min(1440px,94%);grid-template-columns:.8fr 1.2fr;gap:3%;padding-block:32px}.heroGrid>div:first-child{padding-left:4%}.hero h1{margin:.2em 0}.heroLogo{display:block;width:min(100%,440px);height:auto}.motion{min-width:0;position:relative}.wall{display:grid;gap:10px;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 9%,#000 97%,transparent)}.ribbon{overflow:hidden}.belt{width:max-content;display:flex;animation:travel 38s linear infinite}.belt img{width:clamp(145px,13vw,222px);height:clamp(78px,7.2vw,122px);object-fit:cover;border-radius:13px;margin-right:10px}.ribbon:nth-child(even) .belt{animation-direction:reverse;animation-delay:-18s}.ribbon:nth-child(3) .belt{animation-delay:-9s}.ribbon:nth-child(4) .belt{animation-delay:-33s}@keyframes travel{to{transform:translateX(-50%)}}
.route{list-style:none;padding:0;margin:2rem auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 18px;counter-reset:stop}.route li,.card{--paper:#ffdeee;--accent:#e681af}.route li:nth-child(4n+2),.card:nth-child(4n+2){--paper:#ffedb1;--accent:#e4a637}.route li:nth-child(4n+3),.card:nth-child(4n+3){--paper:#d9efdf;--accent:#67b587}.route li:nth-child(4n),.card:nth-child(4n){--paper:#dce9ff;--accent:#77a9e8}.route li{position:relative;border-radius:20px;background:var(--paper);counter-increment:stop}.route li:before{content:counter(stop);position:absolute;top:.8rem;left:.8rem;z-index:1;border-radius:100%;background:#152c64;color:white;width:1.7rem;height:1.7rem;display:grid;place-items:center;font-weight:bold}.route li:not(:last-child):after{content:'';position:absolute;top:76px;left:100%;width:18px;border-top:3px dotted #8099ba}.route li:nth-child(4):after{top:100%;left:50%;height:26px;width:0;border:0;border-left:3px dotted #8099ba}.route li:nth-child(5){grid-area:2/4}.route li:nth-child(6){grid-area:2/3}.route li:nth-child(7){grid-area:2/2}.route li:nth-child(5):after,.route li:nth-child(6):after{left:auto;right:100%}.momentArt{height:154px;display:grid;place-items:center;padding:10px 12px 0}.momentArt img{width:100%;height:100%;object-fit:contain;min-height:0}.momentText{padding:12px 18px 20px}.date{font-weight:750;color:#34496e;font-size:.87rem}.momentText h3{margin:.35rem 0 .5rem}.momentText p{margin:.5rem 0 0;font-size:1rem}.card{background:var(--paper);border:1px solid var(--accent);border-bottom:5px solid var(--accent)}.card div{flex:1}.teacher{margin-top:.85rem;background:#ffffffcb;border-radius:12px;display:inline-block;padding:5px 10px;font-size:.88rem;font-weight:650}.teacher span{font-weight:500}.teacher span:after{content:' ·'}.card .tag{border:1px solid #14285525}
@media(max-width:900px){.route{grid-template-columns:1fr 1fr}.route li:nth-child(n){grid-area:auto}.route li:nth-child(n):after{display:none}}@media(max-width:760px){.heroGrid{grid-template-columns:1fr;gap:22px}.heroGrid>div:first-child{padding:0}.heroLogo{width:min(72%,370px)}.belt img{height:73px;width:130px}.wall{gap:6px}.hero .lead{margin:1rem 0}.route{display:block;padding-left:18px;border-left:3px dotted #8296bf;margin-left:7px}.route li{display:flex;align-items:center;margin-bottom:16px}.momentArt{flex:0 0 32%;height:auto;padding:10px}.momentText{padding:14px 12px}.route li:before{left:-34px;top:18px}.momentText h3{font-size:1.3rem}}
header{background:#10265a;color:white;border-color:#10265a}header .bar img{width:clamp(140px,24vw,286px);height:auto}header .bar{gap:12px}header nav{gap:clamp(10px,3vw,40px)}
.route .arrival{background:#112b63;color:#fff}.route .arrival .date,.route .arrival a{color:#ffde75}.route .arrival a{font-weight:750}.route .arrival:before{background:#ffde75;color:#10265a}.route .arrival .momentArt img{width:76%}
@media(min-width:901px){.route li:nth-child(8){grid-area:2/1}.route li:nth-child(7):after{right:100%;left:auto}}
@media(min-width:761px) and (max-width:900px){.route{display:flex;flex-direction:column;border-left:3px dotted #8296bf;padding-left:24px;margin-left:14px}.route li{display:flex;align-items:center}.route li:before{left:-39px;top:25px}.momentArt{flex:0 0 29%}.momentText{flex:1}}
@media(max-width:360px){header nav{font-size:.82rem;gap:8px}header .bar img{width:125px}}
.abp{background:#d5ebfc;border-block:5px solid #304dd1}.abpGrid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:clamp(16px,4vw,60px);margin-top:1.5rem}.abpWheel{display:block;width:100%;border-radius:24px}.abpWheel path{fill:transparent;cursor:pointer;stroke:transparent;stroke-width:6}.abpWheel path:hover{fill:#ffffff15}.abpWheel path[aria-pressed=true]{stroke:#ffdb68}.abpWheel path:focus-visible{outline:none;stroke:white;stroke-width:10}.abpPanel{background:#142968;color:white;border-radius:22px;padding:clamp(20px,3vw,42px);border-bottom:7px solid #ef8abf}.abpPanel>p{margin-top:0}.abpPanel span{color:#ffe584;font-weight:bold}.abpPanel h3{margin:.6rem 0;font-size:clamp(1.5rem,3vw,2.5rem)}@media(max-width:700px){.abpGrid{grid-template-columns:1fr}.abpWheel{max-width:460px;margin:auto}}
.abp{background:#304bb3;border-block:0}.abp h2,.abp .intro{color:white}.stageMap{display:grid;grid-template-columns:minmax(270px,.85fr) 1.25fr;gap:clamp(18px,4vw,60px);margin-top:2rem;align-items:stretch}.stageList{position:relative;display:grid;gap:6px;padding-block:4px}.stageList:before{content:'';position:absolute;top:24px;bottom:24px;left:31px;width:4px;background:#283771}.stage{position:relative;display:flex;align-items:center;gap:14px;text-align:left;padding:6px 12px;border:2px solid transparent;border-radius:14px;background:transparent;font-size:1.05rem;color:#12295c}.stage[aria-pressed=true]{background:white;border-color:#263979;box-shadow:3px 3px 0 #263979}.stage:hover .stageBadge{border-radius:9px}.stageBadge{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:50%;border:2px solid #243770;background:var(--tone);font-weight:850}.stageDetail{--tone:#ffcee6;background:white;border:2px solid #223777;border-radius:24px;overflow:hidden;box-shadow:6px 6px 0 #263979}.stageArt{height:145px;display:grid;place-items:center;position:relative;overflow:hidden;background:var(--tone)}.stageArt:before,.stageArt:after,.stageOrbit{content:'';position:absolute;width:42%;height:210%;border:2px dashed #20397855;border-radius:50%;transform:rotate(38deg);left:-7%;top:-26%}.stageArt:after{left:auto;right:-4%;transform:rotate(-38deg)}.stageOrbit{width:170px;height:170px;left:auto;top:auto;border:2px solid #20397833}.stageArt svg{position:relative;width:85px;height:85px;padding:15px;border:2px solid #243770;border-radius:22px;background:#fff;box-shadow:4px 4px 0 #243770;fill:none;stroke:#243770;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.stageCopy{padding:clamp(18px,3vw,32px)}#stageCount{font-weight:750;color:#52618b}.stageCopy h3{margin:.5rem 0;font-size:clamp(1.65rem,3vw,2.5rem)}#stageQuestion{border-left:5px solid var(--tone);padding-left:12px;font-weight:750;margin-bottom:0}@media(max-width:700px){.stageMap{grid-template-columns:1fr;gap:15px}.stageList{display:flex;justify-content:space-between;gap:2px}.stage{display:grid;place-items:center;padding:3px 0;border-radius:9px;flex:1}.stageBadge{width:32px;height:32px;font-size:.82rem}.stage span:nth-child(2){position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.stageList:before{height:3px;width:auto;inset:50% 10px auto}.stageArt{height:110px}.stageArt svg{width:72px;height:72px}}
.abp .stageMap{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center}.roundMap{width:100%;height:auto;display:block}.roundMap .stage{display:inline;cursor:pointer;outline:none}.roundMap .stage path{fill:var(--tone);stroke:#f4f0fd;stroke-width:5}.roundMap .stage[aria-pressed=true] path{stroke:#142968;stroke-width:4}.roundMap .stage:focus-visible path{stroke:#273eb5;stroke-width:7}.roundMap use{fill:none;stroke:#142968;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.roundMap text{fill:#142968;text-anchor:middle;font-size:17px;font-weight:750;pointer-events:none}.roundMap .hub,.roundMap .hubSub{fill:white}.roundMap .hub{font-size:42px}.roundMap .hubSub{font-size:19px}.abp *{box-shadow:none!important;text-shadow:none!important}.stageDetail{border:1px solid #c2c9e0}.stageArt,.stageOrbit{display:none}@media(max-width:700px){.abp .stageMap{grid-template-columns:1fr}.roundMap{max-width:490px;margin:auto}}

/* Páginas dos projetos */
#detail{padding-top:26px}.projectHero{--tint:#ffe2ef;--accent:#ed8cba;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);background:var(--tint);overflow:hidden;border-radius:26px}.projectHero.final{--tint:#dfedff;--accent:#80b6ed}.projectHero.mixed{--tint:#eee4ff;--accent:#ba9be5}.heroWords{align-self:center;padding:clamp(22px,3.5vw,48px)}.segmentLabel{display:inline-block;color:#142968;border-bottom:3px solid var(--accent);font-size:.94rem;font-weight:750}.projectHero .detailTitle{font-size:clamp(2rem,3.6vw,3.75rem);margin:.4em 0;overflow-wrap:anywhere}.projectGoal{margin:0;font-size:clamp(1rem,1.35vw,1.18rem);max-width:55ch}.projectVisual{position:relative;margin:0;min-height:280px;border-left:7px solid var(--accent)}.projectVisual img{width:100%;height:100%;position:absolute;object-fit:cover}.projectVisual.magArt{background:#192f68}.projectVisual.magArt img{object-fit:contain;padding:12px}.projectFacts{display:grid;grid-template-columns:1.15fr 1.15fr .7fr;border-bottom:1px solid #d4deef;padding-block:20px;margin:0;gap:20px}.projectFacts div+div{border-left:1px dotted #a5b3d1;padding-left:20px}.projectIcon{display:inline-block;width:22px;height:22px;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.projectFacts dt,.detailNav a{display:flex;align-items:center;gap:9px}.projectFacts dt{font-size:.9rem;font-weight:650;color:#425882}.projectFacts dd{margin:5px 0 0;font-weight:750}.projectStory{display:grid;grid-template-columns:1.55fr 1fr;gap:clamp(24px,5vw,68px)}.projectActions{align-self:start;padding:clamp(20px,3vw,32px);background:#fff1b8;border-radius:18px}.projectActions ul{list-style:none;padding:0;margin:1rem 0 0}.projectActions li{display:flex;gap:10px;padding:10px 0}.projectActions li+li{border-top:1px dotted #a28a3d}.projectActions li svg{width:17px}.sub h2>.projectIcon{width:32px;height:32px;margin-right:4px}.detailNav{justify-content:flex-start}.detailNav a{font-size:.95rem}.detailNav a:hover{background:#dce6ff}#detail .sub{scroll-margin-top:18px}
@media(max-width:760px){.projectHero,.projectStory{grid-template-columns:1fr}.projectVisual{min-height:0;height:clamp(190px,52vw,300px);border-left:0;border-top:5px solid var(--accent)}.projectFacts{grid-template-columns:1fr;gap:15px}.projectFacts div+div{border-left:0;padding-left:0}.projectFacts dd{margin:2px 0 0 31px}.detailNav{gap:6px}.detailNav a{padding:7px 10px}.detailNav .projectIcon{width:17px}.projectStory{gap:12px}}
.photoWindow{overflow:hidden;width:100%;border-radius:16px}.photoTrack{display:flex;width:max-content;animation:projectPhotos var(--duration) linear infinite}.photoTrack button{width:clamp(200px,26vw,320px);padding:0;border:0;margin-right:12px;overflow:hidden;border-radius:14px;flex:none}.photoTrack img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}@keyframes projectPhotos{to{transform:translateX(-50%)}}.pages{position:relative;touch-action:pan-y}.pages img.turnLeaf{position:absolute;max-width:none;max-height:none;pointer-events:none;backface-visibility:hidden;z-index:1}#detail .sub h2 .projectIcon{box-sizing:content-box;width:24px;height:24px;padding:9px;border-radius:12px;background:var(--marker,#ffdaec)}#detail #fotos{--marker:#c8e9ff}#detail #video{--marker:#ffedab}#detail #revista{--marker:#ccebd7}#detail .sub{border-top:2px dotted #cbd6e7;padding-top:25px}
.photoWindow{overflow:clip;scrollbar-width:none}.photoWindow::-webkit-scrollbar{display:none}.reader .pdfButton{display:flex;align-items:center;justify-content:center;width:fit-content;gap:8px;margin:1rem auto 0}.pages{width:min(100%,105vh);aspect-ratio:1.4142;margin-inline:auto;display:grid;grid-template-columns:1fr 1fr;gap:0;perspective:1600px;isolation:isolate}.pages img.bookPage,.pages .basePage,.pages .paperTurn img{width:100%;height:100%;max-width:none;max-height:none;object-fit:fill;display:block;box-shadow:none}.pages .rightPage{grid-column:2}.pages .leftPage{grid-column:1}.pages .basePage,.pages .paperTurn{position:absolute;top:0;width:50%;height:100%;pointer-events:none}.pages .basePage.leftPage,.paperTurn.backward{left:0}.pages .basePage.rightPage,.paperTurn.forward{right:0}.pages .basePage{z-index:1}.pages .paperTurn{z-index:2;transform-style:preserve-3d}.paperTurn.forward{transform-origin:left center}.paperTurn.backward{transform-origin:right center}.pages .paperTurn img{position:absolute;inset:0;backface-visibility:hidden}.paperTurn .reverse{transform:rotateY(180deg)}@media(max-width:760px){.pages{width:min(100%,52vh);aspect-ratio:.7071;grid-template-columns:1fr;overflow:clip}.pages .paperTurn{width:100%}}
#abp .stageCopy{padding:clamp(22px,3.2vw,42px);color:#142968}#stageInfo{font-size:clamp(1.06rem,1.55vw,1.28rem);line-height:1.55;margin:.85em 0}#stageQuestion{padding:.7em .85em;background:var(--tone);border:0;border-radius:12px;font-size:clamp(1.05rem,1.4vw,1.2rem);line-height:1.35}#stageCount{color:#344670}.roundMap .stage[aria-pressed=true]>path{stroke:#142968;stroke-width:7}.roundMap .stage:focus-visible>path{stroke:#142968;stroke-dasharray:9 4;stroke-width:8}
.reader .controls .pdfButton{margin:0;padding:.67rem 1rem;border-color:transparent}.detailNav a[href$="/sobre"]{background:#ffdaec}.detailNav a[href$="/fotos"]{background:#c8e9ff}.detailNav a[href$="/video"]{background:#ffedab}.detailNav a[href$="/revista"]{background:#ccebd7}.detailNav a{color:#12295c}.detailNav a:hover{text-decoration:underline}.protoTypes{display:flex;flex-wrap:wrap;gap:.4rem}.protoTypes span{background:#fff9e5;border-radius:8px;padding:.3em .65em;font-size:.95rem}.projectActions h4{margin:1.2em 0 .45em}.projectActions h4+p,.projectActions h4+ul{margin-top:0}@media(max-width:540px){.reader .controls label{flex-basis:100%;text-align:center;order:-1}.reader .controls .pdfButton{padding:.48rem .68rem}}

#detail .projectStory{display:block}#detail .projectStory .prose{max-width:78ch}
#detail #prototipo{--marker:#e5ddfa;background:#f6f2fc;border:0;padding:clamp(20px,3vw,36px);border-radius:20px}
.detailNav a[href$="/prototipo"]{background:#e5ddfa}#prototipo .projectActions{background:transparent;padding:0}#prototipo .protoTypes span{background:white}
#detail .storyPair{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start;margin-top:3rem}
#detail .storyPair>.sub{margin-top:0}
@media(max-width:760px){#detail .storyPair{grid-template-columns:minmax(0,1fr);gap:20px}}
.portraitPair{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,2fr);align-items:start;gap:clamp(18px,3vw,40px)}.portraitPair>section{min-width:0}.portraitPair .media{grid-template-columns:minmax(0,1fr)}.portraitPair video{aspect-ratio:9/16;object-fit:contain;min-height:0}.portraitPair .photoWindow{max-width:100%}.portraitPair .photoTrack img{height:clamp(220px,29vw,370px);width:100%;aspect-ratio:auto}.portraitPair .photoTrack button{width:clamp(230px,28vw,350px)}@media(max-width:680px){.portraitPair{grid-template-columns:minmax(0,1fr);gap:0}.portraitPair video{width:min(100%,315px);justify-self:center}}

.portraitPair{grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);align-items:stretch}
.portraitPair>section{display:flex;flex-direction:column}
.portraitPair .media video{width:100%;max-height:none}
.photoRows{position:relative;flex:1}
.photoRowsInner{position:absolute;inset:0;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
.photoRows .photoWindow,.photoRows .photoTrack,.photoRows .photoTrack button,.photoRows .photoTrack img{height:100%}
.photoRows .photoWindow:nth-child(2) .photoTrack{animation-direction:reverse}
@media(min-width:681px){.portraitPair>section{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0}}
@media(max-width:680px){.portraitPair{grid-template-columns:minmax(0,1fr)}.portraitPair .media video{width:min(100%,410px)}.photoRows{flex:none;height:clamp(360px,100vw,540px)}}
